hostNameIncludes the subdomain and domain names of a URL; for example, the Host Name of www.example.com/contact.html is www.example.com.
Source: Google Analytics Data API schema, official (docs)
The subdomain and domain names of a URL that people visited on your website. For example, the hostname of 'www.example.com/contact.html' is 'www.example.com'.
First seen 2022-04-14 · last seen 2026-08-10
| Category | Page / screen |
|---|---|
| Scope | Event-scoped |
| Populated | This dimension is populated automatically. Note that populating the page_location parameter manually overrides the automatically collected value. If you decide to override it, you should use the full URL. |
| Is Calculated | - |
| Looker Studio | ✅ |
| Explorations | ✅ |
| API | ✅ |
| API Name | hostName |
| Audiences | ✅ |
| Customization | ✅ |
| Filters/Comparisons | ✅ |
| SubProperty Filters | - |
| Realtime | - |
| Custom Insight | - |
| Reporting Pickers | ✅ |
| Benchmarking | - |
| Access Report | - |
| Formatting Type | STRING |
| Attribution Model Name | - |
| Data restriction | - |
| Frontend Name | hostname |
| Backend Name | hostname |