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

Add support for "products" variable to DTM

Avatar

Avatar
Boost 50
Level 5
dreisch-wiley
Level 5

Likes

101 likes

Total Posts

61 posts

Correct Reply

1 solution
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 5
dreisch-wiley
Level 5

Likes

101 likes

Total Posts

61 posts

Correct Reply

1 solution
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
dreisch-wiley
Level 5

08-10-2015

DTM has support for eCommerce events such as prodView, but it has no native UI for setting the products variable! Right now, the official documentation suggests using custom code to set it. 

 

This is the worst variable in all of the collector code to work with. The syntax makes our engineers downright angry. On top of that, the recommended way of piping Satellite variables in means that you may need to make 6+ calls to _satellite.getVar() to construct it.

 

Having a sensible UI to set the specific parts of the product variable would be a very obvious use of DTM to set Adobe variables on demand. Please consider adding it!

1 Comment

Avatar

Avatar
Boost 5
Level 2
adam_haining
Level 2

Likes

17 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 2
adam_haining
Level 2

Likes

17 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
adam_haining
Level 2

20-01-2016

Problem is that the products variable is super specific and so many customizations (events and eVars).  Best case is to use the custom code.  If you're using a data layer, you should be able to loop through the objects and build the products variable accordingly.  This takes the weight off of the developers and allows someone with much more experience to put it all together inside of DTM.