Fire JavaScript pixel on button click

iMettrics
Rookie Contributor
iMettrics

Hi,

I'm a new Tealium user and I have the following problem:

I have a JavaScript pixel that has to be implemented on a certain button click. I created a custom container tag and I added the Javascript code by editing the tag's template Like this:Selection_074.png

Apart of that I have this code that runs when I click the button:

Selection_075.png

So, I added this load rule to the tag:

Selection_076.png

The problem is that I don't see the tag fires when I click the button.

Can you help me to find what is wrong?

4 REPLIES 4

Fire JavaScript pixel on button click

Tealium Employee

Hi iMetrics,

Does the tag template support link events?

You can view the following guide to check:

https://community.tealiumiq.com/t5/iQ-Tag-Management/How-to-Check-if-a-Tag-will-Fire-on-View-or-Link...

Ask me anything Tealium!

Fire JavaScript pixel on button click

iMettrics
Rookie Contributor
iMettrics

Hi corbinspicer,

Yes, it's configured like this:

Selection_084.png

Do you know if there is a way to check why the load rules didn't work like in Google Tag Manager?

Regards.

Highlighted

Fire JavaScript pixel on button click

Tealium Employee

Hi iMetrics,

It's probably best we look at this in more detail, if you could email support@tealium.com we can have a look at your specific configuration :)

 

Ask me anything Tealium!

Fire JavaScript pixel on button click

iMettrics
Rookie Contributor
iMettrics

Hi,

I've just sent an email to that address.

I hope you can help me.

Thank you.