Search code examples
javascriptadobe-analytics

DTM: Implementing list variables


Does anybody knows how to implement the s.list variables in DTM. I've added the following in the custom page code of an event, but nothing appears:

s.listTrackVars = "list2";
s.list2 = "widget";

Any recommendations on what I'm missing to make this work will be greatly appreciated.


Solution

  • Instead of

    s.listTrackVars = "list2";
    

    Try

    s.linkTrackVars = "list2";