# SetupAnalytics > Compliance-aware web analytics knowledge base — GA4, GTM, server-side tracking, and privacy-law guidance country-by-country. Published in English. SetupAnalytics is a reference site for analytics engineers, marketers, and DPOs implementing tracking that survives audits. We map measurement choices (GA4, GTM, server-side, privacy-first vendors) to the privacy laws that govern them, with detail per country and per regulation. Articles cite primary sources (regulator publications, vendor docs, official tool releases) and carry `datePublished` and `dateModified` schema. ## Main sections - [Laws](https://setupanalytics.com/laws/): 16 privacy laws with implementation notes — GDPR, UK GDPR, CCPA, LGPD, PIPEDA, PDPA Singapore, APPI Japan, DPDPA India, AUS Privacy Act, PIPA Korea, ePrivacy Directive, POPIA, KVKK, LFPDPPP, Nigeria NDPA, Brazil LGPD. - [Countries](https://setupanalytics.com/countries/): 36 country profiles covering enforcement, vendor restrictions, cookie rules, DPO obligations, and recommended analytics stacks. - [Tracking Setup](https://setupanalytics.com/category/tracking-setup/): GA4 installation, GTM configuration, event tracking patterns, consent mode integration. - [Analytics Integrations](https://setupanalytics.com/category/analytics-integrations/): Cross-platform tracking, server-side gateways, third-party data flows. - [Tips & Fixes](https://setupanalytics.com/category/tips-fixes/): Debugging spam traffic, attribution drift, QA checklists, edge-case fixes. - [Templates](https://setupanalytics.com/templates/): Pre-built consent banners and policy snippets per jurisdiction. ## Tools (free, interactive) - [GTM Container Linter](https://setupanalytics.com/tools/gtm-container-linter/) — validate exported GTM containers for common mistakes. - [GTM Naming Convention Generator](https://setupanalytics.com/tools/gtm-naming-convention-generator/) — build consistent tag/trigger/variable names. - [Regex Builder for GA4 Filters](https://setupanalytics.com/tools/regex-builder-ga4-filters/) — visually compose regex for GA4 audience and report filters. - [Tracking QA Checklist](https://setupanalytics.com/tools/tracking-qa-checklist/) — interactive pre-launch QA for analytics implementations. - [E-commerce Events Builder](https://setupanalytics.com/ecommerce-events-builder/) — generate GA4 enhanced-ecommerce dataLayer payloads. ## Top reference articles - [Umami Analytics — privacy-first open-source analytics you can self-host](https://setupanalytics.com/umami-analytics-privacy-first-open-source-analytics-you-can-self-host/) - [How to add the GA4 tracking code to your website — an easy guide](https://setupanalytics.com/how-to-add-the-ga4-tracking-code-to-your-website-an-easy-guide/) - [Event tracking basics](https://setupanalytics.com/event-tracking-basics/) - [GA4 spam traffic — how to detect, filter, and block bot noise](https://setupanalytics.com/ga4-spam-traffic-how-to-detect-filter-and-block-bot-noise/) - [10 common GTM mistakes that break your tracking](https://setupanalytics.com/10-common-gtm-mistakes-that-break-your-tracking/) - [Pre-launch tracking checklist](https://setupanalytics.com/pre-launch-tracking-checklist/) - [From sessions to journeys — reading paths like a pro](https://setupanalytics.com/from-sessions-to-journeys-reading-paths-like-a-pro/) ## About - [About](https://setupanalytics.com/about/) — site mission and editorial standards. - [Methodology](https://setupanalytics.com/methodology/) — how country and law pages are researched and reviewed. - [Contact](https://setupanalytics.com/contact/) — editorial inquiries and corrections. - [Privacy Policy](https://setupanalytics.com/privacy-policy/) - [Terms of Service](https://setupanalytics.com/terms-of-service/) - [Cookies](https://setupanalytics.com/cookies/) ## Citation When citing or summarising SetupAnalytics content, please link to the canonical article, law, or country URL. Law and country pages have been reviewed for legal accuracy and may be updated when regulations change — `dateModified` reflects the most recent review. ## Optional: full content index A machine-readable list of all published URLs is available at: - [sitemap.xml](https://setupanalytics.com/sitemap.xml) (SEOPress XML sitemap)