Expand my Community achievements bar.

tyler_lamb
tyler_lamb
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • 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?

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    0
  • 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...

    Type

    Questions

    Views

    4.4K

    Likes

    2

    Replies

    4
  • 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 be...

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    1