Redirect visitors to Landing Page if UTM parameter is missing

Anonymous
Not applicable

Redirect visitors to Landing Page if UTM parameter is missing

Hi,

Is there a way to redirect visitors to a marketo landing page if they are missing the UTM strings that I appended to the landing page url?

So for example:

http://info-staging.mycompany.com/leadsubmit.html  -> Redirect

http://info-staging.mycompany.com/leadsubmit.html?utm_medium=PaidSearch -> Redirect

Thanks,

Agnes

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Redirect visitors to Landing Page if UTM parameter is missing

<HEAD>

     <SCRIPT>

          document.location.search || ( document.location ='/my/default/page.html?utm_medium=default_redirect');

     </SCRIPT>

...

</HEAD>

Or something along those lines.