Created
December 22, 2016 09:59
-
-
Save Stefaan5/e7af03cc79798fad395be5432491a9e1 to your computer and use it in GitHub Desktop.
AMP Google Analytics script voor toe te voegen (aan bv. Yoast).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<amp-analytics type="googleanalytics" id="analytics1"> | |
<script type="application/json"> | |
{ | |
"vars": { | |
"account": "UA-XXXXX-Y" | |
}, | |
"triggers": { | |
"trackPageview": { | |
"on": "visible", | |
"request": "pageview" | |
} | |
} | |
} | |
</script> | |
</amp-analytics> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment