• Resolved linuxtechi

    (@linuxtechi)


    Hello Techies,

    I am using official AMP plugin for generating AMP pages for my blog https://www.linuxtechi.com. I am using AMP in Reader’s mode. I want to track all AMP pages in google analytics for that I have added the following json code in AMP’s plugin Analytics Configuration option

    {
    “vars”: {
    “account”: “UA-xxxxxxxxx-x”
    },
    “triggers”: {
    “trackPageview”: {
    “on”: “visible”,
    “request”: “pageview”
    }
    }
    }

    But the issue is that I can’t see any AMP pages are being tracked in my google analytics.
    Can someone suggest what can be done so that AMP pages are integrated with GA ?

    Thanks in advance.
    Regards
    LinuxTechi

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @linuxtechi

    Thanks for the support topic, Our initial investigation suggests that you may be the missing amp-analytics “type” attribute which should be googleanalytics in your case. (screenshot) you can learn more about it here.

    please add amp-analytics type and let us know if it resolves your issue.

    Thread Starter linuxtechi

    (@linuxtechi)

    Hi Milind,

    Your suggestion did the trick, thanks for your support.

    Plugin Support Milind More

    (@milindmore22)

    Hello @linuxtechi

    Glad to know my suggestion helped you, Feel free to open a new support topic if you require any further assistance.

    Also, Be sure to share your experience using AMP plugin, we would love to hear your feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Analytics Integration for AMP Pages’ is closed to new replies.