As Digital Marketers, we often use query strings for our attribution. This gives us insights on where our traffic is coming from and which channels perform the best. An example of a query string is as follows:
For example, my website url is: https://cypresslearning.com
Marketers looking for better attribution can append the website url with a query string.
Query String Example: https://cypresslearning.com?referrer=blog&source=linkedin
In this example, we’ve created a query string with 2 values, separated by the “&”. Those values are:
referrer = blog
source = linkedin
From a Marketing Attribution perspective, we typically would want to know how much traffic is generated from these sources, and out of that traffic how much of it is converting.
For those who are using Gravity Forms, there’s an EASY way to capture that information. Here’s how:
1.Create a New field in Gravity Forms. We recommend making this a hidden field. We do not want our site visitors altering this field
2. Allow your field to be ‘Populated Dynamically’. In your Gravity Forms field, navigate to Field Settings, Advanced and check the box to ‘allow field to be populated dynamically’ (this can be found at the bottom of the ‘Advanced’ section in the field settings)
3. Define your Parameters. Once you’ve enabled the setting to ‘Allow field to be populated dynamically’, you’ll find a field to update ‘Parameter name’. This is where you’ll set your parameters.
Once this has been done, you’re all set! Whatever is passed through the query string, will be auto-populated into your Gravity forms fields.
From here, you’ll be able to use Gravity forms features to determine any personalization or specific handling for visits from specific url parameters.