We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To do this we need to make the following modifications
GOOGLE ANALYTICS CUSTOM DIMENSIONS / METRICS Dimensions:
Metrics:
MODIFY CODE IN: 01_ss_rawTransactionPush.html Needs to push this object to dataLayer
discount = { 'status': (discountAmount < 0) ? "Discount Applied" : "No Discount", 'amount': (discountAmount < 0) ? discountAmount / 100 : 0, 'freeShipping': (shippingTotal == 0) ? "Yes" : "No" }
GTM DL VARIABLES DL - EEC Purchase - Discount Status -> discount.status DL - EEC Purchase - Discount Amount -> discount.amount DL - EEC Purchase - Free Shipping -> discount.freeShipping
TAG MODIFICATION Add Custom Dimensions / Metric to Purchase tag
4
{{DL - EEC Purchase - SS Transaction ID}}
8
{{DL - EEC Purchase - Discount Status}}
9
{{DL - EEC Purchase - Free Shipping}}
2
{{DL - EEC Purchase - Discount Amount}}
The text was updated successfully, but these errors were encountered:
now sending with purchase tag if discount was applied at checkout
4b0d1a4
issue resolved in commit 4b0d1a4
Sorry, something went wrong.
EfficiencyJunky
No branches or pull requests
To do this we need to make the following modifications
GOOGLE ANALYTICS CUSTOM DIMENSIONS / METRICS
Dimensions:
Metrics:
MODIFY CODE IN: 01_ss_rawTransactionPush.html
Needs to push this object to dataLayer
GTM DL VARIABLES
DL - EEC Purchase - Discount Status -> discount.status
DL - EEC Purchase - Discount Amount -> discount.amount
DL - EEC Purchase - Free Shipping -> discount.freeShipping
TAG MODIFICATION
Add Custom Dimensions / Metric to Purchase tag
4
- Dimension Value:{{DL - EEC Purchase - SS Transaction ID}}
8
- Dimension Value:{{DL - EEC Purchase - Discount Status}}
9
- Dimension Value:{{DL - EEC Purchase - Free Shipping}}
2
- Metric Value:{{DL - EEC Purchase - Discount Amount}}
The text was updated successfully, but these errors were encountered: