1. Sitecore Content Hub

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.

EventDescriptionData sent
ChangelifecycleAn entity's status is changed (for example, to approve or reject).
  • id - the entity Id
  • definition - the definition name
  • lifecycle - the lifecycle status
DeleteAn entity is deleted.
  • id - the entity Id
  • definition - the definition name
DownloadAn asset rendition is downloaded.
  • id - the entity Id
  • conversion - the rendition name
  • Definition - the definition name
DraftAn entity draft is created.
  • id - the entity Id
  • definition - the definition name
EditChanges made to an entity or portal page are saved.
  • id- the entity Id
  • section- the container name
  • definition - the definition name
FacetA facet filter is added.
  • facet - the label of the facet
  • definition - the taxonomy definition
FulltextsearchA full-text search is performed.
  • searchterm - the full-text search value
OrderA download order is successfully completed (status code - 201).
  • target - the target count
  • individualconversions - the number of individual conversions
PagesizeA page size is set for pagination.
  • info - the size of the paging
PageviewA page is loaded.
  • culture - the culture of the page
  • page - the page object
PagingA page is selected from the pagination menu.
  • info - the selected page index
PreviewAn asset is previewed.
  • id - the entity Id
  • definition - the definition name
PublishA theme or portal version is published.
  • id - the entity Id
  • definition - the definition name
QuerybuilderAn advanced query search is performed.
  • field - the selected field name
  • operator - the selected operator name
  • searchterm - the search term values
RatingAn entity is given a rating.
  • id - the entity Id
  • score - the score
  • definition - the definition name
SearchA search is performed.
  • query - the search query
  • count - the search results count
  • config - the search defaults
ShowmorefacetsAll filters are displayed.
  • facet - the facet field name
SortingSome data is sorted.
  • direction - descending or ascending
  • field - the selected field
UploadA file is uploaded.
  • file - the file name
visualSearchByColorFind assets with the selected color.
  • color
visualSearchByImageFind assets similar to one in Content Hub.
  • id - the entity ID
visualSearchByTextFind assets that visually match the given description.
  • text
visualSearchByUploadedImageFind 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.

If you have suggestions for improving this article, let us know!