Parsing external values in the subscription journey

This article is intended for the following people:

Insurance / Banks Brokers / Distributors Sellers

For more information on roles on Plug, please see this article.

Add values to the subscription journey URL

External values to be passed to the subscription journey must be added to the URL. This requires: 

  • Add an ? at the end of the URL
  • Put the first value in the following format: parameter_name=value
  • If you want to add a second or more value, you will have to separate them with a &

So the full syntax is: 

https://lien-du-parcours.fr?param_1=abc&param_2=123

In this example, the course course-link.co.uk will receive two values:param_1 which will have the value abc and param_2 which will have the value 123

In the case where the subscription journey is an iframe, the syntax is similar :

<script async src="https://lien-du-parcours/script?param_1=abc&param_2=123"></script>

Fill in input fields in the subscription journey

It is possible to pre-populate input fields in the subscription journey using these values given in the URL. This requires that the name of one of the parameters is identical to the ID of one of the questions. For example, if we want the field first_name to be pre-populated, the following syntax would be required: 

https://lien-du-parcours.fr?first_name=Pierre

URL customisation

Although Plug courses come with a default URL, it is possible to customise it. If you would like to know more about this, feel free to check out this article.

Still need help? Contact Us Contact Us