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!