Skip to content
Analytics

Digital analytics for data-driven marketing: from measurement plan to decisions

How to set up digital analytics that leads to decisions: the five layers of a measurement stack, a one-page measurement plan, metrics tied to profit, and when to use attribution, marketing mix models or experiments.

Back room of an outdoor gear shop with shelves of jackets and boxed boots and a packing table with cardboard boxes.

Digital analytics is the practice of collecting, checking and analysing data from your website, ad platforms and CRM so you can decide where the next euro of marketing goes. Data-driven marketing means those decisions follow from a measurement plan, consented and verified tracking, a small set of KPIs tied to revenue, and tests that show cause rather than correlation.

Key points

  • Start with a written measurement plan: business objective, KPI, the events that feed it, and who acts on it. Tools come after.
  • Platform attribution, marketing mix modelling and lift experiments answer different questions. Use each for the question it can answer.
  • Google's open-source Meridian model needs at least two years of weekly data for a geo-level model and three years for a national one.
  • In Norway, analytics and advertising cookies need GDPR-standard consent under ekomloven § 3-15, so every dataset has a consent gap you must account for.
  • Pick one system of record per decision: the CRM for leads, the order system for revenue, GA4 for comparing channels.

What does a working digital analytics setup include?

A working setup has five layers: consent, collection, storage, reporting and analysis, each with a named owner. Most measurement problems trace back to a missing layer, such as no consent wiring, no offline data or no one who reads the dashboard. The choice of tool matters far less.

LayerTypical toolsJobUsual owner
ConsentConsent management platform, consent mode v2Ask for consent, store it, pass the signals to every tagMarketing with the privacy lead
CollectionGoogle Tag Manager, GA4, Google Ads tag, Meta Pixel and Conversions APIRecord visits, events and conversions with consistent namesAnalytics or web developer
StorageCRM, order system, BigQuery export from GA4Hold the records you trust and keep history beyond tool retention limitsOperations or data team
ReportingLooker Studio, Power BI, platform dashboardsShow KPIs against targets on a fixed rhythmMarketing lead
AnalysisAttribution reports, marketing mix models, lift tests, explorationsExplain what caused the change and what to do nextAnalyst or senior marketer
The layers of a digital analytics stack and who usually owns each one in a small or mid-sized company.

The collection layer is where most hands-on work goes. Our GA4 setup guide covers the property, consent mode and the settings to change on day one, and the conversion tracking guide covers Google Ads, Meta and offline imports.

How do you build a measurement plan?

A measurement plan is a one-page document that links each business objective to the KPIs that show progress, the events and dimensions that feed those KPIs, and the person who acts when a number moves. Write it before you configure anything, and update it when the business changes.

  1. State the business objective in money or volume. "Grow online revenue from €1.2 million to €1.5 million" or "60 qualified B2B leads per quarter", not "increase awareness".
  2. Pick one primary KPI per objective and two or three supporting ones. For revenue that might be contribution margin from marketing, supported by conversion rate and average order value.
  3. List the events and parameters that feed each KPI. Use GA4 recommended event names (purchase, generate_lead, sign_up) and decide which parameters matter, such as lead_type or product category.
  4. Define dimensions for segmentation. Channel grouping, campaign naming through UTM parameters, market, device, new or returning customer.
  5. Set targets and thresholds. A KPI without a target cannot trigger a decision. Note what change is large enough to act on.
  6. Name the owner and the rhythm. Who reads it weekly, who decides monthly, and where decisions are logged.

Campaign tagging is where plans break in practice, because one person writes "facebook" and another "Facebook_Ads". Agree a naming convention once; the UTM parameter guide has a template.

Which marketing metrics should you track?

Track a small set of metrics that connect spend to profit, plus the diagnostic metrics that explain why the profit metric moved. Clicks, impressions and followers are inputs. Keep them in channel reports and out of the KPI row a manager reads.

