SFMC automatically appends tracking information to our URLs at time of send. For example:




Is it possible to append an anchor to the end of this URL to drop a user on a specific part of the page?

E.g. https://mywebsite.com?utm_campaign=xxx&utm_medium=email#page-anchor

It doesn't work for us to append the anchor on the base URL. Once tracking is appended after the pound (#) the anchor does not work.

  • 1
    To my knowledge with the analytics tracking being appended on, there is no way to add anchor tags. This is because in the OOO, the analytics stuff is added to the URLs at the very end of the AMPscript processing after all other actions are complete. Commented Dec 30, 2019 at 20:53

3 Answers 3


This is definitely hacky, but it has worked for me in the past. You'll need to open a ticket with SFMC Support to request an update to your WAC string, so that the very last parameter name in your query string can be used your very last Additional Email Attribute. So if you already have and use 5 AdditionalEmailAttribute's, then this solution won't work.

Hypothetically let's say you already use 4, then the 5th would be added by SFMC support and could have a parameter name of "anchor". Then in your AdditionalEmailAttribute5 input in the email properties area, you can add your anchor, with the hashtag (#page-anchor in this example).

So your final url parameter would look like:


and would resolve to:


This needs to be at the very end of the WAC string and the very end of the url overall, or else it will not work. Be sure to test thoroughly by sending "live" emails to yourself (as opposed to test sends), so the WAC will be appended. This solution may not work in every case an anchor is needed, especially if there are extra redirects happening on the page you are linking to.

  • 1
    UPDATE: you can update your own WAC string within Parameter manger
    – EazyE
    Commented Jun 1, 2022 at 18:17

Salesforce is aware of this, and I have been told a fix will be implemented, allowing you to use RedirectTo with an anchor tag in near future. Currently, you can have tracking parameters appended correctly with an anchor tag at the end, if you use standard links without RedirectTo, or use the dirty hack of jake314159

  • Looking forward to the solution! Thanks for the heads up! Commented Jan 16, 2020 at 0:08

You can prevent the additional of Web Analytics Connector (WAC) for that specific link and manually add the anchor and tracking.

%%[ set @URL = "https://mywebsite.com?utm_campaign=xxx&utm_medium=email#page-anchor" 

Set @Link = Concat('<a href=',@URL,' alias="Link">Link Test</a>') 

  • Hi, but i noticed that this stops tracking the click activity for this url. Is there a work around for this?
    – PJJD
    Commented Jun 25, 2021 at 17:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .