I am using Google Tag Manager in my Unbounce page. I use it for nearly all the tracking. We started to include a press page as a trust element. We are having a few outbound links there to the articles. I therefore want to track the clicks on the outbound links via GTM.
I come across the following issue with my trigger. Imagine my page is example.com/press and I have an article linked at newspaper.com/article. I usually would set the trigger to click Url doesn’t contain example.com or regular expression. Therefore the tag is not triggered when clicked on internal links.
The difficulty is that unbounce shows the link as https://www.example.com/press/clkn/https/www.newspaper.com/article/ instead of https://www.newspaper.com/article This means I can’t simply exclude example.com in the trigger.
Does anyone have a solution how I can either set the trigger right or how I can change the unbounce link so, it doesn’t include the first part.