You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
I see two possible ways to pass discount/reward data to GA:
Use something like _setCustomVar to track discount values. If it would work, it's not an ideal solution, but it's better than not having the data at all.
Here's a little-known fact about the Google Analytics Ecommerce Tracking
Module, which we cover in great detail in Chapter 8: you can track your coupons
or discount vouchers with Google Analytics! What you’ll want to do is use a new
_addItem line and a negative value for your unit price field. This will
tabulate properly in your overall revenue and product revenue totals, which in a
way enables you to balance your e-commerce revenue data to be more realistic.
You’ll also be able to see the number of vouchers redeemed or the number of
coupons used in your Product Performance reports.
The only drawback to this method is that adding a new _addItem line will
add to the total number of products sold, which, depending on your individual
needs, could cause some confusion. Therefore, consider this method carefully
before implementing it. Our recommendation: use this method anyway—the
pros of tracking coupons far outweigh the cons of increasing the total number
of products sold.
Here is an example of an additional _addItem line being used by the
E-commerce module to track a coupon for $25 off:
pageTracker._addItem(
“135792468”,
“ABC-123-XYZ0987”,
“Coupon - 25 Dollars Off”,
“Discounts”,
“-25.00”,
“1”
);
pageTracker._trackTrans();
The text was updated successfully, but these errors were encountered:
This is a continuance of closed issue: #30
I see two possible ways to pass discount/reward data to GA:
Use something like _setCustomVar to track discount values. If it would work, it's not an ideal solution, but it's better than not having the data at all.
From this book http://books.google.com/books/about/Google_Analytics.html?id=pxEurXaugqcC here is another possible solution to track discounts.
The text was updated successfully, but these errors were encountered: