Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

s.products is not populating

Jayakrish
Level 4
Level 4

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.

1 Accepted Solution
ishans52004352
Correct answer by
Employee
Employee

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";

View solution in original post

2 Replies
ishans52004352
Correct answer by
Employee
Employee

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";

View solution in original post

Andrey_Osadchuk
Community Advisor
Community Advisor
if the issue is really because of the s.tl() call, then setting s.linkTrackEvents is also necessary.