Setting eVars on eCommerce confirmation page | Community
Skip to main content
October 16, 2015
Solved

Setting eVars on eCommerce confirmation page

  • October 16, 2015
  • 1 reply
  • 738 views

Hi,

I need to collect a lot of data on the confirmation page such as delivery option, delivery store, delivery state, payment option, promo code used, etc. Most of these won't be tied to individual products (for when they order multiple products) but relate more to the overall order. I will collect this information in separate eVars.

Do I need to set the eVars within the s.products variable or can I set them on the page but outside the s.products variable. For example, setting them at the end of the s.products variable with no product information related to them (event1 relates to tax).

events="purchase,event1"

s.products=";prod1234;1;19.95;event1=1.99;,;prod5629;2;45.5;event1=4.55;,;;;;;evar1=next day delivery|evar2=store Y|evar3=promo 123"

or setting them separately on the page

events="purchase,event1"

evar1="next day delivery"

evar2="store Y"

evar3="promo 123"

s.products=";prod1234;1;19.95;event1=1.99;,;prod5629;2;45.5;event1=4.55;"

I would prefer to do it the second way but I just want to make sure this will still allow me to subrelate the products with the evars, i.e. I can see what products people selected nest day delivery for, etc.

Thanks,

Damien

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Alexis_Cazes_

Hi Damien,

 

When you set eVars in s.products, it is called Merchandising eVars : http://microsite.omniture.com/t2/help/en_US/sc/implement/var_merchandising.html

When you set Merchandising eVars to s.products, the eVars will only be tied to the products that they are implemented with. You can also use the conversion syntax are explained in this doc http://microsite.omniture.com/t2/help/en_US/sc/implement/var_merchandising_impl.html

In your case you might not need Merchandising eVar as I guess you implement the code above on the thank you page. You can use normal eVars.

If you will always have a value for eVar1, eVar2 and eVar3 you could concatenate the 3 values in one string and send it one eVar and then use classification rule builder to classify automatically the different values in corresponding classified reports.

 

Best regards.

Alexis Cazes

1 reply

Alexis_Cazes_
Alexis_Cazes_Accepted solution
Level 10
October 16, 2015

Hi Damien,

 

When you set eVars in s.products, it is called Merchandising eVars : http://microsite.omniture.com/t2/help/en_US/sc/implement/var_merchandising.html

When you set Merchandising eVars to s.products, the eVars will only be tied to the products that they are implemented with. You can also use the conversion syntax are explained in this doc http://microsite.omniture.com/t2/help/en_US/sc/implement/var_merchandising_impl.html

In your case you might not need Merchandising eVar as I guess you implement the code above on the thank you page. You can use normal eVars.

If you will always have a value for eVar1, eVar2 and eVar3 you could concatenate the 3 values in one string and send it one eVar and then use classification rule builder to classify automatically the different values in corresponding classified reports.

 

Best regards.

Alexis Cazes