Skip to main content

I need to be able to parse querstring paramters into a URL


Take this URL for example

QS-Example.com?subid1=test&subid2=test2


On that page is a link (button, image, whatever)

https://some-other-url.something/


I need to be able to do (2) things

https://some-other-url.something/subid1/subid2

would parse to

https://some-other-url.something/test/test2


and/or

https://some-other-url.something?newparameter=subid1&newparameter=sub2

would parse to

https://some-other-url.something?newparameter=test&newparameter2=test2


Please, before anybody suggests - I am not looking to append query-string data to the url on button or link click - the parameters from the source page need to be remapped into the URL tail in some cases and in other remapped to new outbound parameters in the link.


In instapage the [dtr] parameters can be used

so

https://some-other-url.something?newparameter=[subid1]&newparameter2=[sub2]

or

https://some-other-url.something/[subid1]/[sub2]


We work with multiple downstream affiliates and I need to be able to pass collected parameters into my links to track in their systems.


Anybody?

Be the first to reply!

Reply