You run GA4, you’ve heard the words “cookie consent” and “PDPA”, and now you’re stuck between two bad options. Collect everything and hope nobody asks how — or block tracking, respect privacy, and lose most of your data. Neither feels right, and both leave you guessing.
At ZenWeb we set up tracking for 500+ Malaysian clients, and this is one of the most common knots we untangle. The good news: you don’t have to choose between clean data and a clean conscience. The right setup gives you both, and it feeds every digital marketing decision you make afterwards.
This is not the same problem as GA4 showing no data at all — here the tracking works, but you need it to work within the law. Before we get into the fix, the short walkthrough below shows how Consent Mode plugs into a live WordPress site.
Source video: CookieYes on YouTube
“Consent Mode and PDPA” sounds like two separate headaches, but they meet in one place: your GA4 setup. Consent Mode is a Google feature. PDPA is a Malaysian law. Your analytics sits in the middle, collecting data from real people who have rights over it.
The fix isn’t legal gymnastics. It’s a consent banner, a few tag settings, and a clear privacy notice — the same stack we roll out for clients every week. This guide walks through what each part does, how to set it up, how much data you keep, and what the 2024 PDPA changes mean for you.
Quick Answer: Consent Mode is Google’s signal system — it tells GA4 and Google Ads tags whether a visitor agreed to cookies, and the tags adjust. PDPA is Malaysia’s Personal Data Protection Act, which wants consent and notice before you process someone’s personal data. Consent Mode is how you make GA4 obey the consent that PDPA expects.
They’re easy to mix up, so keep the split clear: one is a tool, the other is the law.
analytics_storage and ad_storage. Granted means collect normally; denied means hold back.Here’s the catch most Malaysian businesses miss. Google only forces Consent Mode on traffic from Europe and the UK — not on Malaysian visitors. But PDPA still applies to your Malaysian visitors, so the smart move is to use Google’s tool to satisfy your local law. Without reliable, lawfully collected data, you also can’t attribute sales back to the channel that earned them.
Not sure your GA4 is set up lawfully?
A quick check tells you whether your tracking collects data the way PDPA expects. See how our digital marketing team sets up compliant tracking →
Quick Answer: GA4 quietly collects more than page views. IP addresses, cookie IDs, and device details can all point back to a person, and PDPA can treat that as personal data. Once data can identify someone, the Consent and Notice principles kick in — which is exactly why analytics needs consent, not a free pass.
People assume analytics is anonymous. It mostly isn’t. GA4 gathers several signals that, alone or combined, can single out an individual — and that’s the test PDPA cares about. The table shows the main ones.
| What GA4 collects | Why PDPA may treat it as personal data | Consent advisable first? |
|---|---|---|
| IP address | Can locate and help identify the device or person behind a visit | Yes |
| Client ID (cookie) | A persistent identifier that follows one user across visits | Yes |
| Device & browser details | Combined, they can help single out an individual (fingerprinting) | Yes, in combination |
| User-provided data (User-ID, form values) | Directly identifies a person — name, email, phone | Yes, always |
Source: ZenWeb, applying PDPA personal-data principles to standard GA4 collection. General guidance, not legal advice.
The last row is the one to watch. If you send an email, phone number, or User-ID into GA4, you’ve moved from “probably personal data” to “definitely” — and a shaky setup there also pollutes your reports, the same way a wrong conversion value quietly distorts your revenue numbers.
Quick Answer: Consent Mode comes in two flavours. Basic blocks Google tags until the visitor chooses, so nothing is sent before consent. Advanced loads a stripped-down, cookieless tag that sends anonymous pings, letting Google model the visits you’d otherwise lose. Basic is safer and simpler; Advanced keeps more of your data.
Both respect the visitor’s choice — the difference is how much reporting you salvage from the people who say no. The table lays it out.
| What happens | Basic Consent Mode | Advanced Consent Mode |
|---|---|---|
| Before the visitor chooses | Tags don’t load; nothing is sent | Tags load cookieless; anonymous pings sent |
| If the visitor declines | No data collected at all | Anonymous, non-identifying pings only |
| Modelling the gap | Limited | Fuller — Google estimates lost conversions |
| Setup effort | Simpler | More involved (CMP + tag config) |
| Best for | Smaller sites wanting the safest default | Businesses that need reporting accuracy back |
Source: ZenWeb, summarising Google’s documented Consent Mode behaviour. See Google’s consent setup guide.
For most Malaysian SMEs we start with Basic for peace of mind, then move to Advanced once the consent banner and tags are proven. Advanced gives back more data, but only if the plumbing underneath it is right.
Quick Answer: Add a consent banner, default the Consent Mode signals to denied, then flip them to granted only when the visitor accepts. Pair that with a plain-language privacy notice, pick Basic or Advanced, and test in GA4 DebugView. Done in order, the whole thing takes an afternoon, not a project.
You don’t need a developer team for a standard WordPress site. Work through these in order and don’t skip the last one.
analytics_storage and ad_storage to denied so nothing personal is stored first.Getting the banner and defaults right is also what stops junk creeping into your reports later, from empty data views to double-counting.
Quick Answer: Doing this properly costs you far less data than most people fear. Blocking GA4 outright keeps the least; a bare consent banner keeps more; Basic Consent Mode more again; Advanced keeps the most by modelling the visitors who decline. Compliance and good data are not opposites — poor setup is the real data killer.
The worry we hear most is “won’t consent wreck my numbers?” A little — but nowhere near as much as going without Consent Mode. The chart shows the rough trade-off.
| Consent setup | Analytics signal kept |
|---|---|
| Block GA4 until consent, no Consent Mode | ~40% |
| Consent banner, tags hard-blocked | ~55% |
| Basic Consent Mode | ~70% |
| Advanced Consent Mode | ~90% |
Source: Illustrative scenario modelled on ZenWeb client setups, Malaysia, 2024–2026.
The jump from a hard-blocked banner to Advanced Consent Mode is the big one. Trustworthy data is also what lets you act fast when something moves — the same reason you want clean signals when rankings drop suddenly and you need the real cause.
Losing data to a clumsy consent setup?
We configure Consent Mode so you keep the most data the law allows. Get your GA4 and consent setup audited →
Quick Answer: Malaysia’s PDPA was amended in 2024, with big changes rolling out through 2025. Businesses now need a Data Protection Officer, must report serious breaches within 72 hours, and face a maximum fine raised to RM1,000,000. That makes a sloppy consent setup a bigger risk than it was even a year ago.
The rules you’re working under got stricter. The Personal Data Protection (Amendment) Act 2024 came into force in stages, and several changes land right on how you collect analytics data — per the Personal Data Protection Department. The table maps the headline ones.
| Change | In force from | What it means for tracking |
|---|---|---|
| Data Protection Officer required | 1 June 2025 | Someone must own how you collect and consent to data, analytics included |
| Breach notification (within 72 hours) | 1 June 2025 | A leak of tracked personal data now carries a reporting duty |
| Higher penalties (max fine RM1,000,000) | In force | Getting consent wrong costs more than before |
| Cross-border transfer guidelines | 2025 | Sending data to overseas servers needs a lawful basis |
Source: Personal Data Protection (Amendment) Act 2024, Personal Data Protection Department (JPDP).
None of this bans analytics. It just means the informal “we’ll sort it later” approach is riskier now — and a consent banner plus Consent Mode is the cheapest insurance you can buy against it.
Quick Answer: A standard WordPress site with a plug-in CMP is a fair DIY job — install the banner, set defaults to denied, test in DebugView. Bring in help when you run GTM, Advanced Consent Mode, or feed User-ID and offline data into GA4, where one wrong setting risks both your data and your compliance.
Here’s the rough line for when to call someone in.
The stakes rise once real customer data and real budget ride on the setup. That’s where our digital marketing team most often steps in — wiring the banner, the tags, and the notice so you measure fully and stay on the right side of PDPA.
Consent Mode and PDPA aren’t a wall between you and your data — they’re a way to collect it properly. Consent Mode is Google’s tool for reading a visitor’s choice; PDPA is the Malaysian law that makes asking the right move. Together they let GA4 keep working without quietly gathering data it shouldn’t.
Start simple: add a consent banner, default the signals to denied, grant on accept, write a clear notice, and test in DebugView. Do that and you keep most of your data, satisfy PDPA’s consent expectation, and stop losing sleep over the 2024 changes. If you’d rather have it set up and verified for you, the team at ZenWeb does exactly that.
No. Consent Mode is Google’s tool, not Malaysian law. Google only requires it for traffic from Europe and the UK. But PDPA requires consent to process personal data, and Consent Mode is the practical way to make GA4 respect that consent — so while it’s not legally mandated here, it’s the sensible way to comply.
It can. GA4 collects identifiers like cookies and IP addresses that PDPA may treat as personal data, so gathering them with no consent or notice risks the Consent and Notice principles. A consent banner plus Consent Mode is the safe path. This is general guidance, not legal advice — check your own case with a professional.
Basic is simpler and sends nothing before the visitor chooses. Advanced loads a limited cookieless tag and models the visits you’d otherwise lose, recovering more data from people who decline. Many smaller Malaysian sites start with Basic, then move to Advanced once the setup is proven and they need the reporting accuracy back.
Some, yes — visitors who decline aren’t fully tracked. But Consent Mode, especially Advanced, recovers much of that gap through modelling, keeping far more than blocking GA4 entirely. You trade a slice of raw data for staying lawful, and with Advanced the slice is small.
From June 2025, controllers and processors must appoint a Data Protection Officer and report serious breaches within 72 hours, and the maximum fine rose to RM1,000,000, per the Personal Data Protection Department. Cross-border transfer rules also tightened. Together they make getting your GA4 consent right more urgent than before.
Want GA4 that measures fully and stays within PDPA?
Book a free 30-minute session — we’ll review your consent banner, your Consent Mode setup, and your privacy notice, then give you a clear plan to keep your data and stay compliant.
Complete the form and our team will contact you to discuss your goals. Let’s grow your business.

Online