This guide provides an example of how you can insert your SUBID value from the querystring into a HTML link.

Assume you have this simple landing page:

  1. It receives the subid in the URL querystring as subid - for example: https://domain.com/page/?subid=12
  2. You just want to append the subid as its received, eg https://outgoinglink.com/page/?subid=12 or insert it in a link quertystring where it specifies the placeholder {{subid}}

These are the steps to go through in summary:

  1. Open your html page in your preferred editor
  2. Insert the JS code
  3. Tag your links with the token & if needed insert the placeholder
  4. Test

See the detailed steps below.

1. Open your page in an editor

This is a simple html page we will use in this example. It includes 3 example links.