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

Call Data Element from 3th party tag (HTML sync or async)

julià_pujol_ar1
Level 2
Level 2

Hi Guys,

I would need pass a dynamic value (which I collected with Data element) and put this into a pixel image (marketing pixel). I've trying to call a Data Element into 3th party tag, HTML (syncr or asyncr), but I cannot know form of call it also I'm trying call this into javascript type, and in this I can call Data Element but i can't add a pixel (not permisse use document.write).

Ideally I would like that can call Data Element on HTML (sync or asyncr) and in this put a dynamic value into image pixel

PS:  pixel is like :

<img src="//t.qservz.com/tr.aspx?campaign=169779d3852b32ce8b1a1724dbf5217d&type=ppl&retmode=4&orderid=[[orderid]]&totalprice=[[totalprice]]&level=value&redirect_url=[[URL]]" border="0" width="1" height="1"><img style="border: 0;" width="1" height="1" src="https://tags.qservz.com/pixel?id=1901&type=img" />

Any idea?

Julià.

1 Accepted Solution
Rudi_Shumpert
Correct answer by
Employee
Employee

You can convert the pixel to plain js, no HTML markup.

The set vars like this.  foo1 = _satellite.getVar('DataElement Name1');   then you can put the variables foo1, foo2, etc...  in the pixel. 

View solution in original post

2 Replies
Rahsing
Level 8
Level 8

Hi Julia,

Have you tried using dynamic variables?

Here's some documentation

Rahul

Rudi_Shumpert
Correct answer by
Employee
Employee

You can convert the pixel to plain js, no HTML markup.

The set vars like this.  foo1 = _satellite.getVar('DataElement Name1');   then you can put the variables foo1, foo2, etc...  in the pixel. 

View solution in original post