Website Event / View Tracking
Edgewise has its own tracking library; which integrates with non-Edgewise websites. Edgewise tracking allows you track page views as well as arbitrary into a single analytics dashboard.
Using the Edgewise JS SDK
- Navigate to your organization settings (Organization > Settings) and select "Tracking."
- Click “Add Tracker” and enter a name and description.
- Add the JavaScript SDK (
edgewise.js
) to your website. - Initialize the SDK with your tracking ID.
<script src="https://libs.edgewise.cloud/edgewise.js@1"></script>
<script>
const edgewise = Edgewise()
console.log("edgewise.js version", edgewise.version)
edgewise.analytics.init('<YOUR_TRACKER_ID_GOES_HERE>')
edgewise.analytics.push('PageView')
</script>