You may wish to create links with dropdown input fields, where the user can select multiple values, which are concatenated together with a character separating them. This is useful for parameters like country, product, business unit and audience, where you might have several options.
For example with a country parameter, a user could select United Kingdom, United States and Ireland and you want those values to be concatenated into &country=uk,us,ie
Because users can select dropdown options in different orders, we recommend setting parameter order as A-Z in Track > Edit dropdowns. This way no matter the users order of selection, they will appear in alphabetical order in your codes / links. For example ie,uk,us in our example.
How to add a new multi-select dropdown parameter
- As an admin, go to Track > Edit parameters rules
- In the top-right, click on the "+ Add parameter" button
- In the modal, name the parameter
- Under Input, select Dropdown (multi-select)
- In the bottom-right, click on the pink "+ Add parameter" button
- Under parameters, drag and drop the parameter to be in your prefered location
- (Optional) Expand the parameter in the accordian and change the Multi-select separator value from comma to another character or blank.
-
In Track > Edit dropdowns, add the dropdowns for your new parameter
How to change an existing parameter into a multi-select dropdown parameter
- As an admin, go to Track > Edit parameters rules
- Under parameters, find your existing parameter you wish to change
- Under Input type, change the dropdown to "Dropdown (multi-select)"
- (Optional) Expand the parameter in the accordian and change the Multi-select separator value from comma to another character or blank.
Comments
0 comments
Please sign in to leave a comment.