On this page
What this issue is
Tag sequencing is a GTM feature found under Advanced Settings > Tag Sequencing inside a tag. It lets you run a setup tag before the main tag, or a cleanup tag after it. A typical use is loading a config or consent script first, then firing the conversion tag.
The problem appears when the main tag depends on the setup tag. GTM has a checkbox: Don't fire [main tag] if [setup tag] fails or is paused. If it is ticked and the setup tag errors, is paused, or its trigger does not match, the main tag never fires. Nothing visible breaks on the page.
Why it costs you leads or sales
The skipped main tag is usually a conversion or ad tag: a GA4 event, a Google Ads conversion, a Meta Pixel event. The visitor still submits the form or buys, but the platform never hears about it. Reports show fewer conversions, and ad bidding learns from incomplete data.
Because the page works normally and only some tags are affected, this often goes unnoticed for weeks. A setup tag often breaks after someone edits a Custom HTML tag, renames a variable, or pauses a tag during cleanup.
- Visitor submits formTrigger conditions match
- Setup tag runsCustom HTML errors or is paused
- Main tagSkipped by sequencing rule
- Ad platformConversion never recorded
The visitor converts, but the main tag is skipped because its setup tag failed.
Example: 100 real leads a week, with the main tag skipped after a setup tag broke.
How to check if your site has it
List tags that use sequencingGoogle Tag Manager
Open your container, then Tags. Open each important conversion tag and expand Advanced Settings > Tag Sequencing. Note any setup or cleanup tag.
Check the setup tag's stateGoogle Tag Manager
Confirm each setup tag is not paused and still exists. Open the Custom HTML code, if any, and look for obvious errors.
Run Preview modeGoogle Tag Manager
Click Preview, enter your site URL and perform the conversion. In the Tag Assistant summary, check whether the setup tag and main tag appear under 'Tags Fired' or 'Tags Not Fired'.
Read the status detailsGoogle Tag Manager
Click the main tag in Tag Assistant. A message such as 'Setup tag failed' or 'Blocked by setup tag' points to sequencing as the cause.
Check the browser console
Open DevTools > Console and look for JavaScript errors at the moment the setup tag runs.
The conversion happens, but the tag never sends its hit.
How to fix it
First decide whether the main tag really needs the setup tag. If not, remove the dependency. If it does, repair the setup tag so it succeeds.
Unpause or repair the setup tag
If the setup tag is paused, remove the pause. If it is a Custom HTML tag, fix the JavaScript error and test again.
Loosen the rule if appropriate
In the main tag, Advanced Settings > Tag Sequencing, untick 'Don't fire if setup tag fails or is paused' when the main tag can work without the setup tag.
Remove stale sequencing
If the setup tag was deleted or is no longer needed, untick 'Fire a tag before' so the dependency is gone.
Publish
Click Submit, add a version name such as 'Fix tag sequencing', and Publish. Preview-only changes do not affect live visitors.
Wrap setup code safely
If your setup tag runs custom JavaScript, add a try/catch so a minor error does not stop it from finishing. Use the snippet below.
Use gtag.js or dataLayer events
If you can, push a dataLayer event and trigger the main tag from it, instead of chaining tags.
<script>
try {
window.dataLayer = window.dataLayer || [];
window.myConfig = window.myConfig || {};
window.myConfig.ready = true;
} catch (e) {
// log but do not break the sequence
console.warn('Setup tag error', e);
}
</script>How to confirm it's fixed
- In GTM Preview, both the setup tag and the main tag show under Tags Fired
- The main tag's status in Tag Assistant is 'Succeeded'
- The network tab shows the hit to GA4, Google Ads or Meta
- GA4 DebugView or the platform's test events tool shows the conversion
- The container version is published, not just saved in a workspace
How to prevent it happening again
- Document every tag that uses sequencing and why
- Test the full conversion in Preview after editing or pausing any setup tag
- Avoid deleting or pausing a tag without checking where it is used as a setup tag
- Add a version description to each publish
- Re-test key conversions on a schedule, not only after changes
How FunnelGuard handles this
FunnelGuard detects this only partly. It runs your real journey on a schedule, such as a lead form or checkout, and checks the tracking hits sent to platforms like GA4, Google Ads and Meta. If a skipped main tag means the expected hit never arrives, FunnelGuard flags the missing hit, re-checks from a second region, and sends one alert with a screenshot and a likely cause.
What it does not do: it does not read your GTM container, so it cannot tell you that sequencing is the reason, and it does not inspect which setup tags exist or whether they are paused. It also only sees hits for the journeys you set up.
To cover the rest by hand, review Tag Sequencing settings in GTM after each change, and use Preview mode to confirm both tags fire. The free plan includes 1 site and 2 journeys with daily checks and no card needed, and a free read-only website audit is available.
Setup tag failing
Leads or data lost
The main tag is skipped and the conversion is never sent to the platform.
Toggle to see how one failing setup tag removes a conversion.
Questions people ask
Why is my GTM tag not firing even though the trigger is correct?
If the tag uses tag sequencing, a failed or paused setup tag can block it. Open the tag, check Advanced Settings > Tag Sequencing, and look at the status in Tag Assistant Preview. A trigger can match perfectly and the tag still be skipped.
What does 'don't fire if setup tag fails or is paused' mean in GTM?
It is a checkbox in a tag's sequencing settings. When ticked, GTM will not fire the main tag if the setup tag errors, is paused or does not complete. Untick it if the main tag can run without the setup tag.
How do I check tag sequencing in Google Tag Manager?
Open a tag, expand Advanced Settings, then Tag Sequencing. You will see any setup tag (fires before) or cleanup tag (fires after). Then run Preview and read the main tag's status in Tag Assistant.
Does a paused setup tag stop the main tag?
Yes, if the main tag is set to not fire when the setup tag fails or is paused. Unpause the setup tag or remove the dependency, then publish the container.
Do I need tag sequencing at all?
Often not. If the main tag only needs a value or event, a dataLayer event and trigger is simpler and less fragile. Use sequencing when one script must truly run first.
Can FunnelGuard detect a broken tag sequence?
Partly. It checks whether the expected tracking hits arrive during a real journey, so a skipped main tag shows up as a missing hit. It does not read your GTM settings, so you need to find the sequencing cause yourself.
Why do my conversions drop after someone edits a GTM tag?
The edit may have broken a setup tag, such as a Custom HTML error or a pause, and the main tag was skipped as a result. Compare the latest published version with the previous one and test in Preview.
Related issues
- TRK-111Tag paused in GTMFix guide
- TRK-103Workspace changes never published (tag in preview only)Fix guide
- TRK-115Custom HTML tag throwing JavaScript errorFix guide
- TRK-113Variables returning undefined (dataLayer key renamed)Fix guide
- TRK-102GTM container published version changed unexpectedlyFix guide
- TRK-116Tag firing in preview but blocked by consent settings in liveFix guide