Loading

How to Disable Tracking for Specific URLs in Marketing Cloud Engagement

Date de publication: Mar 26, 2026
Description

Marketing Cloud Engagement automatically adds tracking parameters to all links within email content. There is no standard feature to disable tracking for specific URLs. However, you can disable tracking for specific URLs by using AMPscript.

Résolution

Insert the following AMPscript into the text or HTML blocks of your email.

Note: The following codes are samples. Modify them according to your requirements and ensure you verify the AMPscript works as expected in advance.


Option 1

This method uses the Concat and V functions to prevent the system from recognizing the string as a URL, thereby blocking the addition of tracking parameters.

%%[ 
var @URL 
set @URL = 'https://example.com' /* URL to disable tracking */
var @UnTrackedURL
set @UnTrackedURL = Concat('<a href=', v(@URL), '>Click Here</a>')
]%%
%%=v(@UnTrackedURL)=%%

Option 2

This method uses the TreatAsContent function to prevent the addition of tracking parameters.

%%=TreatAsContent('<a href="https://example.com">Click Here</a>')=%%

Ressources supplémentaires

Concat
V
TreatAsContent

Numéro d’article de la base de connaissances

002465284

 
Chargement
Salesforce Help | Article