Marketing and reputation

Google Analytics 4 for law firm websites

Set up GA4 to count enquiries, calls and bookings on a solicitors website: an event plan, setup steps, PECR cookie rules and what never to send to GA4.

Ava research teamPublished 7 min read

On this page
  1. What GA4 should tell a solicitors firm
  2. An event plan for a law firm website
  3. Setting it up step by step
  4. Cookies, consent and PECR
  5. What never to send to GA4
  6. Connecting web data to real enquiries
  7. Monthly GA4 review in fifteen minutes
  8. Frequently asked questions
  9. References

Key takeaways

  • Out of the box, GA4 counts page views and sessions; it does not know what an enquiry is until you define key events for forms, calls and bookings.
  • Before choosing a main adviser, 25% of people searched around and 14% looked for reviews, so service, price and review pages deserve their own tracking[1].
  • PECR now has a narrow exception for statistical cookies, but only if the data is not shared beyond helping improve the site and users can object; many GA4 setups will still need consent[2].
  • Never send names, email addresses, phone numbers or matter details into GA4 through URLs, form fields or event parameters.
  • 63% of consumers first learn the price in a conversation, so connect GA4 with call tracking and your enquiry log to see the whole journey[3].

What GA4 should tell a solicitors firm

Most law firm websites have Google Analytics installed and almost nobody looks at it. The reason is usually that the reports answer questions nobody asked: how many sessions, which browser, what bounce rate. A partner wants to know three things. How many enquiries did the website produce this month? Which pages and channels produced them? And where do visitors give up before getting in touch?

GA4 can answer all three, but only after you tell it what counts as an enquiry. It is built around events: every page view, click and form submission is an event, and you choose which ones matter enough to mark as key events. For a solicitors firm, a short list is enough: completed contact forms, clicks on phone numbers, completed consultation bookings, and perhaps document uploads or chat conversations.

People research before they contact a firm. When choosing a main adviser for a contentious issue, 25% of people searched around, 15% obtained details of the service, 14% searched for reviews and 13% searched for prices[1]. Those behaviours map directly to pages on your site, and GA4 can show which of them precede an enquiry.

What people did when choosing a main adviser for a contentious issueLegal Services Board, Legal Needs Survey 2023
What people did when choosing a main adviser for a contentious issueBar chart. Searched around: 25%; Obtained details of the service: 15%; Searched for reviews: 14%; Searched for prices: 13%.Searched aroundSearched around: 25%25%Obtained details of the serviceObtained details of the service: 15%15%Searched for reviewsSearched for reviews: 14%14%Searched for pricesSearched for prices: 13%13%What people did when choosing a main adviser for a contentious issueBar chart. Searched around: 25%; Obtained details of the service: 15%; Searched for reviews: 14%; Searched for prices: 13%.Searched aroundSearched around: 25%25%Obtained details of the serviceObtained details of the service: 15%15%Searched for reviewsSearched for reviews: 14%14%Searched for pricesSearched for prices: 13%13%

Source: Legal Services Board, 2024[1]

Show the data
ItemValue
Searched around25%
Obtained details of the service15%
Searched for reviews14%
Searched for prices13%

An event plan for a law firm website

A starting event plan for a solicitors website in GA4
EventWhen it firesKey event?Why it matters
enquiry_form_submitConfirmation shown after a contact form is sent successfullyYesCore measure of web enquiries
phone_clickA visitor taps a tel: linkYesMost mobile enquiries start with a tap to call
booking_completeConsultation booking confirmedYesClosest web signal to an instruction
price_page_viewView of a published price and service pageNoShows price research before enquiry
document_uploadClient portal or form upload completedOptionalShows serious, prepared enquirers
email_clickA visitor clicks a mailto: linkOptionalCaptures enquiries that bypass forms
review_link_clickClick to your reviews profileNoShows trust-checking behaviour

Fire form events on a genuine success signal, such as the confirmation message or a thank-you page, not on the click of the submit button. Button clicks also count failed submissions, which inflates enquiries. Name events consistently in lower case with underscores, and write the list down so whoever manages the site next year knows what each one means.

Setting it up step by step

  1. Check the property and data stream

    Confirm the firm owns the GA4 property (not an agency or former employee), that at least two partners or managers have admin access, and that the web data stream points to the live domain.

  2. Extend data retention

    In the property's data settings, set retention to the longest option available so you can compare year on year.

  3. Filter internal traffic

    Define your office IP addresses as internal traffic and activate the filter, so staff checking the site do not distort the figures.

  4. Create the events

    Use Google Tag Manager or your website platform's integration to send the events in your plan. Test each one in GA4's DebugView before marking it as a key event.

  5. Mark key events

    Mark only the enquiry-level events as key events. Too many key events make the reports meaningless.

  6. Tag your campaigns

    Add UTM parameters to links in emails, newsletters, social posts and printed QR codes, so each appears as its own source rather than as direct traffic.

  7. Build two simple reports

    One showing key events by channel each month, and one showing key events by landing page. These answer most partner questions.

If your booking page or client portal sits on a different domain, set up cross-domain measurement, or every booking will appear to come from the booking provider rather than from your marketing.

