Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

STEP 1

Add the redirect link for concept sauce in a script tag.

The redirect should look like the below:

Redirect("https://survey.rose.conceptsauce.io?param_id=PRMS01G3H5QXCJ252E6FK650KEGB0Y&respondent_id=" + CurrentID() + "&link=" + link, true);

param_id: is the unique shelf ID, concept sauce will provide you with unique param_id for each shelf
respondent_id: is used to pass the unique ID for each respondent, must contain only numbers, no special symbols
CurrentID(): holds the unique ID in Confirmit system once the respondent enters the link
link: this is a variable that holds the invite link for the survey, it is used to redirect the respondent back to the survey, see details below:

var link = encodeURIComponent(GetRespondentUrl('ReturnP'));


ReturnP: this is the info page that the respondent lands once returned from the shelf, all data captured and appended into the hidden variables must be on a same page so you can recode it from the API

STEP 2

API integration:

Inside the info page that the respondents returns write the javascript code in the Javascript tab.

You can find the information about each API Call at - Virtual Shelf

  1. Get the survey ID from ParamID, Check if Api call was successful

  2. Get shelf summary purchases and append the data into the hidden variables

  3. Get the shelf details and append them into the hidden variables

  4. Get all the items the respondent have looked at

  5. Create object for the favorite that needs to be excluded

    1. pass the selection in the redirect link

  • No labels