• Resolved swinggraphics

    (@swinggraphics)


    With a G4 measurement ID set in Analytics settings, the code output on the front end is <script async src='https://www.googletagmanager.com/gtag/js?id='>… instead of <script async src='https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID'>… There is a significant difference in the source code of those two files. I have taken to pasting the correct code in to the Custom Tracking settings.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor seopress

    (@seopress)

    Hi,

    it will work as we are sending the GA measurement ID using:

    gtag(‘config’, ‘G-XXXXXXX’);

    The ID parameter is for Universal Analytics.

    • This reply was modified 2 years, 9 months ago by seopress.
    Thread Starter swinggraphics

    (@swinggraphics)

    The script that loads is not the same without the ID. Do not mark this resolved while the bug exists.

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    Can you share the URL of your site with GA4 please?

    Thread Starter swinggraphics

    (@swinggraphics)

    No. Seems pointless to keep discussing. This would take what, twenty seconds to fix in the plugin?

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    There are different ways to implement the Google Analytics APIs.

    They are regularly updated by Google and we do the same when it’s necessary.

    We just try to understand your issue. Nothing more ??

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    After investigations, we found the issue.

    We’ll fix this with our next major update.

    ETA: June.

    Thx

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Incorrect URL for Google Tag Manager’ is closed to new replies.