Adding embedded data to SurveyLink (email distribution) | XM Community
Skip to main content
Question

Adding embedded data to SurveyLink (email distribution)

  • 26 July 2024
  • 3 replies
  • 40 views

I am trying to append embedded data to this survey link when composing an email, for example adding ?product_id=2&flow=${e://Field/ff_flow} but cannot figure out where in the link below it should be placed.

${l://SurveyLink?d=Take%20the%20Survey}

 

I thought it would be ${l://SurveyLink?product_id=2&flow=${e://Field/ff_flow} =Take%20the%20Survey} but that doesn’t work.

Any help would be much appreciated!

Thanks.

3 replies

Userlevel 5
Badge +17

@JennyLaVan You can use SurveyURL instead of SurveyLink:

Take the survey:

${l://SurveyURL}&product_id=2

This would result in: 

If you want to display text instead, add the code via the link configurator: 

This should work: 

Best
Christian

Badge +1

Hi Christian,

I tried doing it that way but when I tested, the URL breaks when I click on the image in the email.

 

https://https//survey.bizrate.com/jfe/form/SV_0V68YSbxdNlaDhc?Q_DL=q74jDl5mMuhhMkB_0V68YSbxdNlaDhc_CGC_9Pdua1sA0of5Kpg&Q_CHL=email&product_id=2&flow=448

This is how it’s set up:

Do you know how to fix this?

 

Userlevel 5
Badge +17

@JennyLaVan Ah, my previous description only works if you distribute via the XM Directory distribution as the link options differ compared to the message editor in the survey’s distribution tab. 

If you distribute directly via the survey project, you can add some HTML code like this: 

<p><a href="${l://SurveyURL}&amp;product_id=2&amp;flow=${e://Field/ff_flow}">TAKE THE SURVEY</a></p>

This must be added in the HTML editor mode: 

Best
Christian

Leave a Reply