how to pass totalrevenue value in s.products using DTM

m_1985

12-12-2016

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

Accepted Solutions (1)

Accepted Solutions (1)

jantzen_belliston-Adobe

Community Manager

12-12-2016

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

Answers (1)

Answers (1)