Pass URL Parameters Through Links In Custom HTML


#1

I am passing through a URL parameter called “tags” to my Unbounce page

I.e. the link to the this Unbounce page would behttp://avalanche.teamkse.com/tagging-test?tags=test

I have a block of custom HTML and I would like to pass through the parameter onto the links within the custom HTML block. Unbounce support indicated they don’t have functionality in place and the coding is a bit beyond the scope of my skillset. Any help would be appreciated.


#2

If anyone can help with that, would be so much appreciated.


#3

Hi @loganlloyd,

Is the custom HTML block an iframe?

Best,
Hristian


#4

Negative, it’s just a custom block of HTML. I attached a Notepad file with an example of the code; the HTML creates a drop down list in which each selection takes the viewer to a distinct URL per option. Those links are the links in which I’d like to pass through URL parameters.

Logan Lloyd

Director, Marketing Analytics | Kroenke Sports & Entertainment

Pepsi Center, 1000 Chopper Cir, Denver, CO 80204 USA

direct 303.405.1360 | Logan.Lloyd@TeamKSE.com


#5

Hi @loganlloyd,

Your attachment didn’t come through but @Rob posted a handy link on a similar thread here in the community.

This should point you in the right direction.

You need to grab the parameters and append them to your links.

Best,
Hristian