When you save links as part of an HTML code in an AMPScript variable, such as a paragraph containing a link to a page, you may face challenges in tracking these links.
Salesforce offers a great feature that allows tracking of such links using the “httpgetwrap” inserted right before the URL protocol.
href="httpgetwrap|https://martechnotes.com"
When dealing with AMPScript variables containing links for tracking, it is crucial to use the TreatAsContent() function instead of the v() function. This way, both the link and the tracking will work seamlessly.
%%[
SET @note = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href='httpgetwrap|https://martechnotes.com'>Vestibulum</a> eu lorem vel tortor mattis convallis. Etiam vulputate pharetra varius.</p>
]%%
%%=TreatAsContent(@note)=%%
GOOD TO KNOW
One important aspect to take into account when utilizing the “httpgetwrap” feature is its limitation in tracking only the first 100 unique URLs in the send. If you combine the prefix with Parameter Manager, it’s highly improbable that the click activity on these prefixed links will be fully tracked.
There is no longer a requirement to contact support for enabling this feature, as was the case in the past. Nowadays, the feature is automatically enabled on business units.
There is no longer a requirement to contact support for enabling this feature, as was the case in the past. Nowadays, the feature is automatically enabled on business units.
I specialize in solving problems, automating processes, and driving innovation through major marketing automation platforms, particularly Salesforce Marketing Cloud and Adobe Campaign.
Not too long ago, Google reCAPTCHA officially became part of Google Cloud. If you’ve been using the older reCAPTCHA implementation, you might have noticed that it suddenly stopped working — without much warning. The migration introduced new endpoints, API keys ...
In today’s fast-paced digital world, businesses are constantly seeking innovative ways to boost their marketing efforts and enhance efficiency. As the owner of a marketing automation agency with over a decade of experience working for IT corporations—eight of which were ...
When you integrate with Google Analytics, marketing cloud will add tags to all your links. When this happens, all dynamic links will be broken. Links that are defined programmatically as variable, field or attribute with GA integrated will look as ...
Mobile Studio in Salesforce Marketing Cloud Engagement is the mobile messaging workspace used to manage SMS, push notifications, and supported chat-style messaging. It matters because mobile campaigns are not just smaller versions of email – setup, consent, delivery, and reporting ...
There is an error with starting the journey, specifically related to the email template, but it gives you no explanation whatsoever. I’m sure there can be many problems with the template that prevent the journey from being started. One of ...
Recently, while working with the double opt-in process that employs an API to trigger transactional messages, I encountered an issue where Latin characters, characters with accent, were not captured correctly in the triggered send data extension. I have found that ...
We usually encounter this type of error when using SQL activities in Salesforce Marketing Cloud Engagement (MCE), and we already know how to handle the 30-minute runtime restriction. However, with the Script activity, I have experienced this issue for the ...
The main difference between a Query Activity and simply “running SQL” in Marketing Cloud Engagement is that a Query Activity is a saved, repeatable automation step that turns SQL into an operational data process. In practice, it matters because most ...