It’s happening! Demo Dundies is back with Season 2 🚀
Nominate your best demos
Storylane Docs
LoginStart free
  • Storylane Knowledge Base
  • Storylane Playbooks
  • Product Updates
  • Customer Showcase
  • 👋Welcome to Storylane
  • 🚀Quick Start Guide
  • 📸RECORDING DEMOS
    • HTML Demo
    • Screenshot Demo
    • Other Recording Options
  • 💻EDITING DEMOS
    • Editing HTML Screens
    • Editing Screenshot Screens
    • Guided Steps
      • Video Clips
      • Video Overlays & Voiceovers
    • Chapters & Product Tour
    • Personalization
    • Demo Settings
  • 🎊SHARING DEMOS
    • Embed
    • Share Link
      • Share via Extension
      • Share via Gmail Plugin
      • Share via HubSpot
      • Share via Salesforce
    • Socials and Email Campaigns
    • Conference Mode
    • Exports & Downloads
    • Demo protection and security
  • 🌟AI Suite
    • Meet Lily Sales Agent
    • Create Demos with AI 🚀
      • Create & Improve with AI
      • AI Video Avatars
      • AI Voiceovers
      • AI HTML Editor
      • AI Translation
  • 🌐BUYER HUB
    • Buyer Hub Overview
    • Buyer Hub Configuration
    • Buyer Hub Analytics
  • 🖱️Sandbox Demo
    • Sandbox Configuration
  • 📈ANALYTICS
    • Capture Leads
    • Lead Attribution
    • Tracking and Analyzing
      • Analyzing Demo Performance
    • Account-Level Insights
    • Viewer Data Enrichment
  • 🔗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 Tag Manager
      • Google Analytics
      • Gmail
      • Segment
      • Intercom
      • Clearbit
      • SourceForge
      • G2
      • Webhooks
      • Cross-Frame Events
      • External API
  • 🤓Account
    • Managing Demos
    • Managing Team
    • Branding
      • Custom Theme
      • Custom Domain
  • 🔒Trust and Security
    • 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?
      • Why is part of my demo cut off?
      • How to add or subtract a Date & Time token?
      • 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. ANALYTICS

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.

  • How Lead Attribution Works

  • Installing the Script

  • The Essentials for Setup

  • Manual Sync


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. 🎉

PreviousCapture LeadsNextTracking and Analyzing

Last updated 7 months ago

📈