MetricDefinitionUse it forTrap
Conversion rateConversions ÷ sessions (or users)Spotting site or offer problemsRises when traffic quality falls and volume drops
Cost per acquisition (CPA)Ad spend ÷ conversionsComparing campaigns with the same goalMeaningless if the conversions are low-value micro actions
ROASRevenue attributed to ads ÷ ad spendE-commerce bidding targetsIgnores margin; a 4× ROAS can lose money on low-margin products
POASGross profit attributed to ads ÷ ad spendShops with varying marginsNeeds cost of goods per product in the data
Customer acquisition cost (CAC)All sales and marketing cost ÷ new customersBoard-level efficiencyPlatform CPA is usually lower because it excludes salaries and tools
Customer lifetime value (LTV)Gross profit per customer over the relationshipDeciding how much CAC you can affordYoung companies overestimate retention
Core marketing metrics, how they are calculated and where each misleads.

Tip

Compare LTV and CAC on gross profit, not revenue. A subscription business with €30 monthly revenue and 40 percent gross margin earns €12 a month per customer, so a CAC of €300 takes 25 months to pay back, not 10.

How should you attribute results to marketing channels?

Use three methods side by side: platform and GA4 attribution for day-to-day optimisation, marketing mix modelling for budget splits across channels, and lift experiments to check whether a channel causes sales at all. Each answers a different question, and none of them sees everything.

MethodQuestion it answersData neededWeakness
Platform attribution (Google Ads, Meta)Which campaigns, ads and keywords to scale inside one platformTags with consent, conversion importsEach platform claims credit for conversions it touched
GA4 data-driven attributionHow channels share credit on tracked journeysConsented sessions with UTM taggingBlind to views, offline touchpoints and declined consent
Marketing mix modelling (Meridian, Robyn)How to split budget across channels, including offlineTwo to three years of weekly spend and sales, plus seasonality and priceSlow, needs spend variation, gives ranges, not campaign detail
Lift and geo experimentsDoes this channel cause extra sales, and how manyA holdout group or region, enough volumeCosts reach during the test, answers one question at a time
Attribution and measurement methods compared. Sources: Google Ads Help on attribution models, Google Meridian documentation, Meta Robyn documentation.

Inside Google's tools, data-driven attribution has been the default since 2023, when Google retired the first click, linear, time decay and position-based models in Google Ads and GA4. Only data-driven, last click and external attribution remain. Our attribution models comparison walks through how they distribute credit.

Marketing mix modelling became more accessible when Google made its open-source Meridian model available to all in January 2025; Meta's Robyn is the other widely used open-source option. Meridian's documentation recommends at least two years of weekly data for geo-level models and three years for national-level models. A company that has spent the same amount on the same channels every month gives the model nothing to learn from, so plan deliberate spend changes before you commission a model.

Every analytics and advertising tag that stores or reads data on the device needs prior consent that meets the GDPR standard, under ekomloven § 3-15, in force since 1 January 2025. The visitors who decline are missing from cookie-based data, so your GA4 and ad platform numbers describe a consented subset, not everyone.

That has three consequences for analysis. Compare trends rather than absolute totals across tools. Use systems of record (CRM, order system) for totals, since they do not depend on cookies. And treat modelled data from consent mode as an estimate, labelled as such in reports.

Datatilsynet has shown it enforces these rules. On 12 June 2025 it published decisions against six Norwegian websites that shared visitor data through tracking pixels from Meta and others without a legal basis, including sites whose pages revealed health information. Kristiansand municipality was fined 250 000 kr for 116111.no and the other five were reprimanded. Server-side tagging can reduce what third parties receive, but it does not remove the consent requirement; the server-side tracking guide explains what it changes and what it does not.

How do you keep data quality high?

