The UBCMS supports tracking codes.
Last reviewed: October 15, 2024
After July 1, 2023, Universal Analytics data is no longer being recorded by Google. We have transitioned to GA4 for all UBCMS sites.
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:
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.
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 |
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 |
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:
GTM supports these roles:
How do I track a UBCMS tab..?
UBCMS tabs are considered by Google to be separate pages. Each is tracked as a “dot” version of the main page, labeled by the name of the tab.
For example, the UB at a Glance page has a set of tabs that are labeled ‘Students’ and ‘Faculty’.
These guidelines apply to adding analytics tracking codes to UBCMS websites.
To work correctly, Google Analytics can be placed in an HTML Snippet on the header (or footer), or in the Properties of your site's home page, but NOT in the header or footer page Properties.