Last active
April 1, 2017 21:47
-
-
Save senthilp/e22e7f4b1144b3354f0364eb92f8d9c6 to your computer and use it in GitHub Desktop.
This file contains 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
<analytics> | |
<script type="application/json"> | |
{ | |
"requests": { | |
"pageview": "https://example.com/analytics?pid=", | |
"event": "https://example.com/analytics?eid=" | |
}, | |
"vars": { | |
"account": "ABC123" | |
}, | |
"triggers": { | |
"trackPageview": { | |
"on": "visible", | |
"request": "pageview" | |
}, | |
"trackAnchorClicks": { | |
"on": "click", | |
"selector": "a", | |
"request": "event", | |
"vars": { | |
"eventId": "42", | |
"eventLabel": "clicked on a link" | |
} | |
} | |
} | |
} | |
</script> | |
</analytics> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment