How can I pass variables (parameters) to the destination URL?

passing-parameter-through-url.png

You can pass parameter values to your tracking destination URL using the options available in ClickMeter
To do so, please follow the steps below:

  1. Create a tracking link using the destination URL as www.yoursite.com?myparam={id} 
    (Please note the syntax {id}. Here you will pass the value for the parameter "myparam". )
  2. Your tracking link will be (as an example): www.go.clickmeter.com/38w
  3. Now add (manually) a parameter to the tracking link: www.go.clickmeter.com/38w2?id=123
  4. After you click on this tracking link the destination URL will look like: www.yoursite.com/?myparam=123


You can also add multiple parameters to the tracking link by separating them with a "&". 
Here is an example: 
Destination URL: www.yoursite.com?myparam1={id1}&myparam2={id2} 
Tracking link: www.go.clickmeter.com/38w2?id1=123&id2=abc 
After click: www.yoursite.com?myparam1=123&myparam2=abc 

An URL (Uniform resource locator) is a set of strings to define a location in the World Wide Web (www). It can also be used to pass information to the destination. Any word after the question mark (?) in a URL is considered to be a parameter which can hold values. The value for the corresponding parameter is given after the symbol "equals" (=). Multiple parameters can be passed through the URL by separating them with multiple "&". Read more about passing parameter through URL. 

Note: This option is well suited for the advanced users who are dealing with complex application websites and links interacting with databases.

 

 Related articles:

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.