✏️ Now anyone can publish articles, collect points, and earn badges. Get 6 months of Premium access for your first approved article. Register to start your journey.
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 ...
Marketing Cloud Connect links Salesforce Sales or Service Cloud with Marketing Cloud Engagement, allowing teams to use CRM data for segmentation, personalization, campaign execution, and engagement tracking. A successful integration requires more than simply installing the connector – it needs ...
Salesforce Marketing Cloud Engagement’s REST API is the fastest way to automate the work you normally do by clicking around Email Studio, MobileConnect, Journey Builder, and Contact Builder. If you need to trigger sends, create or update Data Extension rows, ...
Working with Salesforce Marketing Cloud, I’ve learned that you often need to try different workarounds until you achieve the desired result. To succesfully solve problems, it all depends on your experience and patience. Recently, I did a significant amount of ...
You may already know that when storing text data of “infinite length” in a data extension, it’s important not to specify a character limit when creating the field. Leaving the length blank ensures that the system doesn’t impose restrictions on ...
MD5 is a widely used hashing algorithm that produces a fixed-length 128-bit string, often used in Salesforce Marketing Cloud for things like subscriber keys and consistent identifiers. While MD5 isn’t suitable for strong cryptographic security, you can reliably generate it ...
While Salesforce Marketing Cloud supports a large subset of SQL Server syntax, the environment is optimized for segmentation and automation workflows rather than heavy analytical processing. Following a few best practices can help your queries run faster, produce predictable results, ...