Google Analytics Best Practices

Best practices for setting up your Google Analytics GA4 properties.
Sound Data Solutions blog cover image
Written by

Google Analytics is a powerful tool that helps businesses and organizations understand how people interact with their website. By tracking key metrics and analyzing behavior, you can make data-driven decisions to improve your online presence and achieve your business goals.

To get the most out of Google Analytics, it's important to follow best practices when setting it up and using it. In this article, we'll cover the top best practices for using Google Analytics, including how to increase data retention, enable enhanced measurement, exclude your internal IP addresses, and track conversions.

By following these best practices, you can ensure that you are getting the most accurate and actionable data from Google Analytics, and using it to its full potential.

GA4 is replacing Universal Analytics

If you're a digital marketer or web administrator, you've probably heard the news that Google Analytics 4 (GA4) is replacing Universal Analytics (UA). But what does this mean for you and your business?

First, it's important to understand that GA4 is not just an update to UA; it's a completely new product with new features and capabilities. Some of the key differences between the two include:

  • GA4 is built on a new data model that allows more granular and flexible event tracking.
  • GA4 includes new machine learning capabilities that can help you understand your visitors better and make more informed decisions. For example, the new "Insights" feature users machine learning to automatically identify patterns in your data and surface key insights and recommendations.
  • GA4 integrates more seamlessly with other Google products, such as Google Ads, Google Marketing Platform, and Google BigQuery. This allows you to get a amore holistic view of your marketing efforts and make better informed decisions.

So, should you make the switch to GA4? It's ultimately up to you, but Google will be retiring UA on July 1, 2023 and we recommend making the switch sooner than later.

GA4 is a powerful new product that offers a number of benefits over UA. If you are looking for assistance migrating from UA to GA4, Sound Data Solutions can help make the process smooth.

Best Practices for Analytics Configuration

Increase default retention settings

After setting up your Google Analytics property, one of the first recommended things to do is change the retention settings from 2 months to 14 months. This will ensure you are keeping your event data available for longer.

To change the retention setting from your Google Analytics console, navigate to Admin > Data Settings > Data Retention.

Google Analytics Data Retention MenuGoogle Analytics Data Retention Settings

Enable Enhanced Measurement

GA4 enhanced measurement is a feature that allows you to track and measure additional events and interactions on your website beyond the standard set of events and metrics provided by Google. This can be useful if you have specific business goals or needs that are not covered by the standard set of events and metrics.

To enable GA4 enhanced measurement from your Google Analytics console, navigate to Admin > Data Streams > [Your Data Stream] > Enhanced Measurement. Make sure the enhanced measurement slider is turned on, then open the settings to turn on all options.

Google Analytics Enhanced Measurement MenuGoogle Analytics Enhanced Measurement Settings

Exclude your IP address

While developing or accessing your site, your own traffic will be tracked in Google Analytics and can skew your perspective on true visitor behavior. To avoid this, it is a good practice to exclude your IP address from being tracked.

To exclude your IP address from Google Analytics, you need two things: (1) a rule to identify internal traffic, and (2) a filter to exclude internal traffic.

To create a rule for identifying internal traffic, go to your Google Analytics Console and navigate to Admin > Data Streams > [Your Data Stream]. The setting for internal traffic is a little bit buried, but you can find it under Configure tag settings > Show all > Define internal traffic.

Google Analytics data stream tag settings for internal trafficGoogle Analytics data stream internal traffic rule settings

Once you have defined your internal traffic, navigate to Admin > Data Settings > Data Filters in the Google Analytics console.

Google Analytics Data Filter Settings

Create a new internal traffic filter as shown below.

Google Analytics Data Filter TypesGoogle Analytics Data Filter Types

You can run the traffic filter in test mode to verify that your internal traffic does not display (check the Realtime report while visiting your site). Once you confirm the filter is working as designed, go back into the filter settings and activate it.

Use conversion tracking to track visitor behavior on your site

Conversion tracking in Google Analytics is a feature that allows you to track specific actions or events on your website that are important to your business. For example, you might want to track when someone makes a purchase, subscribes to a newsletter, or fills out a form. By tracking these events, you can better understand how people interact with your website and make data-driven decisions to improve your business.

There are a few ways to set up conversion tracking in GA4:

  1. Using GA4 events. To set up event tracking, you will need to add some code to your website that sends an "event" to GA4 every time the event occurs. This event can be triggered by an action, such as clicking a button, or by a change in the webpage, such as navigation to a new page.
  2. Using Google Tag Manager (GTM). GTM is a tool that allows you to manage and deploy marketing and analytics tags on your site. You can use GTM to set up conversion tracking in GA4 by creating a "tag" that fires when a specific event occurs.
  3. Using the GA4 Measurement Protocol. The GA4 Measurement Protocol is a way to send data directly to GA4 from a server or other non-web based environment. You can use it to set up conversion tracking in GA4 by sending an "event" whenever an event occurs.

Once you set up conversion tracking in GA4, you can view the data in the "Conversions" report. This report will show you the number of conversions and the conversion rate for each event you are tracking. You can also use this to create custom audiences and segment your data to better understand your visitors and improve your business.

Professional Services

If you're interested in setting up or optimizing your analytics, but don't have the time or expertise to do it yourself, consider working with a professional. I offer a range of services to help businesses and organizations set up and maintain their analytics accounts, including account setup, tracking code installation, custom reporting, and advanced data analysis.

With my help, you can ensure that your Google Analytics account is set up correctly and providing the insights you need to make data-driven decisions and improve your business. Contact me to learn more and schedule a consultation to discuss your specific needs.

More blogs and insights

The Teacup Analogy

The teacup analogy reveals a simple truth about sustainable web design.

Choosing the Right Site for your Business

Make the critical decision between template and custom websites for your business's online presence. Understand the advantages and disadvantages of both.

Charting a Greener Path: Our Sustainability Journey

Learn about our proactive measures to calculate and offset carbon emissions, and our commitment to holistic, eco-friendly practices in the digital realm.

Creating a Future Vision for Sound Data Solutions

Our transformative journey toward setting a greener digital standard to make successful businesses and magnify the impact of nonprofits.