• When I paste my Analytics tracking code into Script Blocking -> Head text area as follows:
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-123456789-1">

    I save, and it changes it to:
    <a href="https://www.googletagmanager.com/gtag/js?id=UA-123456789-1">https://www.googletagmanager.com/gtag/js?id=UA-123456789-1</a>

    Any idea why this is happening and how to fix it?

    EDIT: Found someone else who was experiencing this, but the topic was closed for replies ??

Viewing 1 replies (of 1 total)
  • Thread Starter Frank.Prendergast

    (@frankprendergast)

    I may have tracked this down to a Jetpack conflict? Jetpack was installed and activated but NOT set up. Disabling the plugin seems to have solved the issue.

    This is actually the second plugin I have found Jetpack to interfere with even when not set to use ANY modules.

Viewing 1 replies (of 1 total)
  • The topic ‘Analytics script tag is being changed to an a tag when I save’ is closed to new replies.