Google Analytics

Send demo analytics to GA

With Google Analytics integration, you can send demo analytics as custom events to your GA Account.

How to Integrate

  • You'll first need to obtain your "Measurement ID" and "API secret". Below is a demo showing you how to get these from Google Analytics

  • Share the info of "Measurement ID" and "API secret" to support so it can be enabled for your account

  • Once GA is enabled, you will start receiving below events when user engages with demo

Custom Events

Demo opened - sent when demo is opened

{ 
  "name": "sl_demo_open",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx"
  },
  "timestamp_micros": "1664291507089000"
}

Step viewed - sent when flow step in guide is viewed

{
  "name": "sl_step_view",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx",
    "step_id": "xxxxx-61c3-44cb-8ad9-0c2c24cf18c0",
    "flow_id": "xxxxx-e7ef-4687-a88e-91630da34d89",
    "flow_name": "Flow 1"
  },
  "timestamp_micros": "1664291511150000"
}

Flow started - sent when flow is started

{
  "name": "sl_flow_start",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx",
    "flow_id": "xxxxx-e7ef-4687-a88e-91630da34d89",
    "flow_name": "Flow 1"
  },
  "timestamp_micros": "1664291510912999"
}

Flow ended - sent when flow ends

{
  "name": "sl_flow_end",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx",
    "flow_id": "xxxxx-e7ef-4687-a88e-91630da34d89",
    "flow_name": "Flow 1"
  },
  "timestamp_micros": "1664291553205000"
}

Lead captured - sent when lead is captured or identified

{
  "name": "sl_lead_identify",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx",
    "lead_id": "xxxxx-3fac-4fa9-9160-cdb9a94ced74",
    "lead_email": "peter@acme.io",
    "lead_first_name": "Peter",
    "lead_last_name": "Josh",
    "lead_company": "Acme"
  },
  "timestamp_micros": "1664291550241000"
}

CTA opened - sent when CTA is clicked by user

{
  "name": "sl_cta_click",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx",
    "cta_url": "http://calendly.com/nalins/30min-1-1"
  },
  "timestamp_micros": "1664291554523000"
}

Checklist completed - sent when all flows are opened by the user

{
  "name": "sl_checklist_complete",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "demo_name": "Acme Demo #1",
    "demo_url": "http://app.storylane.io/share/xxxxxxx"
  },
  "timestamp_micros": "1664291560202000"
}

Last updated

#78: Luka's May 5 changes

Change request updated