Setting up Google Analytics 4 (GA4) in today's Spanish market requires going beyond basic code installation; it involves shielding user privacy under the AEPD framework and structuring data that Google's machine learning can process accurately. In 2026, the difference between an account that only accumulates numbers and one that generates profits lies in advanced event measurement and the integration of user consent (Consent Mode v3).
To configure GA4 correctly in Spain, you must implement the web data stream, activate Google Signals for cross-device audiences, and, obligatorily, integrate Consent Mode to comply with the LSSI-CE and GDPR. A professional setup requires defining custom conversions based on Customer Lifecycle Value (LTV) and linking the property with Google Ads and Search Console to prevent attribution loss due to the disappearance of third-party cookies.
Key Takeaways
How to Configure Consent Mode to Comply with the AEPD?
Consent Mode configuration is the most critical step for any company operating in Spanish territory as of April 2026. It is not just about showing a cookie banner, but about communicating to GA4 which data it can collect based on the user's choice (analytics, ad personalization, etc.).
To do it correctly, we recommend using Google Tag Manager (GTM) along with a Google-certified Consent Management Platform (CMP). Since the March 2024 update and the 2026 adjustments, Consent Mode v3 allows for "conversion modeling." This means that if a user from Denia rejects cookies, GA4 uses artificial intelligence to estimate that user's behavior without using personal data, recovering up to 65% of lost conversion visibility.
Google now actively penalizes Google Ads accounts that do not have verified Consent Mode, limiting Smart Bidding capabilities and the reach of Performance Max campaigns in Spain.
Custom Event Configuration: From Clicks to Real Conversions
In 2026, measuring "page views" is insufficient. A high-level GA4 configuration must focus on the events that move your business's bottom line. Google uses the Enhanced Measurement system, but this often falls short for the specific needs of sectors like real estate or tourism on the Costa Blanca.
We recommend manually configuring "Lead Generation" events (form_start vs form_submit) and "Quality Engagement" (deep scroll + time on page over 90 seconds). For example, for a real estate portal in Altea, it is not enough to know someone viewed a property; we need an event that triggers when a user uses the mortgage calculator or downloads the property brochure.
The Importance of Data Retention and Google Signals
By default, GA4 is configured to retain event data for only 2 months. For any seasonality analysis—vital in tourist regions like the Valencian Community—this is a serious error.
You must go to *Property Settings > Data collection and modification > Data retention* and change the period to 14 months. Without this adjustment, you will not be able to compare the performance of your "Easter 2026" campaign with the previous year. Additionally, activating Google Signals is fundamental for obtaining demographic and interest reports, provided your privacy policy is updated to inform users about this cross-data collection.
The Apex Digital "2026 Data Hygiene" Framework
At Apex Digital, we have developed our own framework to ensure that Spanish SMEs do not make decisions based on dirty data. This framework, which we call Data Cleanse 26, is based on three pillars:
1. Internal Traffic Exclusion by IP: Mandatory so that visits from your employees at the Alicante office do not inflate metrics.
2. Domain Unification: If your booking engine or payment gateway is on an external domain, you must configure cross-domain measurement to avoid losing the traffic source origin.
3. Search Term Cleanup: Filtering technical URL parameters that clutter behavior reports.
From the Field: What We See on the Costa Blanca
Recently, we worked with a luxury restaurant chain with locations in Jávea and Moraira. While auditing their initial GA4, we discovered that 40% of their "confirmed bookings" were actually measurement noise: the system counted every time a user refreshed the confirmation page. Furthermore, being an international audience (British, Dutch, and German), their traffic was fragmented and they were not correctly complying with the bilingual cookie notice.
Our step-by-step intervention:
1. Technical Audit: We implemented GTM to unify tracking for the website's three languages.
2. Consent Correction: We configured a dynamic cookie banner that detected user location and applied GDPR rules, integrated with Consent Mode v3.
3. Conversion Events: We created a "Real Booking" event linked to a unique transaction ID variable to avoid duplicates.
4. Offline Attribution: We connected their table reservation system with GA4 using Measurement Protocol.
The result: Within 12 weeks, the client reduced their Cost per Acquisition (CPA) on Google Ads by 22%, as Google’s algorithms began receiving real, clean conversion data, not inflated figures. Additionally, we identified that the Dutch audience in Moraira had an average ticket value 15% higher than the rest, allowing us to reallocate the advertising budget to that specific segment before the high summer season.
Conclusion
GA4 configuration in 2026 is not an "install and forget" task. It is a continuous process that must balance data accuracy with absolute respect for Spanish privacy legislation. A well-optimized account is the most valuable asset for any digital growth strategy.
Next step: Review your data retention settings today in the GA4 admin panel to ensure you have enough history for your 2027 analyses.
Related Reads from Apex Digital
About the Author
Apex Digital is a hands-on digital marketing agency based on the Costa Blanca, Spain, working with SMEs, hospitality, real estate, and e-commerce brands in Alicante, Valencia, and the entire region since 2020. We don't just consult; we execute every technical step to ensure our clients' marketing is profitable and complies with local regulations.
Our editorial standards ensure that every article is reviewed by a human strategist, data-verified, and updated according to changes in Google guidelines.
Need help applying this to your business? Book a free strategy call.
Free Website Audit Template
42-point checklist. Score your site.
Want us to implement this for you?
If you'd rather have experts handle your digital marketing strategy, we're here to help.
Book a Strategy Call
