Loading...
  • Customer Experience
    Customer Experience
  • Employee Experience
    Employee Experience
  • Brand Experience
    Brand Experience
  • Product Experience
    Product Experience
  • Core XM
    Core XM

Test Intercept Section

What's on This Page:


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.
    In the Test Intercept section of the Intercepts tab, the option for Intercept Version appears above the grey bookmarklet
  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.
    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.
  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.
    Safari has Qualtrics open and a toolbar along the top under the address bar. An Intercept is testing on the right. On the left is a debug window
  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!

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.

Emailing the bookmarklet for iphone (Safari)

  1. Log into your Qualtrics account on your desktop and navigate to the intercept you want to test.
  2. Right-click on the Intercept Bookmarklet link and select Copy Link Address. This will copy the JavaScript code that makes up the bookmarklet.
    Right-clicking the grey bookmarklet to reveal options including Copy Link Address
  3. 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.
    Javascript pasted into an email
  4. On your mobile device, open the email and copy the code.
    Javascript copied in a mobile email app
  5. Open the browser on your mobile device and bookmark your website (or any website).
    On the mobile browser, the bookmark button is highlighted on the center-bottom of the screen
  6. For now, you should leave the name and URL as is and click Save to create a bookmark in the Favorites folder.
    On the Add Bookmark screen, the Save button is on the top-right
  7. Go to your bookmarks.
    On the bottom of the screen, the bookmarks icon, which looks like a tiny book
  8. Click Edit.
    Favorites screen. Edit button in lower-right
  9. Select the bookmark you just created.
    The bookmark just created is highlighted on the editing screen
  10. Erase the URL and paste in the Intercept code that you’ve copied from the email.
    On the Edit Bookmark page, Javascript is pasted into the field where the URL previously was
  11. Click Done.
  12. Navigate back to the bookmarks list and click your new bookmark to display your creative.
    A mobile browser. A slider creative comes from the right side of the screen

Emailing the bookmarklet for Android (Samsung Internet)

  1. Log into your Qualtrics account on your desktop and navigate to the intercept you want to test.
  2. Right-click on the Intercept Bookmarklet link and select Copy Link Address. This will copy the JavaScript code that makes up the bookmarklet.
    Right-clicking the grey bookmarklet to reveal options including Copy Link Address
  3. 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.
    Javascript pasted into an email
  4. On your mobile device, open the email and copy the code.
    Javascript copied in a mobile email app

    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.
  5. Open the browser on your mobile device and bookmark your website (or any website).
    Bookmark your site
  6. Go to your Bookmarks.
    Bookmark menu dropdown
  7. Click the dropdown menu and select Edit.
    Bookmark menu
  8. Select the bookmark you just created.
    Edit bookmarket menu
  9. Again, click the dropdown menu and select Edit.
    Dropdown menu to edit bookmark
  10. Erase the URL and paste in the intercept code that you’ve copied from the email.
    Edit url with code
  11. Click Save.
  12. 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)

  1. Log into your Qualtrics account and navigate to the Test Intercept section for an intercept you want to test.
    Website Feedback opened on a mobile browser to the Test Intercept section of an intercept
  2. Hold down on the bookmarklet and select Copy Link URL.
    The Test Intercept page is covered in shadow, and a menu giving the option to Copy Link URL rises from the bottom of the screen
  3. Click the more options button and click the star icon.
    Three parallel dots are clicked to reveal a menu with a star at the top
  4. Paste the Javascript into the URL field.
    Edit Bookmark screen, with Javascript pasted into the URL screen and a Done button on the top-right
  5. Click Done.
  6. Click the more options button and select Bookmarks.
    Three parallel dots icon in the address bar reveals a menu with a Bookmarks option
  7. Click the Website Feedback link you’ve created to preview your intercept.
    Bookmark page with the new bookmark just created highlighted
Qtip: If you log onto your Google account on both desktop and mobile Chrome, you can also sync bookmarks made on your desktop to your phone, and vice versa. See Google’s support pages for more assistance.

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