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



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="//[[orderid]]&totalprice=[[totalprice]]&level=value&redirect_url=[[URL]]" border="0" width="1" height="1"><img style="border: 0;" width="1" height="1" src="" />

Any idea?


Accepted Solutions (1)

Accepted Solutions (1)




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.