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

Adobe Launch / Data Elements / Loop?

Avatar

Avatar
Level 1
romainl45785749
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
romainl45785749
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
romainl45785749
Level 1

13-11-2019

Hello guys,

I'm currently using Launch for sending data to Adobe Analytics, no surprise here.

I'm wondering if possible to send multiple times data information depending on how many products available in my basket.

Let's consider the following datalayer structure:

....

booking:

{

orderId: "123456",

totalPrice: "250.00",

items:

  {

  quantity: "3",

  unitPrice: "50.00",

  itemPrice: "150.00",

  itemID: "Item1"

  ...

  },

  {

  quantity: "1",

  unitPrice: "100.00",

  itemPrice: "100.00",

  itemID: "Item2"

  ...

  }

}

...

I already have implemented 'Product' variable but I don't want to include everything into that one (many many info available at item level)

So my objective would be to send through an eVar any additional items information.

Problem is that I can only retrieve one information at a time. My Data Element below configured to retrieve the first item:

     dataLayer.booking.items[0]["itemID"];

Is there any way I can loop it to resend eVar as many times as needed to get all itemID recorded in Analytics?

Thanks in advance for your attention and help.

Hope it makes sense,

Accepted Solutions (0)

Answers (0)