Avatar

Level 2

Hi,

I am unable to include the MirrorPageURL within my link. I am doing this for social sharing buttons. Please could you tell me how to do this?

See below example:

<a href="http://twitter.com/share?text=Here's+my+Trainline+2018+year+in+review+-+%23TrackMyTracks%0D%0D&url=<%@ include view='MirrorPageUrl' %>">Share this link on Twitter</a>

This works perfectly when I disable tracking, however when it is enabled the URL breaks. It turn into:

http://r/?id=h6c952269,1136e6f,24674c3c&utm_medium=email&utm_source=trigger&utm_campaign=Rob_Test&ut...

Many thanks,

Rob