Law firms · Marketing measurement and server-side tagging
Count consultation requests without sending a client's matter to an ad platform.
Marketing measurement for a law firm is the written list of what counts as a consultation request, the consent-aware tags that record it and the tests that show the record matches your register. GullySales defines each event with the partners, builds the tags, helps you decide whether a server container is worth keeping, and states in writing what the tracking cannot see.
Scope, fee, reporting and term are agreed in writing after we have read your brief and spoken to you.

What marketing measurement and server-side tagging means
Marketing measurement and server-side tagging is the written event list, the consent-aware tags and the tested conversion records behind your marketing reports. GullySales defines each event with you, builds the tags, adds a server container where it suits, tests against real submissions and states in writing what the tracking misses.
Also for law firms
- SEO for law firms
- Website design and development for law firms
- Local SEO for law firms
- Service page SEO for law firms
- Answer engine and AI search content writing for law firms
- AI answer citation correction and source optimisation for law firms
- AI search, answer engine and generative engine optimisation for law firms
- AI search visibility tracking for law firms
Sales and marketing for law firms, the overview.
Last updated 14 Nov 2026. Rules for this trade differ by state and professional body, and they change. We describe restrictions in general terms, so check the current position with your own council or adviser before you publish anything.
For law firms
Where it usually goes wrong, and what we would do.
“A form submission is not yet a consultation request”
Your contact form receives a vendor pitch, a student asking for an internship, a person who wants free advice on a matter in another city and, now and then, a founder holding a legal notice. The tag counts all of them as one conversion. Until the partners write down which of these is a real consultation request, the number in the report describes the form, not the practice, and nobody can use it to decide where to spend.
“The free-text box needs the greatest care on the site”
A person describing a dispute in the message field is telling you about a private matter. If a tag copies that field, the page title or a web address that carries the practice area and a name into an advertising account, the firm has moved confidential information to a third party without meaning to. Measurement for a law firm starts by deciding which values are never sent anywhere, and by testing that they are not.
“Paid search is narrow, so other channels need cleaner records”
Because legal advertising is restricted, much of your visibility comes from search results, directory profiles, published articles and referrals. Those sources reach the site as ordinary visits, and a loose setup lumps them together as direct traffic. A clear record of which practice-area page and which source preceded each consultation request is the nearest thing the firm has to a view of what its published work achieves.
“Calls and messages leave the site before anyone counts them”
A worried reader reads a practice-area page and taps the telephone number or the WhatsApp link, then the conversation moves to a phone at reception. The tag may record the tap, but the register records the consultation, and the two rarely agree. Without a rule for logging taps and a habit of noting the source at intake, the website looks as if it produced nothing, while the receptionist knows it produced something.
What we do
What we deliver for law firms.
The work available for this need. We agree the deliverables and responsibilities for your engagement in writing.
The consultation event list
A written list of every event the site records: form request, call tap, WhatsApp tap, booked consultation and engagement letter sent. Each has a plain definition approved by a partner and a reporting name that does not change when the site is redesigned. It replaces the unwritten rule that anything arriving through the contact form is an enquiry.
Result: Any partner can read the list and say what each number in a report means.
A consent and tag review note
A record of what fires on your pages today, with the consent banner accepted, refused and ignored. The note lists each tag, its owner and what it sends. Findings that touch privacy law go to your own adviser with the note attached, because deciding what the law requires of the firm is not ours to do.
Result: You hold a page-by-page list of tags and the choice that triggers each one.
A data filter for form and page values
Rules, built into the tag setup, that stop the message field, names, telephone numbers, email addresses and matter-specific web address parameters from reaching analytics or advertising accounts. Only the event name and the practice-area label are passed on. The rules are written out so a new web developer cannot undo them without knowing.
Result: A test submission containing a made-up name and matter never appears in any report.
Practice-area event naming
A naming pattern that ties each event to a practice area, such as tenancy, trademark or family, using the labels your pages already use. It lets the partners read consultation requests by practice area rather than by page address. Where two practice areas share a page, we agree which label wins and write the rule down.
Result: Reports show requests per practice area using the firm's own terms.
A test script and a test record
A step-by-step script for submitting dummy matters on phone and desktop, with and without consent, and the record of what each tool showed. It is run again after any redesign or banner change. The record notes which differences from your enquiry register are explained and which are still open.
Result: You can repeat the script after a site change and compare it with the stored record.
A statement of what the tracking cannot see
A short written list of the gaps: visitors who refuse consent, browsers that block tags, calls placed from a printed card and referrals that never touch the site. It also says whether a server container narrows any of them. The statement is there so that nobody reads a modest number as the whole of the firm's visibility.
Result: The partners know which part of their enquiries the figures leave out.
How the result is measured
- Conversions recorded for each agreed event, compared with your enquiry register
- Duplicate and failed submissions found by the test script
- Tags behaving as the consent map says, for each banner choice
Recorded as a baseline before work starts, so every later report has an honest comparison.
Who it is for
This is written for these law firms.
- Litigation and dispute resolution practices
- Corporate and M&A law firms
- Family law practices
- Intellectual property law firms
- Real estate and property law practices
- Tax and compliance law practices
- Boutique single-practice-area firms
Before you decide
Agree the work. Know how to judge it.
Marketing measurement and server-side tagging for law firms: use these checks to prepare, choose the scope, and review what changes.
Bring the right evidence
Bring the pages for the products or services you want to sell, the search queries available in your reports, and examples of enquiries from search. Separate branded searches from buyers discovering you for the first time.
Make the scope clear
Agree which pages and technical fixes come first, who can publish changes, and who supplies subject knowledge. Link search work to a relevant enquiry route on each priority page.
Check the work in use
Follow the trail from a relevant query to its landing page and then to an enquiry. Review whether those enquiries fit your offer, alongside indexing and search visibility.
Know when to change course
A ranking movement alone is not a buying signal. If traffic grows but relevant enquiries do not, revisit page intent and the offer before producing more pages.
These are discussion points, not a fixed package. GullySales confirms the deliverables, responsibilities, fee, and term in writing after reading your brief and speaking with you.
Before we start
What to have ready before the work starts.
The records, access and decisions this work needs from law firms. Anything missing is noted in the written scope, with who will supply it.
- An extract of your enquiry register
- The register, or a spreadsheet of consultation requests with the date, the source if noted and whether the person signed an engagement letter. We need it to see how the reports compare with what the firm actually recorded. Without it we can only test the tags, not the numbers they produce.
- User access to your accounts
- Analytics, tag management, any advertising account and the site's content system, each with a named user for us. The firm's own administrator grants it and can withdraw it. If access sits with a former web agency, finding the owner of the accounts comes first, because tags cannot be tested in accounts nobody controls.
- Consent banner and privacy notice text
- The current wording of the banner, the privacy notice and any engagement-letter clause that mentions website data. We compare the tags with what the firm tells visitors it does. If the text and the tags disagree, your adviser decides which gets changed, and we cannot finish the build until that choice is made.
- A list of forms, numbers and links
- Every contact form, telephone number, WhatsApp link, booking page and downloadable guide on the site and on any microsite or directory profile you control. A form nobody remembers still sends events. A missing number means we under-count, and the report will look quieter than the practice really is.
- One partner who decides what counts
- A named partner or practice manager with authority to say what a real consultation request is. Event definitions are business decisions, and a committee of opinions produces a list nobody trusts. If the decision is missing, we can draft options, but the tags wait until someone chooses.
How it works
How the marketing measurement and server-side tagging work runs
The work itself, in order. How an engagement starts, from your brief to a written scope, is set out on our method page.
- 1
Brief, access and who holds each login
You send the requirements brief and we talk through your site, your forms and the accounts in use. The scope, fee and term go in writing before work starts, along with the access we need. The firm keeps every login; we are added as users and removed when the work ends, so nothing important sits in our hands.
- 2
Reading the tags on the practice pages
We record what fires on the home page, each practice-area page, the contact page and the thank-you page, under each consent choice. We also read the page titles and web addresses for anything that names a client or matter. The findings go to the managing partner and, where privacy law is involved, to your adviser.
- 3
Defining a real consultation request
The partner who runs intake decides what counts: what the person must have said, which matters the firm declines and how a duplicate is treated. We write these as event definitions. The marketing owner then approves the reporting names, so the partners and whoever reads the reports share one vocabulary.
- 4
Building in a test workspace
Tags are built and checked in a test workspace before anything goes live. We then set out the case for and against a server container for a firm of your size, including hosting and upkeep, and you decide. For a firm of modest size the careful browser setup may be enough, and we say so when it is.
- 5
Dummy matters, calls and the register
We submit dummy matters on phone and desktop, tap the call and WhatsApp links and check what reaches each tool. We then compare a sample against your enquiry register and the receptionist's notes. Differences are explained or listed as open; a partner signs off before anything is published.
- 6
Publishing, then reading against the baseline
Before any change we record the figures the reports currently show, and the register count for the same period. After publication we read the new figures against that record and say plainly which gaps closed and which remain. Rechecks after a redesign are agreed in writing, not assumed.
Where this fits
Three pieces of sales work, in this order.
This work sits inside sales process design, at stage 1, prospecting and lead generation. The audit comes before it, and sales management keeps it running.
Step 1
Sales audit
Find where deals are being lost and what to fix first.
Start here if you cannot say where orders are lost.
Step 2 · you are here
Sales process design
One written way to sell, from first enquiry to repeat order.
Start here if every salesperson sells differently.
Step 3
Sales management
A target, a review routine and someone who owns the number.
Start here if the team has targets and no routine.
FAQ
Questions owners ask before they call.
Not here? More answers, or ask on WhatsApp.
Is server-side tagging necessary for a law firm website?
Can tracking reveal who enquired about which matter?
Why do my ad account and my register show different numbers?
Do you track which consultations became retained clients?
Does this work if we do not advertise at all?
What happens after the site is redesigned?
How much does it cost?
How long is the contract?
How soon will we see results?
Who will actually do the work?
From the blog
Further reading for law firms.
6 min read · 18 Aug 2026How to get more law firm clients within the Bar Council's rulesAdvocates cannot advertise or solicit, yet law firms still grow through referrals, a factual website and a recorded response to enquiries.
7 min read · 17 Mar 2026Marketing strategy for consultants and professional firmsProfessional firms are chosen on reputation and referral, not advertising, and several professions cannot advertise at all under their own body's rules.
8 min read · 16 Dec 2025Website content checklist for professional firmsA referred client checks your site before calling, looking for named partners, services in plain words, fee signals and proof.
More for law firms
Related work to consider.
Closest to this: search and visibility
- SEO for law firms
- Website design and development for law firms
- Local SEO for law firms
- Service page SEO for law firms
- Answer engine and AI search content writing for law firms
- AI answer citation correction and source optimisation for law firms
- AI search, answer engine and generative engine optimisation for law firms
- AI search visibility tracking for law firms
Also for law firms
Or start from the overview: sales and marketing for law firms.
Your next practical step
Tell us what you are trying to grow, and we will read it before we call.
Eight short steps, mostly taps. Skip anything you would rather answer on the call.