❓ What Are Cookies and localStorage?
Cookies are small text files that websites store on your device when you visit them. PlayasdeCancun.com primarily uses localStorage (your browser's local storage) to save your preferences, and cookies set by Google Analytics and Google AdSense for analytics and advertising.
Neither cookies nor localStorage can run programs or transmit viruses. localStorage data stays on your device and is never sent to our servers.
🔒 Essential Storage (localStorage)
PlayasdeCancun.com stores the following keys in your browser's localStorage. This data never leaves your device and is necessary for the site to function properly:
| Key | Purpose | Type |
|---|---|---|
| cookie_consent | Records that you accepted the cookie notice. Without this value, the cookie banner appears on every visit. | Essential |
| lang | Stores your preferred language: "es" (Spanish) or "en" (English). Displays the site in your language without asking each time. | Essential |
| lang_visited | Marks that you have visited the site before. Prevents automatic language detection on subsequent visits. | Essential |
| theme_preference | Stores your visual theme preference: "dark" or "light" mode. | Essential |
| coco_favorites | Stores your favorite beaches list as a JSON array (e.g., ["delfines","forum"]). Lets you bookmark and remember your preferred beaches. | Functional |
💡 Note about localStorage
Unlike cookies, localStorage data does not have an automatic expiration date. It remains until you manually clear it from your browser or delete site data.
📊 Google Analytics Cookies
PlayasdeCancun.com uses Google Analytics 4 (measurement ID: G-MNBN7LBQ6J) to understand how visitors use the site: which beaches are most consulted, which countries visitors come from, and what devices they use. These cookies are set by Google, not by PlayasdeCancun.com:
| Cookie | Purpose | Duration |
|---|---|---|
| _ga | Assigns a unique anonymous identifier to distinguish visitors. Contains no personal data. | 2 years |
| _ga_MNBN7LBQ6J | Cookie specific to the PlayasdeCancun.com GA4 property. Maintains browsing session state. | 2 years |
| _gid | Temporary identifier that distinguishes visitors within a 24-hour period. | 24 hours |
💡 What data does Google Analytics collect on PlayasdeCancun.com?
Anonymous, aggregated information: country of origin, device type (mobile/desktop), browser, beach pages visited, time spent, and traffic source. Google Analytics anonymizes IP addresses. It does NOT collect name, email, phone number, or any personally identifiable information.
📢 Google AdSense Cookies
PlayasdeCancun.com displays advertising through Google AdSense (publisher ID: ca-pub-7696949708383647) to keep the site free. Google AdSense may set additional cookies to:
- Show relevant ads based on your interests and previous browsing
- Limit the frequency with which you see the same ad
- Measure advertising campaign performance
Advertising cookies are managed entirely by Google. You can opt out of personalized advertising by visiting Google Ads Settings or aboutads.info.
🌐 Other External Services
PlayasdeCancun.com integrates the following services that may establish external connections but do not set additional cookies:
Google Fonts
Loads the Plus Jakarta Sans and Inter typefaces from Google servers. Your browser sends your IP to Google to download the fonts. Google Privacy Policy
Open-Meteo
Free weather API used to display climate and wave conditions for each beach. Does not set cookies. PlayasdeCancun.com sends only the geographic coordinates of the beaches, not visitor data.
Leaflet + OpenStreetMap
Interactive maps showing the location of each beach. Map tiles are loaded from OpenStreetMap servers. OSM Privacy Policy
⚙️ How to Manage Cookies and localStorage
From PlayasdeCancun.com
The first time you visit the site, a banner appears where you can accept cookies. You can change your preference at any time from the "Cookies" link in the footer.
From your browser
You can delete cookies and localStorage data from your browser settings:
- Google Chrome: Settings > Privacy and security > Cookies and other site data > See all site data and permissions > search "playasdecancun.com" > Delete
- Safari (iPhone/Mac): Settings > Safari > Clear History and Website Data. On Mac: Safari > Preferences > Privacy > Manage Website Data
- Mozilla Firefox: Settings > Privacy & Security > Cookies and Site Data > Manage Data > search "playasdecancun.com" > Remove Selected
What happens if you clear data? PlayasdeCancun.com will continue to work without issues. The only difference is that your preferences will reset: you will see the cookie banner again, the site will use the default theme and language, and your favorite beaches list will be empty.
🔄 Updates to This Policy
PlayasdeCancun.com may update this policy when new services are integrated or the cookies used change. The last updated date will always be visible at the top of this page.
📧 Have Questions?
If you have questions about how PlayasdeCancun.com uses cookies or local storage, write to us:
We will respond as soon as possible
contacto.playasdecancun@gmail.com