how to pass totalrevenue value in s.products using DTM | Community
Skip to main content
New Participant
December 12, 2016
Solved

how to pass totalrevenue value in s.products using DTM

  • December 12, 2016
  • 2 replies
  • 1895 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by jantzen_b

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

2 replies

ParitMittal
New Participant
January 2, 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

jantzen_b
jantzen_bAccepted solution
Employee
December 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