DTM Product variable questions

Avatar

Avatar

JillsMatthew

Avatar

JillsMatthew

JillsMatthew

13-07-2016

Hi,

Just started working on DTM (Adobe Activation) and I have a few questions regarding the rule setup. Hope someone from the community can help me here

  1. How can I set products variable in page load rule?
  2. How can I set product variable in event based rules (i.e. link tracking)
  3. How can I set a global linkTrackVars (i.e. a list of variables that must be sent in *every* link tracking (s.tl) call
  4. How can I set multiple products in the same tracking call?

Thanks in advance for any feedback

J

View Entire Topic

Avatar

Avatar

JillsMatthew

Avatar

JillsMatthew

JillsMatthew

18-07-2016

Hi Parit,

Thanks for the details.

  • How can I set a global linkTrackVars (i.e. a list of variables that must be sent in *every* link tracking (s.tl) call
    While using the s_code.js file we were using, s.linkTrackVars="eVar1,eVar2" in the global js file configuration section and then in the custom link tracking code we will add s.linkTrackVars+ =",eVar3,eVar4". In this way, we will have eVar1 and eVar2 sent in all custom link tracking call. Is there such a feature available in DTM? Or do I need to add those variables individually in every event based s.tl rules?

 

  • How can I set multiple products in the same tracking call?
    What I meant here was: How can I create a dynamic (or array) data element for products in DTM to track multiple values from same page?
    e.g. I have three products displayed on a page. I need to send these products to Omniture for track product views.
    It may be possible to use the code s.products=";"  + _satellite.getVar("ProductID1,")+";"  + _satellite.getVar("ProductID2,")+";"  + _satellite.getVar("ProductID3"); but I'm sure this is not the correct way of doing it. What if there are 5 products on page, or 50 products? How can I track all listed products in DTM?

 

Kind Regards
J