Test Intercept Section
What's on This Page:
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
- Once inside the intercept you wish to test, go to Test Intercept.
- 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.
Note: 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.
- 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.
- In a new window or tab, open the webpage on which you would like to test your Intercept.
- Click on the bookmarklet, which will run the code for that Intercept on your webpage.
- 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.

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.
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.
Emailing the bookmarklet for iphone (Safari)
- Log into your Qualtrics account on your desktop and navigate to the intercept you want to test.
- Right-click on the Intercept Bookmarklet link and select Copy Link Address. This will copy the JavaScript code that makes up the bookmarklet.
- On your desktop, paste the bookmarklet link address (JavaScript code) into a new email message and send it to an account that is active on the mobile device.
- On your mobile device, open the email and copy the code.
- Open the browser on your mobile device and bookmark your website (or any website).
- For now, you should leave the name and URL as is and click Save to create a bookmark in the Favorites folder.
- Go to your bookmarks.
- Click Edit.
- Select the bookmark you just created.
- Erase the URL and paste in the Intercept code that you’ve copied from the email.
- Click Done.
- Navigate back to the bookmarks list and click your new bookmark to display your creative.
Emailing the bookmarklet for Android (Samsung Internet)
- Log into your Qualtrics account on your desktop and navigate to the intercept you want to test.
- Right-click on the Intercept Bookmarklet link and select Copy Link Address. This will copy the JavaScript code that makes up the bookmarklet.
- On your desktop, paste the bookmarklet link address (JavaScript code) into a new email message and send it to an account that is active on the mobile device.
- On your mobile device, open the email and copy the code.
Qtip: Spaces in your URL may prohibit you from saving the bookmark on your Android device. Before you send your email, replace any spaces with %20. - Open the browser on your mobile device and bookmark your website (or any website).
- Go to your Bookmarks.
- Click the dropdown menu and select Edit.
- Select the bookmark you just created.
- Again, click the dropdown menu and select Edit.
- Erase the URL and paste in the intercept code that you’ve copied from the email.
- Click Save.
- Navigate back to the bookmarks list and click your new bookmark to run your JavaScript code and display your creative.
Logging onto Qualtrics on mobile (Chrome)
- Log into your Qualtrics account and navigate to the Test Intercept section for an intercept you want to test.
- Hold down on the bookmarklet and select Copy Link URL.
- Click the more options button and click the star icon.
- Paste the Javascript into the URL field.
- Click Done.
- Click the more options button and select Bookmarks.
- Click the Website Feedback link you’ve created to preview your intercept.
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
- Open Developer Tools on your browser.
- 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
- Right-click anywhere in your browser.
- Select Inspect Element.
- Choose Console (this is where errors appear).