The NC State Web Platform provides a robust platform for sites of all sizes and types.
Browse the blocks available in the NC State theme and see how each one works.
Explore
Beyond the core platform, explore the additional tools and services that extend what you can do online.
Guides for the outside tools that work with your site, including Acoustic, Slate, forms, events and analytics.
Everything you need to create your content, structure your site and take it live.
Take your live site to the next level with best practices for content, search and performance.
University Communications and OIT provide a variety of methods to support you and your website.
Web Platform
Getting Started
Blocks and Page Layout
News and Posts
Other NC State Digital Products
EMDS
Third Party Tools
Acoustic
Embedded Forms
Slate
Analytics and Reporting
Events Calendaring
Build and Launch
Content creation
Structure and navigation
Launch and manage
Improve and Optimize
Best Practices
Search and analytics
Performance and quality
Support and Updates
Get help
Training
This guide will help you install Google Tag Manager and Google Analytics 4 on your website.
Google Analytics 4 (GA4) is the latest version of Google’s analytics platform, designed to provide a more comprehensive view of user behavior across websites and apps. GA4 uses an event-based data model, enabling more detailed tracking and analysis of user interactions. GA4 is the most common web analytics tool used to evaluate website performance at NC State.
Google Tag Manager (GTM) is a separate tool that simplifies the process of adding and managing marketing and analytics tags and pixels on your website without modifying the site code directly. Google offers GTM as a helpful WordPress plugin for any user to manage and deploy analytics and marketing tags as well as other code snippets using an intuitive web UI.
Tags and pixels are small code snippets used to collect data and send it to third-party tools like GA4. We strongly recommend installing GA4 via GTM to simplify future custom analytics or digital advertising setup, for tag and pixel installation, and to decrease page load times.
To get started, you will need admin-level access to your website’s WordPress dashboard and an NC State Google account. If you need assistance with these, contact your website manager or designated IT support representative.
This guide will cover these recommended steps:
You will be prompted to review a service agreement and either accept or reject it.
On the next screen, you will be prompted to install the GTM tag on your website. You don’t need to copy the entire code snippet; just copy the unique code that starts with “GTM-.” This is your GTM account identifier.
Optional: For more information on setting up a GTM account and container, see the GTM Google Support page.
To install GTM on your website:
This section will present a brief overview of how to set up a GA4 account. For a more detailed guide, view the official Google documentation page.
To set up a new GA4 account and property:
This section will walk you through how to install GA4 on your website via GTM. For detailed instructions, refer to Google’s official documentation.
To install GA4 via GTM:
For a tutorial covering the steps above, see the video below:
Some useful settings in GA4 are not enabled by default. The following optional steps are recommended.
Looker Studio, formerly known as Google Data Studio, is a data visualization tool that lets users create reports and dashboards. It integrates with various data sources like Google Analytics, Google Ads, and BigQuery. Looker Studio can be useful for building shareable, on-brand reports and dashboards that visualize GA4 data about how your website is performing.
University Communications and Marketing has made this Looker Studio report available for free to the NC State community. This report is designed to provide a brief snapshot of your website’s performance, and it can be exported as a PDF for easy sharing. The report contains instructions on how to use it.
To use the report with your new GA4 account data:
For more details, visit the Looker Studio help center.
Microsoft Clarity is a free web analytics tool that provides insights into user interactions on your website through features like session recordings and heat maps. It can help you understand user behavior, identify pain points and inform enhancements to the website. It can be helpful to use Microsoft Clarity on your website in addition to, but not necessarily in place of, GA4.
To install Microsoft Clarity on your website via the GTM account you set up earlier in this tutorial, follow these steps:
Note: Clarity will ask for your website’s URL during project setup, so have that ready.
Have questions? Feel free to reach out with any questions or concerns at go.ncsu.edu/ucomm-dev-request.
TOP LINKS