Web Analytics Setup: How to Build a Data System You Can Trust

Web Analytics Setup: How to Build a Data System You Can Trust

/Eugen Shevchenko/7 minutes

Table of contents

Installing Google Analytics is not enough. A web analytics system must be properly designed, configured, and tested.

UAMASTER specialists have audited more than 2,500 Google Analytics accounts. At least one configuration error was found in 92% of them. This does not mean that analytics was completely nonfunctional. More often, it worked only partially: traffic sources were lost, purchases were duplicated, revenue was not transmitted, or an action that was not yet a lead or sale was counted as a conversion.

Today, web analytics is no longer synonymous with a single Google Analytics counter. Even a basic system may include Google Tag Manager, GA4, advertising tags, server-side event transmission, session recordings, consent management, and data quality controls. At the next level, CRM, telephony, call tracking, CMS, and payment systems are connected. The highest level involves a centralized data warehouse and end-to-end reporting.

A properly designed system should answer one fundamental question:

Can the business see the journey from an advertising interaction to a lead, sale, revenue, and profit, and how much can it trust each stage of that journey?

What a Business Should Receive After Implementation

A professional analytics implementation should not end with the message, “The tracking code has been installed.”

The business should receive a measurement plan, a map of data sources and flows, an event and parameter dictionary, a dataLayer specification, advertising tracking rules, a testing protocol, and documentation for ongoing support.

If server-side integrations, CRM, or telephony are involved, the rules for event identification, transmission, and deduplication must also be documented. The team should understand which system is the source of record for each metric: GA4 for user behavior, CRM for deal stages, the payment system for transactions, and financial accounting for revenue and profit.

This is the fundamental difference between building an analytics system and simply installing a tracking script.

Why Browser-Based Tracking Is No Longer Enough

Traditionally, analytics and advertising scripts operated directly in the user’s browser. A page loaded a tag, the tag wrote a cookie, and the event was sent to an external platform.

Today, some of these events are inevitably lost. Safari uses Intelligent Tracking Prevention, while other browsers also restrict cross-site tracking and cookie use. Data collection is further affected by ad blockers, script-loading errors, unstable connections, and users declining analytics or advertising cookies.

No correctly configured system can guarantee that 100% of all users will be observed. The purpose of analytics is not to circumvent a person’s choices, but to use the data a business is legally entitled to process in a technically reliable way.

Because of these limitations, modern architectures often combine browser-based and server-side event transmission.

Three Levels of a Web Analytics System

A measurement architecture can be viewed at three levels: basic behavioral and advertising data collection; integration with operational business systems; and end-to-end analytics supported by a centralized data warehouse.

Each successive level does more than add technology. It expands the range of business decisions that can be made using reliable data.

 

Three levels of web analytics architecture

Level 1. Basic Data Collection

A basic configuration typically includes Google Tag Manager, GA4, Google Ads Conversion Tracking, Microsoft Clarity or a comparable tool, Meta Pixel and Conversions API, as well as tracking tools for any other advertising platforms the business uses.

Google Tag Manager and dataLayer

GTM provides a controlled environment for tags, triggers, and variables. However, Tag Manager does not determine what should be measured.

For a robust implementation, the website should pass structured data through the dataLayer: event type, product, value, currency, transaction ID, form type, and other required parameters. This makes the analytics logic less dependent on button labels, CSS classes, and visual changes to the page.

Google Analytics 4 and Google Ads

GA4 helps analyze traffic sources, user behavior, and movement through the conversion funnel. An e-commerce implementation should track not only purchases, but also product views, add-to-cart actions, checkout starts, payments, and refunds.

Google Ads can receive conversions imported from GA4 or measure them directly through the Google tag. The transmission method should be selected deliberately to avoid parallel conversion actions that count the same lead twice.

Microsoft Clarity and Similar Tools

Quantitative analytics shows what happened. Session recordings and heatmaps help develop hypotheses about why it happened.

They can reveal where users stop, which elements they mistakenly perceive as buttons, how they interact with a form, and how far they scroll. Microsoft Clarity can be installed through Google Tag Manager, but individual session recordings should not be treated as statistical proof.

Meta Pixel and Conversions API

Meta Pixel remains useful, but browser restrictions, ad blockers, and cookie loss mean that it does not always capture every event a business is legally permitted to transmit.

Conversions API creates a direct connection between Meta and a server, CRM, website platform, or another business data source. Meta itself recommends considering the combined use of Pixel and Conversions API.

In this configuration, the same event may arrive through two routes: the browser and the server. Deduplication using a shared event identifier is therefore essential. Without it, one purchase can be reported as two advertising conversions.

CAPI is not a way to bypass user consent, GDPR, or other data-processing requirements. A server-side route can improve control and transmission reliability, but it does not eliminate legal obligations.

Server-Side Google Tag Manager

Server-side GTM is a separate architectural component. Instead of the browser sending data directly to multiple platforms, some requests first reach a server container controlled by the business.

Events can be validated, cleaned, enriched, blocked, and routed inside that container. Google identifies three major benefits of server-side tagging: stronger privacy controls, reduced browser workload, and improved data quality.

However, server-side GTM is not a magic tool for recovering every lost conversion. It does not override consent, correct a poorly defined event, or replace a CRM. A server container also requires hosting, monitoring, cost control, and technical maintenance.

A small website may not need server-side GTM at the outset. For e-commerce businesses, companies with substantial performance advertising, multiple advertising platforms, or stricter data-control requirements, it may be a suitable part of the basic or extended architecture.

Consent Management and the Legal Context

Consent management should not be reduced to a decorative cookie banner. The system must record the user’s choice, control tag activation, communicate consent status to platforms, and allow that choice to be changed.

Companies serving users in the EU must consider GDPR and the rules governing cookies and personal data. Ukrainian companies must also consider the applicable Law of Ukraine on Personal Data Protection.

Consent Mode communicates a user’s choice to Google systems, but it is not a standalone consent management platform. It can also operate within a server-side GTM architecture.

The specific legal model should be reviewed with legal counsel based on the business’s geography, the types of data involved, and the advertising platforms used. Technical configuration is not a substitute for legal assessment.

A Typical Practical Scenario

Consider a clinic that evaluates advertising performance using only website forms. In GA4, Campaign A appears more effective than Campaign B, so the marketer reallocates most of the budget to Campaign A.

After call tracking is connected, the team discovers that Campaign B generates significantly more phone inquiries. Once the CRM is integrated, another difference becomes visible: calls from Campaign B are more likely to result in bookings for profitable procedures.

Analytics did not increase the number of inquiries by itself. It changed the business’s understanding of which advertising actually worked and provided a sound basis for reallocating the budget.

Level 2. CRM, Telephony, and Operational Systems

GA4 can record a submitted form, but it does not automatically know whether the lead became a customer. The second level therefore begins by connecting web data with the CRM.

The source, campaign, landing page, advertising identifiers, and inquiry ID should be passed to the CRM. In the opposite direction, the system can transmit lead stages, confirmed deals, actual revenue, cancellations, and refunds.

For businesses where customers often call, telephony and call tracking are also added. Recording the call itself is not enough. The business needs to know whether the call was answered, whether it was relevant, and whether an opportunity was created.

Depending on the business model, the system may also connect a CMS, ERP, payment platforms, booking services, marketplaces, mobile apps, loyalty programs, and email marketing platforms.

At this level, the business begins to analyze qualified leads instead of form submissions, confirmed orders instead of browser events, repeat purchases, and the actual cost of acquiring a customer.

Level 3. BigQuery and End-to-End Analytics

When the number of sources grows, combining them manually in spreadsheets becomes inconvenient and risky. The highest level requires a centralized repository, such as BigQuery or another data warehouse platform.

The warehouse may receive data from GA4, CRM, advertising accounts, telephony, CMS, ERP, payment systems, mobile apps, email marketing platforms, and financial accounting.

It is also useful to configure a daily Google Search Console export to BigQuery. The standard Search Console interface limits the available history and query tables, while bulk data export sends search performance data to BigQuery every day. By starting data accumulation now, a company can retain its own search history beyond the standard 16 months and analyze SEO alongside behavioral and commercial metrics.

BigQuery makes it possible to retain granular history, combine online and offline events, standardize campaigns, and analyze cohorts, LTV, and repeat purchases. However, a warehouse does not create end-to-end analytics by itself. Rules are still needed for data loading, cleaning, matching, and quality control.

A dashboard is the final stage:

business questions → metrics → sources → collection → integration → validation → data model → dashboard.

How Long Does Implementation Take?

The timeline depends on the number of websites, advertising platforms, conversion types, the quality of the website implementation, and CRM readiness.

Basic level. An audit usually takes several business days, while a straightforward implementation for one website generally takes one to three weeks.

Integration level. Connecting CRM, telephony, and offline conversions may take three to eight weeks. Much of the timeline depends on APIs, development resources, and the quality of the data already stored in the CRM.

End-to-end analytics. Architecture design and an MVP are usually measured in months. The system will then require ongoing development and maintenance.

Cost is not determined simply by the number of tracking codes. It depends on the number of domains, advertising platforms, conversions, and integrations, as well as the need for server-side GTM, the quality of the dataLayer, CRM complexity, and reporting requirements.

Web Analytics Verification Checklist

The best way to verify the system is to follow a controlled journey from an advertising click to an actual business outcome.

  1. Open the website through a test advertising link containing UTM parameters.
  2. Confirm that the page view is recorded only once.
  3. Try to submit an incorrectly completed form: the conversion should not fire.
  4. Complete a successful test lead or purchase.
  5. Verify the event name and its parameters.
  6. For a purchase, check the value, currency, and transaction ID.
  7. Refresh the confirmation page and confirm that the event is not duplicated.
  8. Make sure the test traffic source has been preserved.
  9. Locate the corresponding inquiry in the CRM or order management system.
  10. Check browser and server event transmission and their deduplication.
  11. Repeat the scenario for both accepted and declined consent.
  12. Confirm that prohibited personal data is not being sent to analytics platforms.

This checklist should be used after changes to the website, forms, CMS, payment system, cookie banner, or advertising integrations.

FAQ

Is installing GA4 enough?

No. GA4 is an important component, but it does not replace advertising tracking, session recordings, CRM, telephony, or the verification of actual sales.

Does a small business need BigQuery?

Not always. For one website with a few acquisition channels, GA4, advertising tags, and CRM may be sufficient. BigQuery becomes useful when data must be combined from multiple sources or retained for more advanced analysis.

How long does a GA4 audit take?

An audit of one relatively simple website may take several business days. For e-commerce websites, multiple domains, or complex integrations, the timeline is determined after the architecture has been assessed.

Does Conversions API replace Meta Pixel?

Usually not. For web events, Meta recommends combining Pixel and Conversions API and correctly deduplicating events.

Does server-side GTM solve the problems caused by ad blockers and cookie restrictions?

It can improve transmission reliability and data control, but it does not guarantee complete collection or permit a business to ignore user consent.

Why do GA4, advertising platforms, and CRM show different numbers?

These systems use different attribution models, time zones, conversion windows, and identity rules. The purpose of an audit is to explain the differences and define the source of record for each metric.

How much does web analytics implementation cost?

The cost depends on the number of websites, conversions, advertising platforms, and integrations. An accurate estimate can be prepared after a short technical assessment or audit.

Conclusion

Web analytics is not built to accumulate reports. It is built to reduce the number of business decisions made without reliable evidence.

UAMASTER helps companies audit existing systems, identify missing and duplicated data, configure browser-based and server-side tracking, integrate CRM, and build end-to-end analytics.

Start with an audit. It will show which data can already be trusted, where information is being lost, and which level of analytics your company actually needs.

Read this article in Ukrainian.

Author

Eugen Shevchenko

Eugen Shevchenko is the founder and CEO of UAMASTER digital agency and a digital marketing strategist with more than 25 years of practical experience. Under his leadership, UAMASTER has been ranked among the Top 15 digital agencies in the world by Clutch for four consecutive years, from 2023 to 2026, in a ranking that includes more than 120,000 agencies. Eugen holds a master's degree in marketing, teaches in MBA programs, develops digital marketing education programs, and co-organizes iForum, one of Ukraine's largest technology conferences. His expertise covers digital strategy, performance marketing, analytics, SEO, AI search, and the practical impact of marketing technologies on business growth.

Digital marketing puzzles making your head spin?


Say hello to us!
A leading global agency in Clutch's top-15, we've been mastering the digital space since 2004. With 9000+ projects delivered in 65 countries, our expertise is unparalleled.
Let's conquer challenges together!



Hot articles

How Yapper Ads and curiosity reduce CAC and increase ROI

How Yapper Ads and curiosity reduce CAC and increase ROI

Why bot protection blocks website indexing in Google

Why bot protection blocks website indexing in Google

Google changes default local inventory Ads settings

Google changes default local inventory Ads settings

performance_marketing_engineers/

performance_marketing_engineers/

performance_marketing_engineers/

performance_marketing_engineers/

performance_marketing_engineers/

performance_marketing_engineers/

performance_marketing_engineers/

performance_marketing_engineers/