how to pass totalrevenue value in s.products using DTM

Avatar

Avatar
Validate 25
Level 3
m_1985
Level 3

Likes

15 likes

Total Posts

56 posts

Correct reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 1
Give Back
View profile

Avatar
Validate 25
Level 3
m_1985
Level 3

Likes

15 likes

Total Posts

56 posts

Correct reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 1
Give Back
View profile
m_1985
Level 3

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)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
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)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

02-01-2017

Hi Muthu,

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

Thanks & Regards

Parit Mittal