Keep data quality high with a short monthly routine. Each month, check that the numbers that drive decisions still match a system of record and that nothing new is firing that should not be.

  • Compare GA4 purchases or leads with the order system or CRM for the same period. Investigate if the ratio moves by more than a few percentage points from its usual level.
  • Review the "Unassigned" and "(not set)" rows in GA4 traffic acquisition. Growth there usually means untagged campaigns or broken referrer data.
  • Look at Google Tag Manager's version history and the site's release log together, because a new form or checkout step often breaks a trigger.
  • Check the consent rate in your consent platform. A sudden drop usually follows a banner change and explains a drop in GA4 traffic that is not real.
  • Remove tags for tools nobody uses. Each one is a privacy risk and a page speed cost.

Example

A fictional online shop selling outdoor gear has €750,000 in annual online revenue and spends €12,500 a month across Google Ads, Meta and a newsletter. Its measurement plan names one objective (contribution margin from online sales), one primary KPI (POAS) and three supporting ones (conversion rate, average order value, share of returning customers). Cost of goods per product is added to the product feed so Google Ads can bid on profit. Each month, the marketing lead compares GA4 revenue with the order system; GA4 consistently shows about 80 percent of it, so the team reads GA4 for channel shares and the order system for totals. Before raising Meta spend, the shop runs a four-week geo holdout in two regions to see whether Meta ads cause extra orders or mostly reach people who would buy anyway.

How do you turn analysis into marketing decisions?

Set a fixed rhythm where specific numbers trigger specific decisions, and log each decision with the data behind it. An analysis with no decision attached to it can be dropped from the agenda.

A rhythm that works for small teams: a weekly 15-minute check of spend, CPA or POAS against target, with authority to pause or shift budget inside a channel; a monthly review of channel mix, conversion rate trends and test results; a quarterly review of targets, the measurement plan and any model or experiment results. Keep a decision log with date, decision, the numbers that drove it and the expected effect, and look back at it every quarter. The marketing dashboard guide shows how to build the views each meeting needs.

If you want help connecting measurement to paid media decisions, our PPC service covers tracking, reporting and budget allocation together. Start this week by writing your measurement plan on one page and sharing it with whoever owns the budget.

Frequently asked questions

What is the difference between digital analytics and web analytics?

Web analytics covers behaviour on your website, usually through a tool such as GA4. Digital analytics also includes ad platforms, CRM and sales data, e-mail and offline channels, so you can connect marketing activity to revenue.

What tools does a small company need for digital analytics?

A consent platform, Google Tag Manager, GA4, the conversion tags for the ad platforms you use, a CRM or order system as the record of truth, and a reporting tool such as Looker Studio. Add BigQuery when you need history beyond GA4's retention or want to join data sources.

When does marketing mix modelling make sense?

When you spend across several channels, including offline, have at least two to three years of weekly spend and sales data, and have varied your spend over that period. Below that, lift tests and careful platform attribution give more reliable answers.

Why don't my analytics numbers match my sales?

Visitors who decline cookies, blocked scripts, cross-device journeys and different attribution rules all create gaps. Use the order system or CRM for totals and analytics tools for trends and channel comparisons.

How often should marketing data be reviewed?

Weekly for spend and efficiency against targets, monthly for channel mix and trends, and quarterly for targets and the measurement plan itself. Daily checks are only worth it for large budgets or during launches.

Sources

  1. Google Ads Help: First click, linear, time decay and position-based attribution models are going away (2023)
  2. Google for Developers: Meridian marketing mix model
  3. Google for Developers: Meridian, collect and organise your data
  4. MarTech: Google releases its open source marketing mix model to all (January 2025)
  5. Meta Marketing Science: Robyn, open-source marketing mix modelling
  6. Lovdata: Lov om elektronisk kommunikasjon (ekomloven), § 3-15
  7. Datatilsynet: Ulovlig deling av personopplysninger gjennom sporingspiksler hos seks nettsteder (12 June 2025)
  8. Google Analytics Help: About consent mode

New articles, by email

Our latest practical articles on search, ads and analytics, gathered once a month. No sales sequences.

One email a month, no spam. Unsubscribe any time. How we handle your data.