Skip to main content
Answered

Default Behavior for Track Event

  • December 18, 2023
  • 1 reply
  • 61 views

adrianmejias
Intercom(‘trackEvent’, ‘myevent’).on(‘fired’, function () {

  // The event has fired.

}).on(‘unscheduled’, function () {

  // The event rules met but unable to fire based on schedule.

});

See example above: Is there a way to track an event not firing based on not being scheduled but meeting the rules? (meeting rules but not in schedule to be fired)

The reason being that I’m working with javascript where there would need to be default behavior if the Intercom banner doesn’t show.

  • intercom banner → close banner → redirect to url
  • (no banner) → redirect to url

Best answer by Jacob Cox

Hi @adrianmejias !

I’m not fully sure what you mean by an Event ‘not meeting the rules’ and ‘not being scheduled’? An Event doesn’t have Rules or Scheduling in Intercom. It’s either called or not called via the ‘trackEvent’ method. It’s possible your question is expanding beyond the scope of Intercom in which case I won’t be able to provide much help. Perhaps another member of the Community has more experience on that topic though?

View original
Did this topic help you find an answer to your question?

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • February 17, 2024

Hi @adrianmejias !

I’m not fully sure what you mean by an Event ‘not meeting the rules’ and ‘not being scheduled’? An Event doesn’t have Rules or Scheduling in Intercom. It’s either called or not called via the ‘trackEvent’ method. It’s possible your question is expanding beyond the scope of Intercom in which case I won’t be able to provide much help. Perhaps another member of the Community has more experience on that topic though?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings