I'm trying to bypass tracking on a single link within an email. I know this can be done by building the link with ampscript. I've gotten it to work if I have a static url like this:
%%[ var @myLink set @myLink = Base64Encode('<a href="http://link.com">click here</a>') ]%% %%=Base64Decode(@myLink)=%%
However, I have a data extension with a bunch of promo codes that I need to load into the url like http://link.com/%%CUSTOMCODE%%.
I can't seem to get this working. I've tried a CONCAT but it isn't working. Example:
%%[ VAR @myLink, @comboLink SET @myLink = my_link_from_data_extension SET @comboLink = CONCAT('<a href="', @myLink, '"><a>') ]%% %%=v(@comboLink)=%%
Any tips? How do I insert a field from a data extension when I am building this URL? So confused.