Callback on survey complete

  • 5 March 2024
  • 1 reply

I need to trigger an action within my application when the user either completes the survey or cancels it. Similar to how we currently initiate the survey (Intercom('startSurvey', XXXXX);), I require a comparable mechanism to execute a function upon survey completion or closure.

Thank you.


Best answer by bernice 11 March 2024, 15:29

View original

1 reply

Userlevel 4
Badge +4

Hey @User279 👋 While there is no JS method for when a Survey is completed, you can use Webhooks to identify when a user has completed a Survey and then trigger an action. To achieve this, you’ll be using the content_stat.survey topic 🚀 You can then track the following Survey events:
- receipt (Survey shown)
- goal_success
- answer
- click
- completion
- dismissal