Created
July 12, 2017 08:15
-
-
Save wujku/0e8ece6e38ae954185eddacbacc2f9ec 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
$.ajax({ | |
type: "POST", | |
url: 'https://ssl.google-analytics.com/collect', | |
async: false, | |
data: { | |
v: "1", | |
tid: "UA-XXXXXXX-XX", | |
cid: "Unique Client ID", | |
t: "transaction", | |
ti: "transaction ID", | |
tr: "+ / - revenue value", | |
tt: "+ / - tax value", | |
ts: "+ / - shipping value", | |
cu: "currency code" | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment