Expand my Community achievements bar.

SOLVED

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

Avatar

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

Avatar

Correct answer by
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

Avatar

Level 8

Hi Julia,

Have you tried using dynamic variables?

Here's some documentation

Rahul

Avatar

Correct answer by
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.