---
title: "Google Tag Manager"
slug: "google-tag-manager"
abstract: "Overview of how Content Hub can share information with other applications using Google Tag Manager."
---
# Google Tag Manager

When [Google Tag Manager](https://marketingplatform.google.com/about/tag-manager/) is configured in Sitecore Content Hub, information from Content Hub can be shared with other applications such as [Google Analytics](https://doc.sitecore.com/ch/en/users/content-hub/set-up-google-analytics-with-google-tag-manager.html "Set up Google Analytics with Google Tag Manager"). Before you can use the Google Tag Manager, you must [activate it](https://doc.sitecore.com/ch/en/users/content-hub/activate-the-google-tag-manager.html "Activate the Google Tag Manager") in Content Hub.

Content Hub sends information about the following events to Google Tag Manager.

| Event | Description | Data sent |
| --- | --- | --- |
| **Changelifecycle** | An entity's status is changed (for example, to approve or reject). | <ul><li>**id** - the entity Id</li><li>**definition** - the definition name</li><li>**lifecycle** - the lifecycle status</li></ul> |
| **Delete** | An entity is deleted. | <ul><li>**id** - the entity Id</li><li>**definition** - the definition name</li></ul> |
| **Download** | An asset rendition is downloaded. | <ul><li>**id** - the entity Id</li><li>**conversion** - the rendition name</li><li>**Definition** - the definition name</li></ul> |
| **Draft** | An entity draft is created. | <ul><li>**id** - the entity Id</li><li>**definition** - the definition name</li></ul> |
| **Edit** | Changes made to an entity or portal page are saved. | <ul><li>**id**- the entity Id</li><li>**section**- the container name</li><li>**definition** - the definition name</li></ul> |
| **Facet** | A facet filter is added. | <ul><li>**facet** - the label of the facet</li><li>**definition** - the taxonomy definition</li></ul> |
| **Fulltextsearch** | A full-text search is performed. | <ul><li>**searchterm** - the full-text search value</li></ul> |
| **Order** | A download order is successfully completed (status code - 201). | <ul><li>**target** - the target count</li><li>**individualconversions** - the number of individual conversions</li></ul> |
| **Pagesize** | A page size is set for pagination. | <ul><li>**info** - the size of the paging</li></ul> |
| **Pageview** | A page is loaded. | <ul><li>**culture** - the culture of the page</li><li>**page** - the page object</li></ul> |
| **Paging** | A page is selected from the pagination menu. | <ul><li>**info** - the selected page index</li></ul> |
| **Preview** | An asset is previewed. | <ul><li>**id** - the entity Id</li><li>**definition** - the definition name</li></ul> |
| **Publish** | A theme or portal version is published. | <ul><li>**id** - the entity Id</li><li>**definition** - the definition name</li></ul> |
| **Querybuilder** | An advanced query search is performed. | <ul><li>**field** - the selected field name</li><li>**operator** - the selected operator name</li><li>**searchterm** - the search term values</li></ul> |
| **Rating** | An entity is given a rating. | <ul><li>**id** - the entity Id</li><li>**score** - the score</li><li>**definition** - the definition name</li></ul> |
| **Search** | A search is performed. | <ul><li>**query** - the search query</li><li>**count** - the search results count</li><li>**config** - the search defaults</li></ul> |
| **Showmorefacets** | All filters are displayed. | <ul><li>**facet** - the facet field name</li></ul> |
| **Sorting** | Some data is sorted. | <ul><li>**direction** - *descending* or *ascending*</li><li>**field** - the selected field</li></ul> |
| **Upload** | A file is uploaded. | <ul><li>**file** - the file name</li></ul> |
| **visualSearchByColor** | Find assets with the selected color. | <ul><li>**color**</li></ul> |
| **visualSearchByImage** | Find assets similar to one in Content Hub. | <ul><li>**id** - the entity ID</li></ul> |
| **visualSearchByText** | Find assets that visually match the given description. | <ul><li>**text**</li></ul> |
| **visualSearchByUploadedImage** | Find assets similar to one uploaded to Content Hub. | N/A |

> [!note]
> All events have an additional dynamic parameter named **options** that is used to derive the page name. It contains **pageName**, **userId**, and **detailsEntityId**.