Analytics

The UBCMS supports tracking codes.

On This Page

Last reviewed: September 12, 2023

After July 1, 2023, Universal Analytics data is no longer being recorded by Google. We have transitioned to GA4 for all UBCMS sites.

Overview

The UBCMS supports the collection of usage data including Google Analytics and Universal Analytics.

UB’s centralized code (GTM-T5KRRKT) is added automatically to all published UBCMS pages.  To confirm this code is on your pages, view the HTML source code (e.g. Ctrl-U) and do a find-on-page for “GTM-“.

University Communications manages a Google Analytics GA4 property that collects usage data across all UBCMS websites. This data is available to all units in the UBCMS. UWLs and Site Owners/Managers can request viewer access to the GA4 property.

Google Analytics captures these metrics:

  • Audience: demographic, geographic and device information.
  • Acquisition: how users reach our pages
  • Behavior: how users interact with our pages
    • Site Content – traffic on and between pages 
    • Events – key page interactions (e.g. link clicks, navigation and plays)

Event Data Collected by Google Analytics

University Communications maintains a set of tags that collect data into different event categories. Each time a user 'clicks' a tagged element, Google Analytics records the link text (label) and URL under the corresponding category.

Universal Analytics Categories (ending July 1, 2023)

Event Category
Page Scope Description
UB - All Link Clicks - Page Entire Page Captures clicks for every link on the page, including navigation.
UB - All Link Clicks - Issues Banner Page Section Captures clicks for every link in the Issues Banner and Emergency Banner.
UB - All Link Clicks - Header Page Section
Captures clicks for every link in the header and sticky nav, including mobile and desktop.
UB - All Link Clicks - Header Mobile ONLY Page Section
Captures clicks for every link in the header and sticky nav on mobile only.
UB - All Link Clicks - Body Page Section
Captures clicks for every link in the
body section of the page. Specifically links within the '#columns' ID.   
UB - All Link Clicks - Footer Page Section
Captures clicks for every link in the
footer.
UB - Faces and Voices Hero Component Captures clicks for each quote and attribution in the slider. Also captures clicks on the '<' and '>' navigation arrows.
UB - CTA Button Bar - Links Component

Captures clicks on buttons in the CTA Button Bar component
UB - YouTube Component

Video Plays in the YouTube Component
UB - Button Clicks Component

Captures clicks for any UBCMS Button Component links
UB - Downloads - Links Component

Captures clicks for the File Download component. 
UB - Key Tasks - Links Component

Captures clicks on any Key task component link
UB - Tabs - Nav Component
Captures clicks on tabs within tab component

GA4 Categories (effective June 1, 2023)

Event Category
Page Scope Description
UB_All_Link_Clicks_Page Entire Page Captures clicks for every link on the page, including navigation.
UB_All_Link_Clicks_Issues_Banner Page Section Captures clicks for every link in the Issues Banner and Emergency Banner.
UB_All_Link_Clicks_Header Page Section
Captures clicks for every link in the header and sticky nav, including mobile and desktop.
UB_All_Link_Clicks_Header_Mobile_ONLY Page Section
Captures clicks for every link in the header and sticky nav on mobile only.
UB_All_Link_Clicks_Body Page Section
Captures clicks for every link in the
body section of the page. Specifically links within the '#columns' ID.   
UB_All_Link_Clicks_Footer Page Section
Captures clicks for every link in the
footer.
UB_Faces_and_Voices_Hero Component Captures clicks for each quote and attribution in the slider. Also captures clicks on the '<' and '>' navigation arrows.
UB_CTA_Button_Bar_Links Component

Captures clicks on buttons in the CTA Button Bar component
UB_YouTube Component

Video Plays in the YouTube Component
UB_Button_Clicks Component

Captures clicks for any UBCMS Button Component links
UB_Downloads_Links Component

Captures clicks for the File Download component. 
UB_Key_Tasks_Links Component

Captures clicks on any Key task component link
UB_Tabs_Links Component
Captures clicks on tabs within tab component

Roles and Permissions Requests

We can only delegate access to Gmail accounts or Google accounts that are locally managed by UB.  This section is for access by UB units. For outside vendors, please see GTM access for Vendors and Developers.

GA4 supports these roles:

  • Viewer  (default) -- new name for 'Read & Analyze'
    • Can see settings and data, change which data appears in reports (e.g., add comparisons, add a secondary dimension); see shared assets via the user interface or the APIs. Cannot collaborate on shared assets.

GTM supports these roles:

  • Read (default)
    • Can see the container listed and browse tags, triggers, and variables in the container, but cannot make any changes.
  • Edit (highly skilled UB users)
    • Can create workspaces and make edits but cannot create versions or publish changes.

GTM Access for Vendors and Developers

Was This Information Helpful?

(Required)
(Required)
(so we can thank you or request more details)
(Required)
(buffalo.edu addresses only please)
(Required)