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

SOLVED

how to pass totalrevenue value in s.products using DTM

m_1985
Level 4
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
jantzen_belliston-Adobe
Correct answer by
Community Manager
Community Manager

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
jantzen_belliston-Adobe
Correct answer by
Community Manager
Community Manager

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

ParitMittal
Level 10
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