Re: Redirected landing page - how to pass on original UTM's

Drew_Liner1
Level 1

Redirected landing page - how to pass on original UTM's

Hello Everyone.

An existing landing page has a bunch of custom urls with utm's all sent to publishers and online media vendors for tracking.

I now have to redirect that landing page and when I do, the utm's are dropped in place of that new url.

How do I pass on those UTM's?

5 REPLIES 5
JD_Nelson
Level 10 - Community Advisor

Re: Redirected landing page - how to pass on original UTM's

you need to add wildcards to your redirect. I've used this page to design them, before.

Ultimately you'll need something like:

Source: ^/thisiswhere/myfileswere(.+)

Destination: /thisiswhere/myfilesmovedto$1

SanfordWhiteman
Level 10 - Community Moderator

Re: Redirected landing page - how to pass on original UTM's

I don't think Marketo has full regex support like that.

JD_Nelson
Level 10 - Community Advisor

Re: Redirected landing page - how to pass on original UTM's

well that sucks

JD_Nelson
Level 10 - Community Advisor

Re: Redirected landing page - how to pass on original UTM's

VOTE HERE

SanfordWhiteman
Level 10 - Community Moderator

Re: Redirected landing page - how to pass on original UTM's

For now use a JS redirect (not a Redirect Rule) on the original page.

In the <head>:

<script>

var redirectURL = document.createElement("a");

redirectURL.href = "http://pages.example.com/newurl.html";

redirectURL.search = document.location.search;

document.location = redirectURL;

</script>