public9nf
public9nf

Reputation: 1399

Tracking Outbound Links - How to filter out javascript:; Events

I am tracking all outbound clicks with a google tag manager trigger which includes all links which are not containing my domain url. Now ive got a problem with NextGEN Wordpress Gallery. Whenever someone clicks on an image and the image opens in lightview ive got an Outbound Link event with Label javascript:; (label is normally the page url). How can i filter out these javascript-events?

Thx for your help and best regards.

Upvotes: 1

Views: 264

Answers (1)

dmpg_tom
dmpg_tom

Reputation: 855

In your trigger in GTM, just add a new 'Fire On' condition with the following values:

GTM Trigger Filter

These condition's are 'AND-ed' so all must be true for the trigger to fire and hence this will filter out (at source) any of these javascript urls.

Upvotes: 1

Related Questions