• In the tab Analytics there is a possibility to:

    > Optionally add a valid google analytics tracking code.

    When adding my tracking code, I notice it is not being saved. Each time the field is blank again. Am I the only one who has this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same issue. Any help?

    If you add large code, it works, like this: (with your track ID, obviously)

    <amp-analytics type="googleanalytics">
    <script type="application/json">
    {
          "vars": {
            "account": "UA-XXXXXXX-Y"
          },
          "triggers": {
            "trackPageview": {
              "on": "visible",
              "request": "pageview"
            }
          }
        }
    </script>
    </amp-analytics>
    • This reply was modified 9 years, 1 month ago by rmoro.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AMP Analytics not saving’ is closed to new replies.