Waymore.js Tracking Snippet
Install the Waymore.js snippet on your site and verify tracking with your workspace token.
Install Waymore.js on your website to track page views and custom events automatically.
Install the snippet
Add before </head> on every page:
<!-- Waymore web service script start -->
<script type="module">
!function (e) {
let t=document,a=window,o=t.createElement("link"),s=t.createElement("script"),r=t.body,i=t.head;
o.type="text/css";o.rel="stylesheet";o.href="https://cdn0.routee.net/sdk/dist/latest/waymore.min.css";
i.appendChild(o);s.src="https://cdn0.routee.net/sdk/dist/latest/waymore.min.js";i.appendChild(s);let p;
(p = a).addEventListener("load",()=>{
if("routee" in p)e(p);else{let tnc=0,iId=a.setInterval(()=>{
("routee" in p||tnc>20)&&(clearInterval(iId),e(p)),tnc++
},500)}
});
}(function (r) {
r.routee.initialize({ routeeToken: "$UUID_HERE" });
});
</script>
<!-- Waymore web service script stop -->Replace $UUID_HERE with your workspace token from Workspace → Analytics → Configure.

Verify installation
- Open workspace Analytics settings
- Click Test Integration
- Confirm events appear in the Waymore console
Next steps
- Track custom events with
waymore.track() - Identify users with
waymore.reveal() - Build segments from tracked behavior
Related
Updated about 1 month ago

