Skip to content

Commit

Permalink
Add tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunlol committed Sep 8, 2024
1 parent 6596f09 commit 0819b29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/js/clientModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ if (ExecutionEnvironment.canUseDOM) {
})
}
})(document,"script");

// Koala tracking
!function(t){if(window.ko)return;window.ko=[],["identify","track","removeListeners","open","on","off","qualify","ready"].forEach(function(t){ko[t]=function(){var n=[].slice.call(arguments);return n.unshift(t),ko.push(n),ko}});var n=document.createElement("script");n.async=!0,n.setAttribute("src","https://cdn.getkoala.com/v1/pk_e3caa97254c50b34a600ed2277dd29336c65/sdk.js"),(document.body || document.head).appendChild(n)}();
}

export function onRouteDidUpdate() {
Expand Down

0 comments on commit 0819b29

Please sign in to comment.