Links

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

  • Add below code at end of your webpage <head> tag where demo is embedded
  • You should replace the "GA4-MEASUREMENT-ID" with your measurement-id
<script measurement-id="GA4-MEASUREMENT-ID"
src="https://js.storylane.io/js/v1/storylane.js"></script>

Custom Events

Below are the custom events sent to GA from Storylane
Demo opened - sent when 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 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 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 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": "[email protected]",
"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"
}

How can I verify ?

You can install Google Tag Assistant to test the events coming from your page
Last modified 2h ago