After someone submits a poll, quiz, survey, or form, you can choose to display a call-to-action (CTA) button. For quizzes, you can take it a step further by showing different CTA buttons - each with its own link - based on the user's quiz result.
For example, a travel company might create a quiz to help users discover their ideal vacation destination. Depending on the result, users see a tailored CTA button like “Start Planning Your Trip!"
If a user gets Paris, the CTA will lead to a curated travel guide or booking page for Paris.
If the result is New York City, the CTA would direct them to content focused on planning a trip to NYC.
This personalized approach not only enhances the user experience but also boosts engagement and conversions.
Adding variables to URLs in CTA buttons
You can dynamically add parameters to the URLs used in CTA (Call to Action) buttons on closing screens.
This allows you to send parameters to the configured URL, making it easy to:
Direct users to different pages based on their answers for pre-filter content,
Pass data to external tools via the URL.
How It Works
When editing a CTA button, you can append variables to the end of the URL as parameters. Variables are inserted using the @
symbol - the same way they’re used in titles and descriptions.
Example
Base URL:
https://example.com/results
With dynamic filters (note: the first link is simplified for demonstration purposes, while the actual link with variables generated for your CTA button will be similar to the second one):
https://example.com/results?category=@selected_category&year=@year
https://example.com/results?category={Please select a category: a-1ee3b0b0}&year={Please select your year of birth: a-257ed82e}
If a user selected Photography and were born in 1990, the final URL will look like:
https://example.com/results?category=Photography&year=1990
This lets you send them to a page tailored to their experience - with filters already applied or prefilled.
URL Encoding
All variable values are automatically URL-encoded, so your links stay valid and functional. For example:
A space becomes
+
A percent sign % becomes
%25
Other special characters are safely encoded too
So if the category is Graphic Design, the rendered URL becomes:
arduinoCopyEdithttps://example.com/results?category=Graphic+Design