Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GTM tag sequencing broken: setup tag fails, main tag skipped

TRK-112Medium impactPartlyBy FunnelGuardPublished Updated
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.

How a failed setup tag removes the conversion
  1. Visitor submits formTrigger conditions match
  2. Setup tag runsCustom HTML errors or is paused
  3. Main tagSkipped by sequencing rule
  4. Ad platformConversion never recorded

The visitor converts, but the main tag is skipped because its setup tag failed.

Conversions reported vs actualExample numbers
Conversions reported vs actual (example)Real leads: 100 conversions; Reported before break: 96 conversions; Reported after break: 0 conversions03877100960Real leadsReported before breakReported after breakconversions

Example: 100 real leads a week, with the main tag skipped after a setup tag broke.

How to check if your site has it

Find sequencing problems in GTM
  1. 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.

  2. 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.

  3. 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'.

  4. 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.

  5. Check the browser console

    Open DevTools > Console and look for JavaScript errors at the moment the setup tag runs.

A main tag skipped by its setup tag

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.

Fix by where the problem sits
  1. 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.

  2. 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.

  3. Remove stale sequencing

    If the setup tag was deleted or is no longer needed, untick 'Fire a tag before' so the dependency is gone.

  4. Publish

    Click Submit, add a version name such as 'Fix tag sequencing', and Publish. Preview-only changes do not affect live visitors.

Custom HTML setup tag that does not fail on small errorshtml
<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

Confirmation checks
  • 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

Habits that avoid silent skips
  • 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.

Try the setup tag failureInteractive
Setup tag fails

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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.