Unless a bug has recently been introduced, this should work fine.
Let's look more deeply at what you're doing. Please post the original HTML (just relevant snippet of course) with the link and then the rewritten link at your tracking server.
Thanks Sanford. We just determined the issue and it actually has to do with our redirect rules. Marketo is actually inserting and & in there.
The original URL in Marketo has a structure like this
The new site URL is built like this
Marketo sees the existing ? and then appends the querystring to preface with &. When it gets to my site, this is happening:
This causes a 404.
I'm going to just append my redirect rule so that for these pages it'll end in '/?'
Thanks for looking to help!
I'm having a similar issue in that Marketo is adding a forward slash / to the end of my url's that end in .html and before my utm tracking...
This is forcing my site to 404...
Link should look like: ".....service-releases.html?utm_source=......."
Marketo is forcing this: "....service-releases.html/?utm_source=....." which is causing a 404
Is this a Marketo issue or issue with my site setup?
Marketo doesn't add trailing slashes to URLs that end in .html.
This has to be happening on your webserver.