• Resolved Bluemad

    (@bluemad)


    I try to add my Google Analytics to the AMP plugin. After saving the changes, when I view the page source, I can see that my analytic ID on the page source. But If I visit the AMP pages, it’s not reporting data to Google analytic account. What could be the reason?

    This is the JSON configuration that I used.

    {
    	"vars": {
    		"account": "UA-hide-1"
    	},
    	"triggers": {
    		"trackPageview": {
    			"on": "visible",
    			"request": "pageview"
    		}
    	}
    }
    • This topic was modified 3 years, 11 months ago by Bluemad.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello, @bluemad

    can you please ensure that you have added type as googleanalytics as shown in this screenshot

    Also, please share your site URL so we can investigate and assist you better.

    Thread Starter Bluemad

    (@bluemad)

    @milindmore22 thank you for your reply. No, I didn’t add it. Now I have added type as googleanalytics and it’s working. Thank you a lot.

    • This reply was modified 3 years, 11 months ago by Bluemad.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP transitional mode Google Analytics not working’ is closed to new replies.