Set up Google Analytics tracking for your site

Analyze site traffic with Google Analytics

While the below outlines how you can add Google Analytics tracking to your Prezly account, it's worth noting that we actually have an integrated analytics dashboard that uses Plausible Analytics to show you how many people are visiting your stories.

Learn more about Prezly's analytics dashboard

1. Find your tracking code

Please note: Google has two kinds of analytics tracking: the older Universal Analytics properties (codes starting with UA-) and the newer Google Analytics 4 properties (GA4 codes starting with G-).

Google are stopping data processing for the older style universal analytics in 2023, so if setting up with Google Analytics it's worth updating to the newer Google Analytics 4 style.

Google Analytics 4 properties have an ID that starts with "G-" instead of a Tracking ID that starts with "UA-."

Find your "G-" ID. Only GA4 properties have a "G-" ID.

  1. Sign in to your Google Analytics account.
  2. Click Admin.
  3. At the top of the Property column, select your property.
  4. In the Property column, click Data streams.
  5. Click the data stream for which you need the ID .
  6. Your "G-" Measurement ID appears in the top right - this is the code you need for the next step.
Finding your GA4 measurement ID
Finding your GA4 measurement ID

...Or setup using Google Universal Analytics (the older style)

To set up Google Analytics with Prezly, you need a Google Analytics site ID (the code to track your traffic). Create a GA account if you don't have one yet. 

When asked what you'd like to track, select Website.

When filling in the website name, it's best to use the name of the site you're going to track. In this example, that's "Graceland". Then, enter the full URL of the site, e.g. "" and set your timezone:

Then you need to specify your data sharing preferences. This does not impact the way your data is gathered, it is a personal preference. Read through the options and decide on which ones you want to opt out. Then, click Get Tracking ID.

You will land on the below page. The tracking ID is the code we need:

2. Paste your Tracking ID into your Prezly site

To add your Tracking ID to your site, navigate to Integration settings from the site dashboard, and paste your tracking ID in the field indicated in the Google Analytics account section. Click on Save Google Analytics, and you're good to go.

Go the extra mile: Page Analytics plugin for Chrome

Once you set up Google Analytics for your site, you can go a step further and install Page Analytics in your Chrome browser. This plugin allows you to view page analytics right on the page while you are viewing your site and the different Stories in your browser.

Join 500+ PR teams already loving Prezly

Take the stress out of contact management and distribution with a dedicated outreach CRM that your whole team can use.

Made with