Since SPA is not reloaded on the page change, we can’t detect when a user moves from one URL to another. As a result, we don’t know when exactly to show a specific campaign to them. Therefore, once all standard integration steps are completed, there’s one additional step needed to integrate with SPA:


  1. Whenever a user navigates to a different page, fire window._talkableq.push(['register_affiliate', {}]). Essentially, it’s firing this call on every push state or state change callback.

  2. Whenever a user gets to the checkout thank you page, fire the post-purchase script.


If it doesn’t sound like it is possible to do on your end, please contact our support team. We offer native SPA support in the latest integration versions.