Google Analytics

Integrate in a few clicks and send demo analytics to GA

You can send demo analytics as custom events to your GA Account with Google Analytics integration.

How to Integrate

  • Go to the integrations page in the Storylane Dashboard.

  • Navigate to the Google Analytics integration, and click 'Connect'

  • Enter your Google Analytics measurement ID in the field (see the screenshot below)

  • Once finished, the status will change to 'Connected'

  • If you want to make any change to the GA measurement ID, or uninstall the integration, just click on the settings icon.

If you've integrated Google Analytics already in the past, and want to move over, please do the following:

  • Remove the v1/analytics.js

  • Remove the v1/storylane.js

  • Then go through the GA integration on the Integration page by entering Measurement ID

  • Copy over the new embed code with v2/storylane.js

Verify the Integration

You can install Google Tag Assistant to test and verify the events coming from your page.

Custom Events

Below are the custom events sent to GA from Storylane

Demo opened - sent when the demo is opened

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

Step viewed - sent when flow step in the guide is viewed

{
  "name": "sl_step_view",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "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 the flow is started

{
  "name": "sl_flow_start",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "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_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 a lead is captured or identified

{
  "name": "sl_lead_identify",
  "params": {
    "demo_id": "xxxxx-363b-4d39-9ecc-87c4b6212a42",
    "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_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_url": "http://app.storylane.io/share/xxxxxxx"
  },
  "timestamp_micros": "1664291560202000"
}

Last updated