Forum Discussion

Drew_C's avatar
Drew_C
Boss
3 years ago

Email Metrics URL

Have any of you implemented a way to remove the tracking keys from the end of an email link (below in red)?
/t5/forum/thread/m-p/123456/emcs_t/N6VZws2U85Sjg[truncated]nDzmRwWjN2#M123

The link should simply end up in the address bar as:
/t5/forum/thread/m-p/123456/

I’m seeing more people share the links from the address bar with the tracking reference, which presumably skews metrics. It also causes Google Analytics to do weird things. I believe it could be done with JavaScript, but I don’t know if it could happen without a page refresh. Ideally, it would be stripped on the server-side after being registered as a hit.

1 Reply

  • Hello Drew_C 
    We use to write email template in Studio > Text Editor > Email Text, there you can choose email template and select the language and made appropriate changes.

    For a thread reply it will auto generate links for that particular message

     /t5/forum/thread/m-p/123456/emcs_t/N6VZws2U85Sjg[truncated]nDzmRwWjN2#M123

    Where #M123 is new comment id.

    We wrote a line of code ${emailUrls.getMessagePageUrl($message)} and it automatically generates the link when it send an email, so I don't think we can customise it to 

    /t5/forum/thread/m-p/123456

     
    Regards,
    Abhishek Gupta