Continuing the work of @andreicek, this PR adds support for event tracking.
While implementing a user on-boarding, I was faced with issues using url-based condition. Events works better in most cases in single page apps.
FYI: currently, Intercom('update') is called on every page transition but I was informed by Intercom support that there is a SPA limit of 10 calls per 30 minutes. As a consequence, "last viewed" does not always reflect the last page the user was on. Hence, using events has been reliable for me.
Continuing the work of @andreicek, this PR adds support for event tracking.
While implementing a user on-boarding, I was faced with issues using url-based condition. Events works better in most cases in single page apps.
FYI: currently, Intercom('update') is called on every page transition but I was informed by Intercom support that there is a SPA limit of 10 calls per 30 minutes. As a consequence, "last viewed" does not always reflect the last page the user was on. Hence, using events has been reliable for me.