Passing multi text set codes through url string using Q_EED Base64 format. | XM Community
Skip to main content

Hi all,

 

I was trying to pass multi text set codes through url string using Q_EED Base64 format only the last option in the set gets populated when encoded using base 64.

If I use the below format to pass the data through string without encoding it work populating all in the variable TagExpType.

https://w5cx.qualtrics.comXXXXXXXXX?TagAge=32&TagShowDate=2023-03-21&TagCountry=US&Q_Lang=EN&TagCity=New York&CustomerID=abcd-1234-5678-vedr&TagExpType=Tock Perfect Pick 0&TagExpType=BTG Brut Rose&TagExpType=BTG 2018 Pinot Meunier&TagExpType=VC Patio Tasting

But if i use the encoded format (decoded shown below for reference) it only replaces the last code in TagExpType. In this case the “VC Patio Tasting” only.

https://w5cx.qualtrics.com/XXXXXXXXXXXXX?Q_EED={"TagAge":"32","TagShowDate":"2023-03-21","TagCountry":"US","Q_Lang":"EN","TagCity":"New York","CustomerID":"abcd-1234-5678-vedr","TagExpType":"Tock Perfect Pick 0","TagExpType":"BTG Brut Rose","TagExpType":"BTG 2018 Pinot Meunier","TagExpType":"VC Patio Tasting"}

Encoded format shown below.

https://w5cx.qualtrics.com/XXXXXXXXXXXXxx?Q_EED=eyJUYWdBZ2UiOiIzMiIsIlRhZ1Nob3dEYXRlIjoiMjAyMy0wMy0yMSIsIlRhZ0NvdW50cnkiOiJVUyIsIlFfTGFuZyI6IkVOIiwiVGFnQ2l0eSI6Ik5ldyBZb3JrIiwiQ3VzdG9tZXJJRCI6ImFiY2QtMTIzNC01Njc4LXZlZHIiLCJUYWdFeHBUeXBlIjoiVG9jayBQZXJmZWN0IFBpY2sgMCIsIlRhZ0V4cFR5cGUiOiJCVEcgQnJ1dCBSb3NlIiwiVGFnRXhwVHlwZSI6IkJURyAyMDE4IFBpbm90IE1ldW5pZXIiLCJUYWdFeHBUeXBlIjoiVkMgUGF0aW8gVGFzdGluZyJ9

 

Could you please help with the query.

Thank you,

Praveen

Make ‘TagExpType’ as a multi-value text set from the survey flow embedded data options. Use below string:

Decoded:

{"TagAge":"32","TagShowDate":"2023-03-21","TagCountry":"US","Q_Lang":"EN","TagCity":"New York","CustomerID":"abcd-1234-5678-vedr","TagExpType":"Tock Perfect Pick 0,BTG Brut Rose,BTG 2018 Pinot Meunier,VC Patio Tasting"}

Encoded:

eyJUYWdBZ2UiOiIzMiIsIlRhZ1Nob3dEYXRlIjoiMjAyMy0wMy0yMSIsIlRhZ0NvdW50cnkiOiJVUyIsIlFfTGFuZyI6IkVOIiwiVGFnQ2l0eSI6Ik5ldyBZb3JrIiwiQ3VzdG9tZXJJRCI6ImFiY2QtMTIzNC01Njc4LXZlZHIiLCJUYWdFeHBUeXBlIjoiVG9jayBQZXJmZWN0IFBpY2sgMCxCVEcgQnJ1dCBSb3NlLEJURyAyMDE4IFBpbm90IE1ldW5pZXIsVkMgUGF0aW8gVGFzdGluZyJ9

Output:

 


Brilliant Shashi. Thank you.


Leave a Reply