Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Analytics cannot track AMP Pages shown on Google Search #12

Open
edafee07 opened this issue Sep 14, 2017 · 0 comments
Open

Google Analytics cannot track AMP Pages shown on Google Search #12

edafee07 opened this issue Sep 14, 2017 · 0 comments

Comments

@edafee07
Copy link

Hi,

After setup of AMP on my WordPress using AMP by Automattic, insert Google Analytics and Google Adsense which works fine on using the default direct AMP URL: http://plug.direct/not-rocket-science-free-speech-free-enterprise-and-gender-equality-at-google/amp/.

My Google Analytics can track Realtime using the default AMP URL: http://plug.direct/understanding-the-ties-that-bind-global-media-development/amp/

But if I search for the page on Google, the search result cannot be tracked by Google Analytics and it does not display the Google Adsense.

How can I solve this problem?

Also, how can I change the URL from:

http://plug.direct/understanding-the-ties-that-bind-global-media-development/amp/

To:

http://amp.plug.direct/understanding-the-ties-that-bind-global-media-development/

I will be very grateful if anyone could help solve this problem

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant