Articles on: FAQ

Pass parameters - How it works?

Pass parameters - the values of fields and UTMs

On the Design page of your poptin, under the "Link to" option, you will be able to tick the checkbox of "Pass parameters"



This option will allow you to pass the inputs, the info your visitors filled out in your poptin's filed, into the redirection URL you set.

For example: if your poptin includes fields of Name, Email and Phone



and you ticked the "Pass Parameters" checkbox, then the visitors will be redirected to a URL like this one:
https://www.example.com/?**name**=tomer&**email**=contact@poptin.com&**phone**=97273323333

This feature is useful if your the page you redirected to has a code that use these parameters for integration or showing personalized content based on what the users filled out.
You can also show a popup with the filled out info on the new URL this way: https://help.poptin.com/article/show/106093-merge-tags-for-your-poptin-how-it-works

How to add the conversion URL to your redirection URL

If you want to add the full URL of where the conversion occurred, you can add this tag {conversion_url} to your redirection URL under the "Link to" option.
If you want to add only the path, you can use {path_url} instead.

You can also tick the "Pass parameters in URL" checkbox if you want the value of your poptin's fields to be added to the final redirection URL as well.

So instead of seeing this on Google Analytics domain.com/?blue-popup, you can see this after using the tags domain.com/?blue-popup&domain.com/blog/page-1)



Note: If your website is built on WordPress, you need to be aware of reserved parameters like "name". You will need to switch it to a custom text / message field instead to be able to use it https://codex.wordpress.org/Re...

You can also just add another parameter to the redirection URL instead and it will solve it. For example: yourdomain.com/thank-you?page

If you want to create a webhook that pulls the data, you can use this code by Eyal Gershon:
https://github.com/eyalway2cu/eyal_scripts/blob/master/poptinSubmitWebhook.html

Just make sure you enable CORS first

Updated on: 15/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!