• Resolved BoutiquePcLanD

    (@pclandofficiel)


    Hi,

    I’m using GTM Kit on a WooCommerce store (GTM Kit v7.1) and two alerts keep showing up in the dashboard / Site Health despite what I believe is a correct setup:

    1. “Consent is not configured”

    My site uses tarteaucitron.js as CMP, with Google Consent Mode v2 enabled natively in its settings:

    • Google Consent Mode v2 (GA4 & Google Ads): enabled
    • Request all Google Consent Mode signals: enabled
    • Default status of services: “Waiting for choice”
    • DataLayer event with consent status: enabled

    Tarteaucitron doesn’t appear in GTM Kit’s list of auto-detected CMPs (Cookiebot, Iubenda, CookieYes). I deliberately left “Activate GCM settings” turned off in GTM Kit, to avoid double-firing gtag('consent', ...) signals.

    Is this alert an expected false positive when an unrecognized external CMP is already handling Consent Mode, or is there a way to configure/declare tarteaucitron so GTM Kit recognizes it?

    2. “A Google tag loads alongside your container”

    The alert flags AW-XXXXXXXXX (Google Ads) loading alongside my GTM container. This ID is natively injected by the official Google for WooCommerce plugin (with Enhanced Conversions enabled), independently from GTM. I checked and confirmed no tag inside my GTM container uses this same conversion ID (I did have a real duplicate before, fixed by disabling a redundant “Google Ads Conversion Tracking” tag).

    Is it expected for this alert to stay permanently active in this scenario (two distinct, non-redundant Google Ads tracking systems on the same page), or is there a way to tell GTM Kit that this tag is intentionally managed outside the container?

    Thanks in advance for any insights.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Please go to the GTM Kit plugin ‘GTM Kit > Support > Share system data with the GTM Kit support team’ and enter the support ticket: FS966-A1A88

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Both of these are fixed or answerable in 2.19, released today.

    The Google tag alongside your container

    Your reading was right, and the plugin was overstating it. A Google tag next to the container is only a duplicate when the same tag also fires inside the container, which it does not in your case. Two things changed:

    • The dashboard notice is no longer raised as a problem, and it no longer calls this duplicate tracking. Two containers, or the same container loaded twice, are still reported as problems, because those really do double-count.
    • GTM Kit now recognises Google for WooCommerce as the source, so instead of “could not tell what adds the extra tracking code” you get the plugin named, with the advice to check that the same tag does not also fire inside your container. It no longer suggests removing a container, which was wrong for this case.

    The Site Health entry stays as a recommendation rather than disappearing: a page loading both is worth stating, since the check cannot see inside your container to confirm what you confirmed by hand. With your setup there is nothing to do.

    “Consent is not configured”

    Tarteaucitron still is not auto-detected. Detection works off the active plugin list, and Tarteaucitron is usually loaded by the theme or a snippet, so there is nothing for GTM Kit to match on. 2.19 adds two filters so you can declare it yourself:

    add_filter( 'gtmkit_active_cmp', function ( $detected ) {
    return $detected ?? 'tarteaucitron';
    } );

    add_filter( 'gtmkit_cmp_display_name', function ( $name, $slug ) {
    return 'tarteaucitron' === $slug ? 'tarteaucitron.js' : $name;
    }, 10, 2 );

    Add that in a code snippets plugin or your child theme’s functions.php. Site Health then reports consent as configured and names tarteaucitron.js as owning it.

    Two things worth being clear about: the filter changes what GTM Kit reports, nothing else. It does not load tarteaucitron, send consent signals or touch how your container loads. And keep “Activate GCM settings” switched off as you have it, which is correct when your CMP sets the defaults itself, otherwise you get the double signals you were avoiding.

    Update to 2.19 and let me know if either one still looks wrong. No need to send the system data unless it does.

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    Hi Torben,

    Thanks a lot for the quick fix and the detailed explanation, both make complete sense.

    Updated to 2.19, added the two filters for tarteaucitron — Site Health now shows consent as configured and names tarteaucitron.js correctly. The container alert now properly names Google for WooCommerce as the source too, exactly as described.

    Everything looks correct now, no need to send system data. Really appreciate the fast turnaround.

    Thanks again!

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    You are welcome

    Thread Starter BoutiquePcLanD

    (@pclandofficiel)

    Hi,

    We use GTM Kit’s Commerce integration to push ‘view_item’, ‘add_to_cart’, ‘begin_checkout’ and ‘purchase’ events to the dataLayer for WooCommerce orders.

    We recently found that, separately, our GTM container had two tags subscribed to the ‘purchase’ event that were also firing a Google Ads conversion (AW-949******) — duplicating the conversion already sent natively by the Google for WooCommerce plugin. This had apparently been “fixed” (paused) at least twice before over the past few months, but kept resurfacing, which suggests it wasn’t easy to spot until we cross-checked directly in tagmanager.google.com’s tag list and the live Network tab.

    Would it be possible to add a read-only view in GTM Kit’s Commerce settings page showing which tags/triggers inside the container are currently subscribed to each dataLayer event it pushes (view_item, add_to_cart, purchase, etc.)? That would let us audit this kind of duplicate tracking setup directly from the plugin instead of needing to manually cross-reference GTM’s tag list each time.

    Not a bug report, just a suggestion based on this experience. Thanks for the plugin.

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Good suggestion, and it is a direction I want to take, but it is not straight forward.

    The plugin cannot see inside your container. The container is fetched by the browser directly from Google, and its tag list never reaches WordPress at all, so there is nothing for a settings page to read. Getting at it means the Tag Manager API, which needs OAuth and each site owner granting GTM account access. That is a real integration rather than a panel, and it is not something I will add lightly.

    What is realistic, and what I have been circling for a while: you export your container from GTM as JSON, which anyone can do from the container’s admin, and GTM Kit audits that export. It already knows exactly which events your configuration emits, so it can show which tags and triggers consume each one, name the events nothing consumes, and flag the case you actually hit: more than one tag firing a conversion on the same event, or two tags sharing a conversion ID. No OAuth, no account access, and it works the same whether your container was built by hand or generated by the Template Assistant.

    Would an export-and-audit step serve you, or does it need to be continuous to be useful?

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.