Google Tag Manager

When Google Tag Manager is configured in Sitecore Content Hub, information from Content Hub can be shared with other applications such as Google Analytics. Before you can use the Google Tag Manager, you must activate it 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).

  • id - the entity Id

  • definition - the definition name

  • lifecycle - the lifecycle status

Delete

An entity is deleted.

  • id - the entity Id

  • definition - the definition name

Download

An asset rendition is downloaded.

  • id - the entity Id

  • conversion - the rendition name

  • Definition - the definition name

Draft

An entity draft is created.

  • id - the entity Id

  • definition - the definition name

Edit

Changes made to an entity or portal page are saved.

  • id- the entity Id

  • section- the container name

  • definition - the definition name

Facet

A facet filter is added.

  • facet - the label of the facet

  • definition - the taxonomy definition

Fulltextsearch

A full-text search is performed.

  • searchterm - the full-text search value

Order

A download order is successfully completed (status code - 201).

  • target - the target count

  • individualconversions - the number of individual conversions

Pagesize

A page size is set for pagination.

  • info - the size of the paging

Pageview

A page is loaded.

  • culture - the culture of the page

  • page - the page object

Paging

A page is selected from the pagination menu.

  • info - the selected page index

Preview

An asset is previewed.

  • id - the entity Id

  • definition - the definition name

Publish

A theme or portal version is published.

  • id - the entity Id

  • definition - the definition name

Querybuilder

An advanced query search is performed.

  • field - the selected field name

  • operator - the selected operator name

  • searchterm - the search term values

Rating

An entity is given a rating.

  • id - the entity Id

  • score - the score

  • definition - the definition name

Search

A search is performed.

  • query - the search query

  • count - the search results count

  • config - the search defaults

Showmorefacets

All filters are displayed.

  • facet - the facet field name

Sorting

Some data is sorted.

  • direction - descending or ascending

  • field - the selected field

Upload

A file is uploaded.

  • file - the file name

Note

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

Do you have some feedback for us?

If you have suggestions for improving this article,