An analytics developer is implementing tracking products variable and other eCommerce metrics on an eCommerce website. Which of the following would you suggest to be the correct way of initialising products variable.?
A.
s.products = "Example category;Example product;1;event1=4.99|event2=5.99;3.50;eVart=Example merchandising value 1 |eVar2=Example merchandising value 2";
B.
s.products = "Example category;Example product;l ;3.50;event1 =4.99|event2=5.99;eVar1 =Example merchandising value 1 |eVar2=Example merchandising value 2";
C.
s.products = "Example category;Example product;! ;eVar1 =Example merchandising value 1 |eVar2=Example merchandising value 2*;event1 =4.99|event2=5.99;3.50
This is according to the Adobe Analytics Developer Professional study guide, Section 3.7.2 (https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/adobe-analytics-developer-professional-study-guide.pdf). The syntax for setting the products variable is: s.products = "category;product;quantity[;price][;events][;eVars] The “l” indicates the variable is a list variable and is used with the eVars in the products variable. The quantity, price, events, and eVars are all optional, but if you are including the price, you must also include the quantity.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit