NEW: Heap for mobile. Track every interaction, on every platform.

Learn more
skip to content
Loading...
    • The Digital Insights Platform Transform your digital experience
    • How Heap Works A video guide
    • How Heap Compares Heap vs. competitors
    • The Future of Insights A comic book guide
  • Data Insights

    • Session Replay Complete context with a single click
    • Illuminate Data science that pinpoints unknown friction
    • Journeys Visual maps of all user flows

    Data Analysis

    • Segments User cohorts for actionable insights
    • Dashboards Share insights on critical metrics
    • Charts Analyze everything about your users
    • Playbooks Plug-and-play templates and analyses

    Data Foundation

    • Capture Automatic event tracking and apis
    • Mobile Track and analyze your users across devices
    • Enrichment Add context to your data
    • Integrations Connect bi-directionally to other tools

    Data Management

    • Governance Keep data clean and trusted
    • Security & Privacy Security and compliance made simple
    • Infrastructure How we build for scale
    • Heap Connect Send Heap data directly to your warehouse
  • Solutions

    • Funnel Optimization Improve conversion in user flows
    • Product Adoption Maximize adoption across your site
    • User Behavior Understand what your users do
    • Product Led Growth Manage PLG with data

    Industries

    • SaaS Easily improve acquisition, retention, and expansion
    • eCommerce Increase purchases and order value
    • Financial Services Raise share of wallet and LTV

    Heap For Teams

    • Product Teams Optimize product activation, conversion and retention
    • Marketing Teams Optimize acquisition performance and costs
    • Data Teams Optimize behavioral data without code
  • Pricing
  • Support

    • Heap University Video Tutorials
    • Help Center How to use Heap
    • Heap Plays Tactical how-to guides
    • Heap Updates
    • Professional Services

    Resources

    • Blog A community for digital builders
    • Content Library Ebooks, whitepapers, videos, guides
    • Press News from and about Heap
    • Webinars & Events Virtual and live events
    • Careers Join us

    Ecosystem

    • Customer Community Join the conversation
    • Partners Technology and Solutions Partners
    • Developers
    • Customers Over 8,000 successful companies
  • Free TrialRequest Demo
  • Log In
  • Free Trial
  • Request Demo
  • Log In

All Blogs

Product Insights

Keep Calm and Track On: Why Heap's Script Won't Slow Down Your Site

Dan Robinson
February 16, 20212 min read
  • Facebook
  • Twitter
  • LinkedIn
Keep Calm and Track On: Why Heap's Script Won't Slow Down Your Site

Anyone who uses the internet has seen bad site performance. Whether it’s a page that flickers from lagging A/B tests or one that takes forever to load in the first place, it’s an easy way to ensure that new visitors to your site don’t come back.

So it’s a good idea to do your due diligence when installing new scripts on your site to make sure the elements you’re adding will play well with everything else. The good news is that Heap’s autocapture tracking script won’t slow down your site.

Read on for details.

Why install the Heap script?

First things first: why should you even install the Heap script? Because that single snippet collects all behavioral data automatically (and retroactively!) from the moment it’s inserted into your site header. This means you can go back in time and analyze insights from past customer events that you weren’t even thinking about before. 

Heap’s small but mighty script puts all event activity at your fingertips — every click, swipe, form fill, pageview, and more. No need to decide in advance what to track. No need for engineers to instrument each behavior you want to analyze.

With other tools, answering your questions can take months. With all of your data captured automatically, you can ask anything because you have everything.

Plus, autocapture allows the data to speak for itself. That way, you’re able to keep yourself open to learning new things, and seeing them before other people can. A full data set provides complete and predictive insight.

Capture everything without slowing down anything

But wait, won’t collecting all of that behavioral data affect your website’s performance? The short answer: nope! The longer answer: still nope!

Heap’s script is loaded asynchronously, so heap.js won’t impact initial page load times. With asynchronous loading, your site can render multiple elements at the same time, instead of stopping to load each time it encounters another script.

Once the page is loaded, Heap minimally impacts page performance since it never touches the UI. That means it never triggers a re-render. Plus, Heap never makes any blocking network requests, and the network requests that it does make will never exceed 4kb.

Google Analytics’ script — which is installed on half the web — works the same way, without any impact on load time. At only a quarter of the size (less than 50kb) of GA’s script, Heap’s script is hosted on Amazon AWS Cloudfront, a global CDN, which allows for extremely fast load times.

Finally, none of our customers have experienced site performance impact from installing Heap’s code snippet. Instead, they got all of their users’ behavioral data captured automatically without having to tag every event.

TLDR

Heap’s script won’t slow down your website. Capturing all event activity without degrading performance is as simple as inserting a single line of code into your site header. It won’t slow down your site, but it will speed up your team.

Have more questions? Reach out to our team via support@heap.io.

Want to try out Heap’s script for yourself?

Installing Heap is simple. All you need to do is insert a single code snippet into your site header. Then sit back and watch the data roll in.

Give our script a spin on your site to see how easily you can get started analyzing your customer data. Start your free trial here with Heap today!

Dan Robinson

Was this helpful?
PreviousNext

Related Stories

See All

  • Google Analytics 4

    Product Insights

    Google Analytics 4: What it promises, and what that really means

    April 28, 2022

  • Heap.io

    How to

    The 3 key first steps to improving CRO

    March 29, 2023

  • Heap.io

    Data Stories

    Celebrating H&R Block as the inaugural winner of the Digital Innovator Award

    March 22, 2023

Subscribe

Sign up to stay on top of the latest posts.

Better insights. Faster.

Request Demo
  • Platform
  • Capture
  • Enrichment
  • Integrations
  • Governance
  • Security & Privacy
  • Infrastructure
  • Illuminate
  • Segments
  • Charts
  • Dashboards
  • Playbooks
  • Use Cases
  • Funnel Optimization
  • Product Adoption
  • User Behavior
  • Product Led Growth
  • Customer 360
  • SaaS
  • eCommerce
  • Financial Services
  • Why Heap
  • The Digital Insights Platform
  • How Heap Works
  • How Heap Compares
  • The Future of Insights
  • Resources
  • Blog
  • Content Library
  • Events
  • Topics
  • Heap University
  • Community
  • Professional Services
  • Company
  • About
  • Partners
  • Press
  • Careers
  • Customers
  • Support
  • Request Demo
  • Help Center
  • Contact Us
  • Pricing
  • Social
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube

© 2023 Heap Inc. All Rights Reserved.

  • Legal
  • Privacy Policy
  • Status
  • Trust