Regulation 6 of the Privacy and Electronic Communications Regulations generally prohibits storing or accessing information on a user's device without consent. The Data (Use and Access) Act 2025 added new exceptions in a new Schedule A1, including one for collecting statistical information about how an online service is used, with a view to improving it[4].

The statistical exception has conditions. The sole purpose must be collecting statistics to improve the service or website, the information must not be shared with anyone except to help make those improvements, users must get clear and comprehensive information about the purpose, and they must be given a simple, free means of objecting[2]. A GA4 setup linked to advertising, with Google signals switched on or data used beyond improving your own site, is unlikely to fit. Many firms will therefore keep a consent banner for analytics, or configure a minimal setup and take advice before relying on the exception.

  • Document which cookies and tags the site uses and why.
  • If relying on consent, make 'reject' as easy as 'accept' and do not load analytics before a choice is made.
  • If relying on the statistical exception, record why each condition is met and provide an easy opt-out.
  • Review the setup whenever an agency adds a new tag or advertising platform.

What never to send to GA4

Analytics data is shared with a third party and is not the place for client information. Solicitors owe clients a duty of confidentiality that starts at enquiry, and prospective clients often describe sensitive matters in web forms. Check that none of the following reaches GA4:

  • Names, email addresses or phone numbers in page URLs, for example on a thank-you page that echoes form fields.
  • Free-text form content captured as event parameters.
  • Matter types combined with personal details, such as 'divorce enquiry from' followed by a name.
  • Search terms typed into your site search that contain personal details.
  • Client portal pages that reveal matter references in the URL.

A quick test: submit a test enquiry with an obviously fake name, then search GA4's real-time and DebugView reports for that name. If it appears anywhere, fix the setup before going further.

Connecting web data to real enquiries

GA4 sees only part of the journey. 63% of legal services consumers first found out the price of their service through a discussion with the provider[3], so many web visits end in a phone call that GA4 records, at best, as a click on a number. And 69% of consumers took a week or less to choose a provider[3], so a visit, a call and a consultation can all happen within days.

Close the gap with your enquiry log. Record the source of every enquiry at intake, use tracked phone numbers for major campaigns, and once a month compare GA4's key events with the enquiries your team actually logged. Large gaps usually mean a broken tag, duplicate firing or calls that bypass the website entirely.

Example (fictional): a firm's GA4 shows 40 form submissions in a month, but reception logged only 25 web form enquiries. Investigation shows the event fires on every submit click, including failed attempts and spam. Moving the trigger to the confirmation message brings the two numbers within a few of each other.

Be careful about the conclusions you draw. Analytics rewards whatever is easiest to measure, which tempts firms to push every visitor towards online forms and booking widgets. Clients are more mixed in their views: 69% of consumers agreed digital legal services would make legal services more accessible, but 57% said digital-only access would make them trust providers less[5]. Use GA4 to make the website work better as a route to people, not as a replacement for them. If a page produces plenty of phone clicks and few form submissions, that is not a failing page; it is a page doing its job for visitors who would rather talk.

Monthly GA4 review in fifteen minutes

  1. Key events by channel: which sources produced enquiries, and how that compares with last month.
  2. Key events by landing page: which practice area pages bring in enquiries, and which bring traffic but none.
  3. Price and service page views: are visitors finding the published price information?
  4. Phone clicks on mobile versus desktop: is the number easy to tap on every page?
  5. A comparison with the enquiry log, noting any gap and its cause.

Feed the results into your wider return-on-marketing figures; our guide to measuring marketing ROI for solicitors shows how. Accurate analytics will not win clients on its own, but it stops you spending money on pages and campaigns that do not.

Frequently asked questions

Do we need cookie consent for GA4 on a law firm website?

Possibly not if your setup meets every condition of the new PECR statistical exception, including no sharing beyond site improvement and an easy way to object. Many GA4 setups, especially those linked to advertising, will not meet them, so consent remains the safer default unless you have taken advice.

What should count as a conversion for a solicitors firm?

Successful contact form submissions, taps on the phone number and completed consultation bookings. Page views of price or service pages are useful signals but should not be key events.

Why do GA4 enquiry numbers not match our enquiry log?

Common causes are events firing on submit clicks rather than confirmations, spam submissions, internal traffic and phone calls that never touched the website. Compare the two monthly and fix the largest gap first.

Can GA4 track phone calls?

It can track taps on a phone link. It cannot see calls dialled from a printed number or a search result, so combine it with tracked numbers and a source question at intake.

References

  1. Legal Services Board (2024). Legal Needs Survey 2023: Summary report (opens in a new tab) ↑

  2. legislation.gov.uk (The National Archives) (2025). The Privacy and Electronic Communications (EC Directive) Regulations 2003, Schedule A1 (opens in a new tab) ↑

  3. Legal Services Consumer Panel (2026). How consumers are choosing legal services (Tracker Survey 2026) (opens in a new tab) ↑

  4. GOV.UK (DSIT) (2025). Data (Use and Access) Act factsheet: PEC Regulations (opens in a new tab) ↑

  5. Legal Services Consumer Panel (2026). How consumers are using legal services (Tracker Survey 2026) (opens in a new tab) ↑

Book a demo

See Ava handle your calls.

Book a short demo. We’ll walk through your calls and workflow, and agree what Ava should take care of.

Book a demo