Expand my Community achievements bar.

SOLVED

how to pass totalrevenue value in s.products using DTM

Avatar

Level 4

Hi,

I tried the below. I'm not sure what i'm missing. Getting "undefined" in the place of total revenue.

var totalrevenue = _satellite.getVar("revenue");
s.products=;;;+totalrevenue

thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Typically, when a data element returns "undefined" there is an issue with the data element itself. Can you tell us how you setup the revenue data element?

Here is a link to some great data element troubleshooting documentation written by one of our community members.

Regards,
Jantzen

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

Typically, when a data element returns "undefined" there is an issue with the data element itself. Can you tell us how you setup the revenue data element?

Here is a link to some great data element troubleshooting documentation written by one of our community members.

Regards,
Jantzen

Avatar

Level 10

Hi Muthu,

Is the above issue resolved. If not , Can you tell us how you setup the revenue data element?

Thanks & Regards

Parit Mittal