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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

tyler_lamb
Community profile tyler_lamb Level 2
Job title here
Location here
4 BADGES
Level 2

Level 2

Learn more
Joined the community 30-05-2017 8:36:41 AM
Offline
Top badges earned by tyler_lamb
Customize the badges you want to showcase on your profile
Re: DTM - How to use an array for a Data Element?
Avatar
Give Back
Level 2
tyler_lamb
Level 2

Likes

2 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
tyler_lamb
- Dynamic Tag Management
I have set up datalayer.products as a data element. (Lets say I named that element "Products")I guess what is the best way to set the products variable? Would I have to code it on the site itself, or can I configure the setting of s.products in DTM somehow now the array is saved in a data element?

Views

1.1K

Likes

0

Replies

0
DTM - How to use an array for a Data Element?
Avatar
Give Back
Level 2
tyler_lamb
Level 2

Likes

2 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
tyler_lamb
- Dynamic Tag Management
I'm trying to figure out how to utilize an array in a Data Element using DTM. Let's say I have the following:var datalayer = { products: [ { sku:'Product 1', quantity:7, price:9.12 },{ sku:'Product 2', quantity:5, price:4.78 } ] }Essentially I want to setup a Data Element for the products, and then use this to set the products variable for Site Catalyst. What is the best way to do this?Thanks for your time!Tyler

Views

3.2K

Likes

2

Replies

4
Product Comparison Tracking
Avatar
Give Back
Level 2
tyler_lamb
Level 2

Likes

2 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
tyler_lamb
- Adobe Experience Cloud
The title says most of it, we have a site where the user can compare multiple products at once. We'd like to be able to track what products were being compared to each other. I tried setting it up so we have a custom event "compare" and then set the product variable to have each of the products being compared. The problem now is how can we report on this? I can see overall here were the products that were compared, but cannot report on "Product 1 was compared with Product 2" which is the data we...

Views

531

Likes

0

Replies

1
Likes from