The reason for these links to be overwritten by Sitefinity is to track the clicks from your emails and generate reports for you. If your links point directly to the external resources, there will be no way for Sitefinity to track them. Since this is the whole point of the Email campaigns (you want everything from a campaign to be tracked), there is no way it can be disabled. Other than that, the links seem to be properly working and Sitefinity redirects to them, after saving the stat for the click.Regards,
Thanks for the info -- makes a bit more sense now. Can you please help clarify what the querystring parameter 'sf' represents (it is injected by sitefinity). I have a problem where it doesn't seem to be working properly for me...
This link (a hyperlink embedded in the message body of a specific issue) works properly (redirects to the proper page afterwards)
This link (a hyperlink embedded in the message body of my message template) does not work (redirects to a blank page)
I believe the issue is due to the value of the 'sf' querystring param. However, I don't seem to have control over that value (would like to know what it is).
The difference appears to be how/where I set this value -- at the campaign's issue level (via the sitefinity admin UI) or through my own code at the message template (this is what I want).
Hope this makes sense to you and you can help clarify.
You are correct that the problem comes from the value of the sf parameter. It is used by Sitefinity
to track statistics about the campaign. The difference between the two links is that the second one is missing part of the value that needs to be passed. In the first case you have sf=7FA0FFF500CB which stands for sf=issue-short-idsender-short-id, while the second one is missing the sender-short-id and is like this: sf=1D22C6. From the code that you have shared i am unable to tell you where the problem stands,
but if you share us a working sample with your code, reproducing this issue we can take a look at it.
Here's how the links are formed in our source: