Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Test Intercept Section


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


About the Test Intercept Section

When building an intercept, you can navigate to the Test Intercept section to get test code for your intercept. You can then preview what your intercept will look like on any website you desire.

Testing Intercepts

  1. Once inside the intercept you wish to test, go to Test Intercept.
    Test Intercept section of the intercept
  2. Choose which Intercept Version you’d like to test. Published Version will show the latest changes you made before clicking Publish. Editing Version will show the latest changes you made, regardless if they are published.
    Qtip: Though the published version can also be previewed, we recommend using the Editing Version for testing as it allows you to preview changes without having to publish them. That way you can test settings on a live intercept without changing what visitors see on your site.
  3. Save the bookmarklet to your bookmarks. If your browser has a bookmarks toolbar, you can do this by simply dragging the bookmarklet onto the toolbar. For more detailed instructions, refer to the section on Displaying the Bookmark Bar below.
  4. In a new window or tab, open the webpage on which you would like to test your intercept.
    Navigating to the desired page and clicking the bookmarklet
  5. Click on the bookmarklet, which will run the code for that intercept on your webpage.
  6. A window on the lower-left will let you know if any parts of the intercept failed, and if so, what part you need to fix so it’ll pass next time.
Qtip: You will also have the option to test your intercept when using the guided setup. Follow the steps provided in the guided setup to preview your intercept before you publish.Preview your intercept before you publish using the steps provided in the guided setup. The guided setup provides the bookmarklet and directions!
Qtip: When you run the bookmarklet on the individual intercept level, the “Any Intercept in this Zone” logic doesn’t function the same because you are loading a given intercept rather than a zone or project.

Displaying the Bookmark Bar

If your web browser has a bookmarks (or favorites) toolbar, saving the bookmarklet needed to preview your intercept is as simple as dragging it onto that toolbar. If you don’t have a bookmarks toolbar, the following steps will describe how to display it on your browser.

Qtip: In every browser, you can right-click to delete a bookmark once you’re finished using it.

Testing on a Mobile Browser

Saving the bookmarklet to a mobile browser is certainly possible, but a bit tricky given how mobile browsers don’t typically let you drag and drop. The best way to test how your intercept will appear and behave on mobile devices is to access the developer tools in your web browser.

  1. Open Developer Tools on your browser.
  2. Navigate to the Toggle Device Toolbar option.The Toggle Device Toolbar is highlighted in the top left corner of the Developer Tools in the web browser
  3. Select the mobile view, or enter the dimensions you would like to test for.In the Toggle Device Toolbar of the Developer Tools, the dropdown is selected to show all device sizes

Troubleshooting Tips

Intercept Logic

  • Make sure the values are correct.
  • Examine your use of “Is” vs. “Contains.”
  • Examine your use of And/Or logic.
  • Watch out for spaces in the values.

Revision History

Make sure the published version is the most recent (or the version that you would expect).

Watch For the Website Feedback Network Request

  1. Open Developer Tools on your browser.
  2. Look at the network request for ?Q_ZID etc.
    • No network request: The implementation is not working.
    • Network request: Check the parameters of the request for inconsistencies. Sometimes the code is implemented using a tag management system. There are cases where this implementation messes with the parameters in our request for current URL, etc.
    • Network request with an error: Check if your project is activated.

Look For Other Hanging Script Requests That Might Be Interfering With Our Script

  1. Right-click anywhere in your browser.
  2. Select Inspect Element.
  3. Choose Console (this is where errors appear).
Qtip: You will also want to right-click and select View Page Source to verify that your project code is actually on the page.

FAQs