Skip to content
Tips & tricks

How many visitors view your site when you are closed?

How many prospects view your site in the evening, at the weekend or over the lunch break, at the very moment when nobody is available to answer them? Find out how to isolate these out-of-hours visits in Google Analytics with a few simple filters.

Alexis Neve 3 min read

Why measure out-of-hours traffic?

It is a common blind spot for many professionals: your website keeps receiving traffic while your premises are closed. Whether in the evening, at the weekend or over the lunch break, visitors look for your hours, your prices or a way to contact you. That is the very moment they choose: "I'll wait until tomorrow or look elsewhere?".

This analysis is particularly crucial for service and healthcare businesses with fixed hours (physiotherapists, hair or beauty salons, private practices, therapists, craftspeople). For these businesses, every visit recorded outside opening hours is a potentially missed appointment.

Isolate out-of-hours visits in Google Analytics

GA4 automatically records the date and time of each session. No change in Google Tag Manager is needed: a simple custom exploration is enough, provided your schedule is regular.

Reference example: a practice open Monday to Friday, from 8:00 to 18:00 and closed at the weekend.

Step 1: Check the property time zone

In GA4, go to Admin > Property details and check the Reporting time zone. It must match your business's time zone, because GA4 relies on this setting to timestamp visits.

Step 2: Create the exploration

Open the Explore menu, create a Free form report and add the following items:

  • Dimensions: Hour, Day of week
  • Metrics: Sessions

Step 3: Filter the closed hours on weekdays

In your first exploration tab, apply the following filters:

  1. Day of week: select the option matches regular expression with the value [1-5] (where 1 is Monday and 5 is Friday).
  2. Hour: select matches regular expression with the value 0[0-7]|1[89]|2[0-3].

This filter isolates the sessions recorded before 8:00 and from 18:00 on weekdays.

Step 4: Filter the weekend

Create a second tab in your exploration for the weekend:

  • Day of week: apply a filter matching the regular expression 0|6 (0 for Sunday and 6 for Saturday), with no hour restriction.

(Note: if you are open on Saturday morning, apply a specific hour filter on this second table).

Step 5: Calculate your out-of-hours traffic share

Add up the number of sessions from the 2 tables to get the total of your out-of-hours visits. To get their relative proportion, divide this amount by the total number of sessions on the site over the same period.

What if your hours vary from day to day?

If your schedule includes a lunch break, a late evening or different opening slots depending on the day, the regex filter logic becomes complex.

In this case, the best approach is to import a CSV file into GA4 that maps each Day / Hour pair to an open or closed status. This mapping creates a dedicated custom dimension, letting you isolate all your out-of-hours traffic with a single filter!

How to use this data?

  • Offer online appointment booking: if a share of visits is concentrated in the evening, adding a booking tool available 24 hours a day lets you convert this attention into a confirmed appointment immediately.
  • Display a reassurance message: near your contact forms or your phone number, clearly state your usual response times during closing hours.
  • Show your live status: add a dynamic indicator at the top of your contact pages showing your hours and whether you are currently open or closed.
  • Adjust your opening slots: assess whether to add a Saturday morning duty, for example, or to widen your hours, based on the real volume of traffic observed in those slots.

Tools

  • Google Analytics 4: free form explorations, property details.

Turning GA4 data into profitable decisions with my dashboards expertise.

Ready to take action?

Tell me about your site and your Ads platforms: you get a clear answer within 48 hours.

Get a quote