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

  1. Navigate to your organization settings (Organization > Settings) and select "Tracking."
  2. Click “Add Tracker” and enter a name and description.
  3. Add the JavaScript SDK (edgewise.js) to your website.
  4. 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>