Do you have your own parameters that you want to pass through a smartURL? Follow this short how-to guide and you can use your own parameters while keeping all the features of a smartURL.
Parameters consist of variable and value pairs. It’s easy to pass a single parameter or multiple parameters with a smartURL.
First step is to create a smartURL or take an existing smartURL you’ve made. We are going to use http://smarturl.it/how-to for this example.
To pass a single variable parameter, take your smartURL and append a question mark before your variable and value pair. In this example, let’s pass a source parameter.
The question mark is always used to pass the first parameter. The equal sign separates the variable and the value. In our example, “source” is the variable and “facebook” is the value.
To pass multiple variable parameters, use an ampersand to append multiple variables after your first variable.
Let’s continue to pass a source parameter, but also pass a campaign parameter.
We are passing two variables with this smartURL. The first parameter still uses a question mark to separate it from the smartURL, and the ampersand is used to pass the second variable and any subsequent variables.
Here is an example if you wanted to pass a parameter for ad type as your third parameter.
Now we are passing three variable parameters and can continue passing many subsequent parameters using the ampersand with a variable and value pair.
The question mark, ampersand and equals sign are operators used in passing parameters.
? – The question mark is placed between the smartURL and the first parameter.
& – The ampersand is used before each subsequent parameter in the URL string.
= – The equals sign separates the variable from the value assigned to that variable