Last active
June 26, 2016 14:03
-
-
Save LindaLawton/1a03ef59677cb3adc24c2a93617d6fc2 to your computer and use it in GitHub Desktop.
Webhook to send event data to Google Analytics
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
{ | |
"event": "AnalyticsEvent", | |
"url": "https://www.google-analytics.com/collect", | |
"requestType": "POST", | |
"query": | |
{ | |
"v": "1", | |
"t": "event", | |
"tid" : "{{tid}}", | |
"cd": "{{cd}}", | |
"cid": "{{cid}}", | |
"ev": "{{ev}}", | |
"ea": "{{ea}}", | |
"ec": "{{ec}}", | |
"el": "{{PARTICLE_EVENT_NAME}}", | |
"uip": "{{uip}}", | |
"an": "{{an}}", | |
"cm1": "{{cm1}}" | |
}, | |
"noDefaults" : true, | |
"mydevices": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment