Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <amp-analytics type="googleanalytics" id="analytics1">
- <script type="application/json">
- {
- "vars": {
- "account": "UA-XXXXX-Y" // Replace with your property ID.
- },
- "triggers": {
- "trackPageview": { // Trigger names can be any string. trackPageview is not a required name.
- "on": "visible",
- "request": "pageview"
- }
- }
- }
- </script>
- </amp-analytics>
- <amp-analytics type="metrika">
- <script type="application/json">
- {
- "vars": {
- "counterId": "XXXXXX"
- ...
- }
- }
- </script>
- </amp-analytics>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement