How to embed an Intercept on my website?

Intercept surveys can be embedded on the website through the JavaScript code. You can copy the code on any page of your website.

To embed an Intercept on your website, go to the intercept and follow the steps given below:

  • Copy the code next to the Preview button
  • Paste the code in the HTML tag of your website right before the closing body tag of every page where you want the Intercept to appear.
  • To complete the code add targeting rules.
Survey Software Help Image

How to change the segment code for intercepts?

To map any specific segment with the intercepts and collect the responses for that segment, you need to pass the segment code in the intercept script embedded.

Here's the example: window.QPROSurvey = {};window.QPROSurvey.settings = {inID : "abc", segmentCode : "S1"};

In the above script, replace the value of segment code 'S1' with the values of segment for which you want to collect the responses.

Was this article helpful?
Sorry about that
How can we improve it?