Reputation: 1399
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
Reputation: 855
In your trigger in GTM, just add a new 'Fire On' condition with the following values:
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