Google Analytics with AMP
-
I would like to use Google Analytics for AMP, but the version with JavaScript and the WP Function does not work.
I would therefore alternatively use the AMP pixels.
<amp-pixel src=”https://www.google-analytics.com/collect?v=1&t=pageview&z=$RANDOM&dt=$TITLE&dl=$CANONICAL_URL&tid=UA-XXXXXX-YY&cid=$CLIENT_ID(‘google-analytics’)” />
By what I have to replace the $TITLE, $CANONICAL_URL, $CLIENT_ID?
These data have yet to be replaced automatically, but how?
Thank u for help
Best wishes
- The topic ‘Google Analytics with AMP’ is closed to new replies.