Is it possible to measure the number of visitors abandoning before website fully loads?

Is it possible to measure the number of visitors abandoning before website fully loads?

Let's start

Conceptually if it is, you’ll need to look into it using window.unload which fires when a user is about to leave the page and then keep track of whether page has fully loaded based on dom ready and window loaded events that have fired on the page.

Window.unload: window.unload is basically a jquery event handler. An unload event is sent to the window when a user navigates away from the page. Learn more about window.unload syntax and where to use.  

DOM .ready(): The .ready() method basically specifies a function to execute when the DOM is fully loaded. It specifies what happens when a ready event occurs. Jquery Api documentation provides more details about using this method.

window loaded events: The load event is sent to an element when it and all sub-elements have been completely loaded. This event can be sent to any element associated with a URL: images, scripts, frames, iframes, and the window object.

Are you looking for a top-notch Data Analytics team to enhance your business’s data-driven decision making? Reach out here or learn why hiring a customer analytics consultant is important for your business? If you want to know more about us, click here.

Share now

We are a customer-analytics consultancy that transforms messy data into actionable insights that will help you grow your company and make better data-backed decisions.

We're trusted by the best
Need something done?