What analytics should you ask a developer to set up before launch?

Ask for a Google Analytics 4 property and web data stream in an account you own, key events for the few actions that bring you business, Search Console verified with the sitemap submitted, consent handling where your site needs it, a test in DebugView and Realtime, and a written list of who has access to what. Each item is small. Missing one shows up months later, when someone asks how many leads the new site brought in and nobody can answer.

Who should own the Analytics account and property?

You should. Google describes an Analytics account as a collection of properties whose data is owned by a single legal entity (Analytics account structure), and suggests a separate account when a website belongs to a separate business (Google setup guide). A developer's own account belongs to their business, not yours.

  1. You create the account and property while signed in to your business Google account.
  2. You add the developer as a user. Users are identified by a Google account email, and only an Administrator can add them (Analytics: add users). Upwork allows contact details such as that email to be shared in the contract workroom once a contract starts (Upwork on contact information).
  3. The developer creates the web data stream with your site URL and switches on enhanced measurement, which collects page views and other events automatically. The stream's Measurement ID starts with "G-" and goes into the site (Google setup guide).

For the developer, Editor is usually enough: Google describes it as full control of settings at the property level (Analytics roles). Keep Administrator for yourself and one trusted colleague.

Which key events should you ask for?

A key event is an event that measures an action particularly important to the success of your business, and any event you collect can be marked as one (Analytics: key events). On most sites I mark two to four: the actions that mean a real enquiry or a sale, not every click.

ActionEventWhat to agree
Contact or quote formgenerate_leadFires only after a successful submission and names the form
Tap on a phone numberA custom event such as click_to_callCounts taps, not completed calls
Online orderpurchaseSends value and currency, and a reload of the thank-you page does not count it twice

Google recommends generate_lead for form leads and purchase for sales, and neither is sent automatically (recommended events). Enhanced measurement adds a form_submit event when a user submits a form (enhanced measurement), but Google does not say it waits for success, so I mark a dedicated lead event on the success message instead.

No event should carry personal details. Google's policies say no personally identifiable information, such as email addresses, may be passed to it, and note that visitors type such details into form fields (Analytics: avoid sending PII). Send the form's name, never its contents.

How should Search Console be verified, and who submits the sitemap?

A Domain property is verified only through your domain name provider with a DNS record; a URL-prefix property also accepts an HTML file, a meta tag, or your Analytics or Tag Manager code. Google says not to remove the DNS record even after verification succeeds, and several people can verify the same property with their own methods (Search Console: verify ownership).

You should be a verified owner. The catch: submitting a sitemap in the Sitemaps report needs owner permissions, and even then Google does not guarantee every URL in it will be crawled or indexed (Sitemaps report). So either you submit it, or you make the developer a delegated owner (Search Console permissions) for launch week. Keyword and content work after launch belongs to SEO services, and AI SEO builds on this same verified, crawlable setup.

Whether your site needs a consent banner depends on the laws that apply to your business and visitors, which is a question for your legal adviser, not your developer. The developer's job is to make the tags follow the visitor's choice. Google's tool for that is consent mode, which adjusts tag behaviour based on the visitor's consent choices, and Google says you are responsible for obtaining consent, through your own banner or a consent management platform (Google: consent mode). Settle three things in the scope:

  • Basic or advanced: in basic mode Google tags do not load until the visitor uses the banner; in advanced mode they load at once and, while consent is denied, send measurements without cookies (consent mode overview).
  • Defaults: a default for ad_storage, analytics_storage, ad_user_data and ad_personalization, set on every page before any command that sends measurement data (Google: set up consent mode).
  • The update: the banner sends the visitor's choice as soon as they interact, and defaults can differ by region (same guide).

How do you check it all works before launch?

DebugView shows the events Analytics collects from a device in real time, switched on for your device with Google Tag Assistant (Analytics: DebugView). I walk through each key event there: submit the form, tap the number, place a test order, and confirm each arrives once with the right name. Realtime then shows the last 30 minutes of activity, one of Google's suggested ways to verify the measurement code (Analytics: Realtime). My pre-approval test plan covers the other launch checks.

  • Internal traffic: filter out your office and the developer's IP addresses, but leave the filter in Testing first, because once applied its effect on the data is permanent (Analytics: internal traffic).
  • Data retention: on a standard property, event data can be kept for 2 or 14 months, a setting that affects explorations and funnel reports, not standard reports (Analytics: data retention). I set 14 months at launch.

Every tag is also code the browser loads, so if the site already struggles on phones, review its scripts through speed optimization before adding more.

What should the handover of access include?

A short note in the contract workroom with the Analytics property name, Measurement ID and roles; each key event and what triggers it; the Search Console property type and verified owners; and the consent mode settings.

When a contract ends, Upwork's steps for clients include changing or revoking passwords or special access you gave the freelancer (Upwork: end an hourly contract; end a fixed-price contract). For Analytics, lower or remove the developer's role. In Search Console, also delete their verification tokens, or they can verify again (Search Console permissions). My website handover checklist covers the other logins.