s.products is not populating | Community
Skip to main content
Level 4
September 7, 2020
Solved

s.products is not populating

  • September 7, 2020
  • 1 reply
  • 1566 views

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.
Best answer by isinha

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

1 reply

isinhaAdobe EmployeeAccepted solution
Adobe Employee
September 7, 2020

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

Andrey_Osadchuk
Level 10
September 8, 2020
if the issue is really because of the s.tl() call, then setting s.linkTrackEvents is also necessary.