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

Passing back data element to third party tag

Avatar

Avatar
Validate 1
Level 1
emilyc28113292
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
emilyc28113292
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
emilyc28113292
Level 1

15-10-2015

Hi there,

If I needed to pass back a data element to a third party tag, would I simply just use %dataelementname% ?

Would this be correct for the usage case?

EXAMPLE:
Data Element name: dl.purchaseID
Third party tag: <script src="https://smrtpxl.advertising.com/S?spid=215&ORD=%dl.purchaseID%" type="text/javascript"></script>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

90 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

90 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

22-12-2015

Hi Emily,

To pass back  a data element to a third party tag, you can use use the below snippet of code in the Third party/ Javascript tab. 

<script id="id1" src="" type="text/javascript"></script> <script type="text/javascript"> (function(){ var str= "https://smrtpxl.advertising.com/S?spid=215&ORD="; var val=_satellite.getVar('dl.purchaseID'); str.concat(val); document.getElementById("id1").src= str; }());</script>

Please do let us know if you have any questions or queries

Thanks & Regards

Parit Mittal

Answers (0)