I have the setup in DTM followed product syntax and I can see the data collected.
But in the report suite, I have the product, checkout. But I don't have data for Revenue and units ( both showed as 0 ). I am wondering should I do any special setup in report suite?
Thanks,
-Cathy
Solved! Go to Solution.
Views
Replies
Total Likes
As was mentioned above, you don't need to declare s.eVar82 when using it in products syntax.
On a sidenote: when you populate an eVar with the full eVar syntax, it is case-sensitive, and the "V" is capitalized. So even if you need to declare it; s.evar82 is not the same as s.eVar82.
Example:
s.eVar82="some value"; // correct
s.evar82="some value"; // incorrect
This isn't relevant to your problem though. Back to your issue.
When you say you aren't getting eVar82, what exactly do you mean by that? I see it listed in your debugger screenshot above, so I assume you mean that you don't see data show up in your eVar82 report? (sidenote: that debugger is outdated and a little buggy at this point. You should look into other debugging tools, such as Adobe Experience Cloud Debugger or Omnibug).
You can add units and revenue to your products string for any event, but Adobe ignores it except for the purchase event (IOW no point in including units and revenue except on purchase event).
If you want to see (potential) units / revenue along with other events, you can push them to custom events.
Example, using the following:
event1 - counter event - use this for units
event2 - currency event - use this for revenue
You have 2x widget1 at 50.00 each, and 1x widget2 at 75.00
s.events='scCheckout,event1,event2';
s.products=';widget1;;;event1=2|event2=100.00,;widget2;;;event1=1|event2=75.00
I just noticed that you declared all the events. I didn't do that.Please see my code. I believe I will need to:
s.events = "scCheckout, event80";
Since I also used evar82 in the product string. Do you know how to declare evar82?
Thanks,
-cathy
+++++++++++++++++++++++++++++++++++++++++++++++++++
s.events;
s.events = "scCheckout";
s.prodList=[];
if( utag_data.product_name ){
var arrayLength = utag_data.product_name.length;
for (var i = 0; i < arrayLength; i++) {
s.prodList[i] = ";" + utag_data.product_name[0].replace(',', '-') + ";" + utag_data.product_quantity[i] +";" + utag_data.product_unit_price[i]*utag_data.product_quantity[i]+";event80="+utag_data.product_unit_price[i]*utag_data.produc t_quantity[i]+";evar82="+utag_data.order_currency;
}
s.products = s.prodList.join(",");
s.purchaseID;
s.purchaseID = utag_data.order_id;
s.state;
s.state = utag_data.order_state;
s.zip;
s.zip = utag_data.order_zip;
s.currencyCode = utag_data.order_currency;
}
Views
Replies
Total Likes
You do not need to 'declare' eVars populated within the products string; only events.
Views
Replies
Total Likes
I have the product string setup as:
s.events = "purchase,event80";
s.evar82;
I also declared eVar82, but I still can not get evar82. Do you know how to add evar in product string?
Thanks,
-Cathy
Views
Replies
Total Likes
As was mentioned above, you don't need to declare s.eVar82 when using it in products syntax.
On a sidenote: when you populate an eVar with the full eVar syntax, it is case-sensitive, and the "V" is capitalized. So even if you need to declare it; s.evar82 is not the same as s.eVar82.
Example:
s.eVar82="some value"; // correct
s.evar82="some value"; // incorrect
This isn't relevant to your problem though. Back to your issue.
When you say you aren't getting eVar82, what exactly do you mean by that? I see it listed in your debugger screenshot above, so I assume you mean that you don't see data show up in your eVar82 report? (sidenote: that debugger is outdated and a little buggy at this point. You should look into other debugging tools, such as Adobe Experience Cloud Debugger or Omnibug).
Thanks for your info. I can see several issues I had:
1. I didn't enable Merchandising before. I just enabled.
2. I used evar82. I just changed to eVar82.
With those 2 fixes, I hope I can have data in eVar82. ( I used workspace to show product, revenue, unit and eVar82 )
I have another question about enable Merchandising. When should we enable this for a eVar? Any eVar related with e-commence events ( such as purchase, scOpen, scView, scCheckout, scAdd, scRemove ), it will need to be enabled with Merchandising? If it is used in product string, then it will need to use product Syntax, otherwise, then use Conversion Variable syntax. This is correct?
Right now my eVar82 setup as. I hope it is correct for using in product string.
Thanks
Views
Replies
Total Likes
Here are some links that might be helpful for you, as far as the merchandising eVar stuff
https://analyticsdemystified.com/adobe-analytics/merchandising-evars-omniture/
https://analyticsdemystified.com/adobe-analytics/advanced-conversion-syntax-merchandising/
What is Merchandising | Omniture Products Overview | Adobe TV
Views
Replies
Total Likes
Views
Likes
Replies