User exit points analysis on website

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

User Exit Points Analysis on Website

Exit Points are pages or elements after which users leave the site. Exit Rate differs from Bounce Rate: bounce—left on first page without interaction, exit—left on any page after visiting several.

GA4 Exit Rate Analysis

-- BigQuery: top pages by exit rate
WITH page_views AS (
  SELECT
    user_pseudo_id,
    session_id,
    event_name,
    page_location,
    event_timestamp,
    LEAD(event_name) OVER (
      PARTITION BY user_pseudo_id, session_id
      ORDER BY event_timestamp
    ) AS next_event
  FROM `project.analytics.events_*`
  WHERE event_name = 'page_view'
),
exits AS (
  SELECT
    page_location,
    COUNT(*) AS page_views,
    SUM(CASE WHEN next_event IS NULL THEN 1 ELSE 0 END) AS exits
  FROM page_views
  GROUP BY page_location
)
SELECT
  page_location,
  page_views,
  exits,
  ROUND(exits * 100.0 / page_views, 1) AS exit_rate
FROM exits
WHERE page_views > 100
ORDER BY exit_rate DESC
LIMIT 50;

Normal vs Anomalous Exits

Not every high exit rate is a problem:

  • /thank-you — 95% exit rate = normal (conversion completed)
  • /contacts — 70% exit rate = normal (user found contacts)
  • /checkout/step-2 — 60% exit rate = problem (abandoned checkout)
  • /pricing — 50% exit rate = needs analysis
def classify_exit_pages(pages_with_exit_rate):
    for page in pages_with_exit_rate:
        # Normal end pages
        if any(p in page['url'] for p in ['thank-you', 'success', 'confirmation']):
            page['exit_expected'] = True
        # Content pages needing analysis
        elif page['exit_rate'] > 40 and page['is_funnel_page']:
            page['exit_priority'] = 'HIGH'
        else:
            page['exit_expected'] = False

Session Recordings on Exit Pages

// Hotjar/Clarity: filter by exit on specific pages
// Dashboard: Recordings → Filter: Exit page = /checkout

// Microsoft Clarity API for programmatic analysis
fetch('https://api.clarity.ms/export/1.0/sessions', {
  method: 'POST',
  headers: { Authorization: `Bearer ${token}` },
  body: JSON.stringify({
    projectId: 'xxx',
    filters: [{
      field: 'exitPage',
      operator: 'contains',
      value: '/checkout'
    }],
    startDate: '2024-03-01',
    endDate: '2024-03-31'
  })
})

Scroll Depth on Exit Pages

// Track scroll depth on exit
let maxScroll = 0
let lastScrollTime = Date.now()

window.addEventListener('scroll', () => {
  const scrollPercent = Math.round(
    (window.scrollY / (document.body.scrollHeight - window.innerHeight)) * 100
  )
  maxScroll = Math.max(maxScroll, scrollPercent)
  lastScrollTime = Date.now()
})

window.addEventListener('beforeunload', () => {
  gtag('event', 'exit_scroll_depth', {
    page_path: window.location.pathname,
    max_scroll_percent: maxScroll,
    time_on_page: Math.round((Date.now() - pageLoadTime) / 1000)
  })
})

Exit Intent Popup

To retain users about to leave:

let exitIntentShown = false

document.addEventListener('mouseleave', (e) => {
  if (e.clientY <= 0 && !exitIntentShown) {
    exitIntentShown = true
    showExitPopup()

    gtag('event', 'exit_intent_triggered', {
      page_path: window.location.pathname
    })
  }
})

function showExitPopup() {
  document.getElementById('exit-popup').classList.remove('hidden')
}

User Path Before Exit

-- What users visited before exiting from /checkout
SELECT
  prev_page,
  COUNT(*) as sessions,
  ROUND(COUNT(*) * 100.0 / SUM(COUNT(*)) OVER(), 1) AS pct
FROM (
  SELECT
    page_location as exit_page,
    LAG(page_location) OVER (
      PARTITION BY user_pseudo_id, session_id
      ORDER BY event_timestamp
    ) AS prev_page
  FROM page_views
  WHERE page_location LIKE '%/checkout%'
)
WHERE exit_page IS NOT NULL AND prev_page IS NOT NULL
GROUP BY prev_page
ORDER BY sessions DESC
LIMIT 20;

Timeline

Exit points analysis with segmentation and recommendations: 2-3 business days.