- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 06:42 AM
Hi,
Is it possible to pre-populate a catalogue variable when a user clicks on a link? The value cannot be set as a default value in the variable directly as it will be different each time the link is clicked.
For example:
User clicks on the link via an email, that email contains 'STRING MESSAGE' in the email body. When they click on the link to the catalogue item, we'd like 'STRING MESSAGE' to be pre-populated in a variable on the catalogue item.
I was wondering if the information code be JSON formatted and sent as Key | Value pair in the URL? Or, any other method?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 06:59 AM
Hi,
Yes, you can pass them as URL parameters in the link and then capture them with an onLoad catalog client script and then update the varible.
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 06:59 AM
Hi,
Yes, you can pass them as URL parameters in the link and then capture them with an onLoad catalog client script and then update the varible.
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 07:07 AM