Last active
August 29, 2015 13:56
-
-
Save pierre-b/8843417 to your computer and use it in GitHub Desktop.
Example of Affilae's tracking variables
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
<script> | |
// MUST BE PLACED BEFORE THE GOOGLE TAG MANAGER SCRIPT | |
// push conversion's data into Google Tag Manager | |
dataLayer = [{ | |
'affilae.ruleKey': 'xxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx', | |
'affilae.conversionId': '123', | |
'affilae.customerId': '123', | |
'affilae.amount': '100.5', | |
'affilae.payment': 'online' // online | bankwire | cheque | other | |
}]; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment