Using Referral Links Parameters to Condition the Funnel

Last updated:

Referral links enable you to create anonymous URLs that lead to the campaign funnel. To condition the course from that point onwards, you can add parameters to build a query string. Depending on the values of those parameters, the customer will take different paths in the same funnel.

The straightforward example below illustrates how to present the customer with distinct alternatives based on the query string. The same concepts apply to more complex cases with other types of user interactions. For example, you can display the funnel in different tongues by adding the language as an URL parameter or share the links on social media and show a specific message for each network.

Adding a New Condition in the Funnel

The following image shows a conditional IF step with two message displays - one in the YES and another in the NO route:

To add one or more conditions to the block, proceed with these steps:

  1. Select the block and hit the Edit step button. Next, click New condition under Context Data:

  2. Choose [Context against value] from the list:

  3. Repeat steps 1 and 2 as many times as needed.

    As you can see, there are two conditions above (year = 2022 and month >= 10)

  4. Save the conditions and confirm that they appear in the step description:

To use a referral link, ensure the channel is enabled in the Leads section and:

  1. Copy the referral link you want to use:

  2. Append the parameters in the form of a query string. To do so, put a question mark after the URL and add the parameters with the values you want to assign. When there are two or more, separate them with an ampersand (&).

    For the referral link above, an example URL that matches both conditions would be https://bankofholland.com/api/campaigns/referral/54df989c-eb0c-447e-bdf4-46321f5264ab?year=2022&month=11.

  3. Save and publish the changes to the campaign.

  4. Go to the URL and verify that the message display looks as expected:

  5. Compare it with the result of entering a link with non-matching parameters (https://bankofholland.com/api/campaigns/referral/54df989c-eb0c-447e-bdf4-46321f5264ab?year=2023&month=1, for example):