---
updatedAt: 2026-04-11T02:12:14.000Z
agentTools:
  projectIndex: https://docs.developers.convert.com/v1.0-web/llms.txt
---

# CDN and Geolocation Data

## Overview

Convert's tracking script uses **Akamai CDN** in production to deliver the script and provide geolocation data for visitor targeting.

## Geolocation Format

Akamai returns ISO 3166 codes for geographic data:

| Field        | Format                 | Example                |
| ------------ | ---------------------- | ---------------------- |
| Country      | ISO 3166-1 alpha-2     | `"US"`, `"GB"`, `"DE"` |
| State/Region | ISO 3166-2 subdivision | `"CA"`, `"TX"`, `"BY"` |
| City         | Uppercase string       | `"DALLAS"`, `"LONDON"` |
| Continent    | Two-letter code        | `"NA"`, `"EU"`, `"AS"` |

## Accessing Geolocation Data

Use `convert.getUserData()` in the browser console to inspect the geolocation object:

```json
{
  "geo": {
    "country": "US",
    "city": "DALLAS",
    "continent": "NA",
    "state": "TX"
  }
}
```

## Usage

Geolocation data is used for:

* **Audience targeting** — Show experiences only to visitors from specific countries or regions
* **Consent conditions** — Require consent only for visitors in GDPR/CCPA jurisdictions
* **Personalisation** — Deliver region-specific content

For implementation details, see the [Region-Specific Consent](/recipes/region-specific-consent) recipe.

## Reference

For full details on the Akamai User Location Object, see the [Akamai EdgeWorkers documentation](https://techdocs.akamai.com/edgeworkers/docs/user-location-object).