Storylane Docs
PRODUCT RELEASESPLAYBOOKS
  • 👋Welcome to Storylane
  • 📚Storylane Playbooks
  • 🚀Quick Start Guide
    • Planning your Demo
  • ⭐Demo Type Examples
  • 📸RECORDING DEMOS
    • Recording - Overview
    • HTML Demo
    • Screenshot Demo
    • Mobile Demo
  • 💻EDITING DEMOS
    • Guides & Chapters
      • Adding Guided Steps
        • Adding Video Clips
        • Editing Video Clips
      • Customizing Steps
      • AI Assist
      • Chapters & Product Tour
    • Editing Screens
      • Cover, Fit, and Fill
    • Personalization
      • Personalize from Lead Form
      • Personalize from URL params
    • Sandbox Demo
      • Presenter Notes
    • Videos & Voiceovers
    • Demo Settings
      • Convert CTA Button
  • 🎊SHARING DEMOS
    • Sharing - Overview
    • Embed
    • Share Link
    • Via Email Campaigns
      • Share via Gmail Plugin
    • Socials
    • Download
    • Link Security
    • Conference Mode
  • 🌟Lily AI
    • Overview: Meet Lily
    • Lily For Demo Creation 🚀
      • Create & Improve with AI
      • AI Video Avatars
      • AI Voiceovers
      • AI HTML Editor
    • Coming Soon: Lily for Buyer Discovery 🔍
  • 🌐DEMO HUB
    • Demo Hub Overview
    • Demo Hub Configuration
    • Demo Hub Analytics
  • 📈TRACKING AND ANALYSING
    • Lead Capturing
    • Lead Attribution
    • UTM Tracking
    • Account-Level Insights
    • Viewer Data Enrichment
    • Usage Tracking
      • Analyzing Demo Performance
  • 🔗Integrations
    • Integrations
      • HubSpot
        • HubSpot Lead Forms
        • Hubspot Integration Features
        • Hubspot Website Embeds
        • Storylane App for HubSpot
        • Matching HubSpot Tokens to Storylane Tokens
      • Marketo
        • Marketo Lead Forms
      • Pardot
        • Custom Pardot Form
      • Salesforce
        • Storylane App for Salesforce
      • Slack
      • FreshSales
      • Dynamics 365
      • Zapier
      • Google Analytics
      • Gmail
      • Segment
      • Intercom
      • Clearbit
      • SourceForge
      • G2
      • Webhooks
      • Cross-Frame Events
      • External API
  • 🤓Account
    • Managing Demos
    • Managing Team
    • Branding
      • Custom Theme
      • Custom Domain
    • GDPR Compliance
    • SSO
    • FAQs
      • How and Why to use Cookie Tracking?
      • How to capture HTML screens from multiple tabs?
      • How to edit the background of a screen with a pop-up?
      • How to copy a chapter to a demo?
      • How to add pop-up message for non-clickable elements?
      • How to Add/Embed a Storylane Demo in a Zendesk Article
      • Customizing and Tracking Demo URL Links
      • How to combine Desktop and Mobile captures?
      • If I Cancel My Subscription, What Happens To My Demos?
      • What accessibility standards do you support?
      • How to add or subtract a Date & Time token?
      • Why is part of my screen cut off in a demo?
      • How to Install & Connect Storylane via HubSpot Marketplace?
      • How do I send data to 6Sense?
      • Lead Attribution Tracking?
      • How to record a video avatar?
      • How to rearrange folders?
      • Do I need to update my cookie policy if I use Storylane?
      • Is it possible to connect a LinkedIn tracking pixel to Storylane?
Powered by GitBook
On this page
  • How Lead Attribution Works
  • How to Install the Storylane JavaScript Code
  • The Essentials for Lead Attribution
  • Manual Sync: A Safety Net
  1. TRACKING AND ANALYSING

Lead Attribution

Here’s your go-to guide for understanding how lead attribution works at Storylane and how we make it easy to track a visitor's journey from anonymous viewers to engaged leads.

PreviousLead CapturingNextUTM Tracking

Last updated 6 months ago


How Lead Attribution Works

  1. First Visit: Unknown Lead A visitor lands on your site but hasn’t shared their email, so they’re still anonymous.

  2. Demo Time: Staying Anonymous The visitor explores a Storylane demo without filling out a form—no email yet, so still unrecognized.

  3. Form Filled: They’re In The visitor eventually fills out a form on the website (with Storylane JS embeded). Now, Storylane can link their email to past demo interactions.

  4. Lead Linking Magic Boom! Storylane matches the email with previous demo actions, giving us a full picture of their journey and interest level (+ all future interactions)!

For automatic lead attribution to work, Storylane JS must be installed on every page of the website. Without this, we can’t detect those form submissions or link demo activity back to leads.


How to Install the Storylane JavaScript Code

Add this code snippet to the <head> section on every page to power up lead tracking:

<script>
  (function() {
    "use strict";
    function e(t) {
      var r = t.head;
      if (!r) return;
      var i = t.querySelector('script[src="https://js.storylane.io/js/v2/storylane.js"]'),
          n = t.querySelector('script[src="https://js.storylane.io/js/v1/storylane.js"]');
      if (i || n) return;
      var s = t.createElement("script");
      s.type = "text/javascript", s.async = !0, s.src = "https://js.storylane.io/js/v2/storylane.js",
      r.appendChild(s);
    }
    e(window.document);
  })();
</script>

The Essentials for Lead Attribution

To keep everything smooth and automatic:


Manual Sync: A Safety Net

If the Storylane JS code isn’t on all website pages, no worries! We can do a manual sync to link lead data. Here’s how:

  • Sync Timeframe: We can go back up to a few months.

  • Lead Linking: If there’s a record in both Storylane and the CRM, we’ll make sure they’re connected.

To start a manual sync, just email support at support@storylane.io


Follow these steps to keep lead tracking smooth and accurate. For questions or support, reach out to our team anytime. 🎉

📈
How Lead Attribution Works
Installing the Script
The Essentials for Setup
Manual Sync