• Resolved nickdigital

    (@nickdigital)


    I’m not normally a WordPress admin person and I’m trying to implement GA4 onto a website. I’ve configured Site Kit and in WordPress admin everything seems to be working fine. I have chosen to install the GTM snippet and not the GA4 snippet. The container is published with the GA4 configuration.

    When I load the site, Tag Assistant reports that no analytics code is loading. If I inspect the site, then I can find the <noscript> snippet in the <body> and it has the correct GTM container – but I cannot find a snippet in the <head>.

    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KXJW5LB" height=0 width=0 style=display:none;visibility:hidden></iframe></noscript>

    If I preview from GTM while logged into WordPress then I can see events being sent in real time. Without being logged in to WordPress, I cannot run Preview on any page except the home page – which maybe because Ads are served when not logged in.

    I’ve run out of ideas on how to fix this – hoping you can help.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi @nickdigital,

    Thanks for reaching out. From inspecting your site I can see a Tag Manager snippet placed on your site (GTM-KX****LB), however, this isn’t a standard Tag Manager snippet as typically placed via Site Kit. It’s possible that you have selected the option for Site Kit not to place the snippet for you, or that a third party optimization plugin has modified the behavior or the snippet.

    So we can determine more on what’s happening, and ensure Tag Manager and Analytics are firing as expected please share the following:

    1. Your Site Health information. You can use this form to share privately if preferred.??
    2. As you mention your Analytics is not firing, can you confirm that you have an Analytics tag placed within your Tag Manager container (GTM-KX****LB)?

    Once we have the above we can provide some troubleshooting suggestions. This may include temporarily deactivating your Ezoic and cookie related plugin, along with any optimization type plugin. I can see various optimizations performed and any of the mentioned plugins can impact reporting.

    Let me know if you have any questions with the above.

    Thread Starter nickdigital

    (@nickdigital)

    Hi James,

    Thanks for the prompt response, I’ve just submitted Site Health via the Google form.

    I can confirm that a GA4 configuration is loaded in the GTM container and is published.

    This is a screenshot of the Site Kit settings https://imgur.com/mdrVZzg

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update @nickdigital. I’ve checked the details you kindly shared and I can see a couple of plugin active that could potentially impact analytic reporting with particular configurations.

    To troubleshoot this further, can you temporary deactivate the following plugins before checking the tagassistant.google.com service once more?

    • Autoptimize
    • Ezoic
    • W3 Total Cache
    • WPCode

    If you let me know once you do have them disabled I can also check from my side. You can then reenable the plugins after a check. If we’re able to determine any conflict between any plugin settings, or configurations impacting your Tag Manager container or Site Kit placed Analytics snippets we can review this further.

    Thread Starter nickdigital

    (@nickdigital)

    Thanks James.

    I started with Autoptimize as that is affecting CSS and JS – deactivated it and now I can see data flowing into GA4 again and Tag Assistant is picking up the GA4 account. I am going to leave that plugin deactivated, do a bit more testing here and confirm everything is looking OK.

    Likely due to JS optimization, you can always confirm by disabling that just that and if so add some exclusions (simply googletagmanager.com might do the trick) to the JS optimization field for GTM.

    hope this helps,
    frank (ao dev)

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update @nickdigital. I’ll close this support topic now that you’ve made changes and reporting is working as expected. If you do decide to enable the same plugins once more hopefully the above suggestion regarding excluding Tag Manager will also allow reporting to work as expected.

    Thread Starter nickdigital

    (@nickdigital)

    Thanks for the great support – it is appreciated

    Plugin Support James Osborne

    (@jamesosborne)

    No problem, happy to assist! Best of luck.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Tag Manager snippet not present’ is closed to new replies.