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?
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
I don't think Marketo has full regex support like that.
well that sucks
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>