Support » Plugin: GA Google Analytics » Google Ads Code

  • Resolved mdlaat

    (@mdlaat)


    Hi,
    Thank you for the plugin.
    In order to collect succesful google ad, google wants me to add a line:
    gtag(‘config’, ‘AW-xxxxxxx’);
    right before the </script> of the google analytics script.

    Is it possible to do this with this plugin?
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Yep. You can add that line to the setting, “Custom GA Code”. Then save changes and done. You can verify that everything is correct by viewing the tracking code via the source code of your site’s pages.

    Hi Jeff, thank you for the reply.
    unfortunately the plugin seems to ignore the “Custom GA code”. When filled in, the result in the source seems the same as when left blank:

    <script async src="https://www.googletagmanager.com/gtag/js?id=xxxx"></script> </head>

    Plugin Author Jeff Starr

    (@specialk)

    I made a video that shows how it works normally (zipped .mov file):

    https://perishablepress.com/share/ga-custom-code.zip

    If that is not happening for you, something like a plugin or your theme may be interfering. In such case, the best way to determine the issue would be to do some basic troubleshooting.

    Let me know if I can provide any further infos, glad to help however possible.

    Thank you; working now!

    Plugin Author Jeff Starr

    (@specialk)

    Great! Please rate the plugin if you are able, thank you mdlaat!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Ads Code’ is closed to new replies.