# Marketing Analytics

> Measuring channels and campaigns: attribution, ROAS, CAC by channel, incrementality tests and marketing mix basics. Free notes, key concepts, resources and a...

Canonical: https://www.internhack.in/roadmaps/tracks/data-analyst/marketing-analytics
Last updated: 2026-11-28

Measuring channels and campaigns: attribution, ROAS, CAC by channel, incrementality tests and marketing mix basics.

Intermediate · about 5 hours · difficulty 3/5

Learn first: [Unit Economics and Revenue Metrics](https://www.internhack.in/roadmaps/tracks/data-analyst/unit-economics), [A/B Testing and Experiment Design](https://www.internhack.in/roadmaps/tracks/data-analyst/ab-testing)

Marketing spends a lot of money and wants to know which spend works. Marketing analysts connect ad platforms, web analytics and sales data to answer that.

### Core metrics

- **Impressions, clicks, CTR, CPC, CPM**: top-of-funnel delivery metrics from ad platforms.
- **Conversion rate and CPA** (cost per acquisition).
- **ROAS**: revenue attributed to a campaign divided by its spend.
- **CAC by channel** and **payback**, tying marketing back to unit economics.

### Attribution

When a customer sees a social ad, clicks a search ad and then comes direct, who gets credit?

- **Last click**: all credit to the final touch. Simple, over-credits search and branded terms.
- **First click**: all credit to the first touch.
- **Linear, time decay, position-based**: split credit by rule.
- **Data-driven**: algorithmic, as in GA4.

All attribution models describe correlation along the path; none prove the ad caused the purchase.

### Incrementality

The real question is "what would have happened without this spend?" Answer it with **holdout tests** (withhold ads from a random group), **geo experiments** (turn spend off in some regions), or platform lift studies.

### Marketing mix modelling (MMM)

Regression on weekly spend by channel, controlling for seasonality and price, estimates each channel's contribution. Open-source tools like Meta's Robyn and Google's Meridian exist; it is an advanced topic.

**Pitfall:** trusting each ad platform's self-reported conversions, which double count across platforms. You are ready to move on when you can compare last-click and linear attribution on a sample dataset and explain why neither measures incrementality.

## Key concepts

- **CTR, CPC, CPM and CPA**
- **ROAS**
- **Attribution models**
- **Incrementality and holdout tests**
- **Geo experiments**
- **Marketing mix modelling**
- **Campaign and UTM reporting**

## Mini project

Build a synthetic dataset of multi-touch customer journeys, compute channel credit under last-click, first-click and linear attribution, and present how channel rankings change.

## Check yourself

Why can a channel look great under last-click attribution yet have almost no incremental effect?

## Free resources

- [Google Analytics Help: attribution](https://support.google.com/analytics) (Google)
- [Google Skillshop](https://skillshop.withgoogle.com/) (Google)
- [Meridian marketing mix model docs](https://developers.google.com/meridian) (Google)

Previous: [Predictive Modelling with scikit-learn](https://www.internhack.in/roadmaps/tracks/data-analyst/predictive-modelling) · Next: [Financial Analytics and FP&A Basics](https://www.internhack.in/roadmaps/tracks/data-analyst/finance-analytics)

## More in Domain Analytics

- [Marketing Analytics](https://www.internhack.in/roadmaps/tracks/data-analyst/marketing-analytics)
- [Financial Analytics and FP&A Basics](https://www.internhack.in/roadmaps/tracks/data-analyst/finance-analytics)
- [Operations and Supply Chain Analytics](https://www.internhack.in/roadmaps/tracks/data-analyst/operations-analytics)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Data Analyst Roadmap](https://www.internhack.in/roadmaps/tracks/data-analyst)
