background shape
background shape

Google Analytics Integration: broken links

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 if the tracking link also appends google analytics tags. This will make such link not behave the way we would expected

https://example.com?qs=346cfddaac52baf7865cb0f27d25ff46?utm_medium=email...

Good practice is to wrap all links that are created dynamically in the function RedirectTo

%%[
SET @link = "https://google.com/search?q=martechnotes"
]%%
%%=RedirectTo(v(@link)))=%%

Oh hi there đź‘‹
I have a FREE e-book for you.

Sign up now to get an in-depth analysis of Adobe and Salesforce Marketing Clouds!

We don’t spam! Read our privacy policy for more info.

Share With Others

Leave a Comment

Your email address will not be published. Required fields are marked *

MarTech consultant

Marcel Szimonisz

Marcel Szimonisz

I specialize in solving problems, automating processes, and driving innovation through major marketing automation platforms.

Buy me a coffee