s.products is not populating | Community
Skip to main content
Level 4
Sep 7, 2020 1:07 PM UTC
Solved

s.products is not populating

Hi Team,

we are simply trying to get the prod details through s.products variable. We are passing the below mentioned line of code on cart add. However, it is not firing as expected. I understand this is pretty straight forward method than getting the value from extension and through data layer. We have setting up this code in custom code editor under set variable. It is not firing as expected, please help me to find the issue and let me know if any.

-----------------------
s.events = "scAdd";
s.products = "loantype;loanname;1;2000";
----------------------


Thank you,
Jay.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
isinhaAccepted solution
Employee
Sep 7, 2020 4:40 PM UTC

Hi @jayakrish ,

If it's a custom link call, please try adding the below line of code as well (before the product string):

s.linkTrackVars="products";

2 replies

isinhaAccepted solution
Employee
Sep 7, 2020 4:40 PM UTC

Hi @jayakrish ,

If it's a custom link call, please try adding the below line of code as well (before the product string):

s.linkTrackVars="products";

Translate
Andrey_Osadchuk
Level 10
Sep 8, 2020 12:58 PM UTC
if the issue is really because of the s.tl() call, then setting s.linkTrackEvents is also necessary.
Translate