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

larryarmstrong_
larryarmstrong_
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by larryarmstrong_
Customize the badges you want to showcase on your profile
Re: saving an object or array in a data element in Adobe Dynamic Tag Manager
Avatar
Give Back
Level 1
larryarmstrong_
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
View profile
larryarmstrong_
- Dynamic Tag Management
that does not work.i tried this as my data element custom script:return window.piwikVars.items; then in my script tag i am adding:var myArray = %piwikItems%; but it is not seeing as an array: it is giving an error like this:[img]Screenshot 2014-10-09 16.42.45.png[/img] i can see the populated array in my DOM inspector so I know that the variable exists and is populated correctly.

Views

316

Likes

0

Replies

0
saving an object or array in a data element in Adobe Dynamic Tag Manager
Avatar
Give Back
Level 1
larryarmstrong_
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
View profile
larryarmstrong_
- Dynamic Tag Management
I tried to save a javascript array or javascript object in a data element in DTM, but it does not work. It just translates it to an encoded string.Is there a way to make this work?If not, how am I supposed to populate data of a dynamic size, for example an array of each item in the cart, with individual attributes (name, price, quantity), for each one?I have a PIWIK script that is expecting this on the confirmation page.I can collect and save this data to a js object on my page, but I am not abl...

Views

1.4K

Likes

0

Replies

3