Need to add a frequency rule on website intercept | XM Community
Solved

Need to add a frequency rule on website intercept

  • 3 July 2023
  • 1 reply
  • 80 views

Userlevel 5
Badge +11
  • QPN Level 5 ●●●●●
  • 78 replies

Hi, 

I want to be able to stop from showing an intercept on a website if the person has already seen it in the past 2 weeks. So in the survey I will be capturing the contact information of the person and I’ll be storing it in Qualtrics XMD. Now if the person comes back to the website in the next 2 weeks they should not be shown the intercept. I am aware of the Repeated display prevention in intercept option but that is not specific to a person and is domain wide. I want this frequency rule to be user specific. Thank you in advance for your help.

icon

Best answer by Sowrabh1993 3 July 2023, 18:00

View original

1 reply

Userlevel 5
Badge +15

Hi @Eumetis ,

 

Please refer this documentation for the same:

https://www.qualtrics.com/support/website-app-feedback/common-use-cases/xm-directory-contact-frequency-rules-for-digital-intercepts/?parent=p00865

 

Alternatively, you can create a contact in XM Directory using a workflow once the response is submitted for the first time. You can then ask your Website team to run some API’s once the user logs in on website and based on the value of the API, set a htnl variable on page that defines whether the survey is to be shown.

For eg:

On login on website > Run API that checks if the contact is present in Qualtrics? > Check the “last updated/created” date of the contact in XMD> if this is less than 14, then “showsurvey”=”no” / if this date is more 14 days, then “showsurvey”=”yes”. Post this, you can have your intercept logic to check the value of this JS variable and display the intercept accordingily.

API’s required:

https://api.qualtrics.com/c79e78a949572-search-directory-contacts

Hope that helps.

Leave a Reply