How to Set Up Website Analytics Using Fathom Analytics and Google Analytics

Tracking website traffic is essential for understanding how visitors find and interact with your site. Website analytics help you make informed decisions about content, marketing, and site performance. Fathom Analytics and Google Analytics are two powerful tools for tracking your website’s performance—Fathom focuses on privacy-friendly insights, while Google Analytics offers deep data tracking.

Why Website Analytics Matter

  • Understand Your Audience – Learn where your visitors come from, what pages they visit, and how long they stay.
  • Improve Website Performance – Identify pages with high bounce rates and optimize them.
  • Measure Marketing Success – See which strategies bring in the most traffic and conversions.

How to Set Up Fathom Analytics

Fathom Analytics is a lightweight, privacy-focused alternative to Google Analytics. It doesn’t use cookies, making it GDPR-compliant without needing a cookie banner.

Step 1: Create a Fathom Account

  1. Visit Fathom Analytics and sign up for an account.
  2. Once logged in, click Add a Site and enter your website URL.

Step 2: Add the Tracking Code to Your Website

  1. Copy the tracking script provided in your Fathom dashboard.
  2. Log in to your WordPress dashboard.
  3. Go to Appearance > Theme Editor or use a plugin like Insert Headers and Footers.
  4. Paste the tracking code into the <head> section of your site.
  5. Click Save Changes.

Step 3: Verify Tracking is Working

  1. Return to your Fathom Analytics dashboard.
  2. Visit your website in a new tab, then check the Fathom dashboard to see if the visit is recorded.

How to Set Up Google Analytics

Google Analytics provides deeper insights but requires cookie consent banners for compliance.

Step 1: Create a Google Analytics Account

  1. Go to Google Analytics and sign in with a Google account.
  2. Click Start Measuring and enter your website details.
  3. Select GA4 (Google Analytics 4) as your tracking type.

Step 2: Get Your Tracking Code

  1. In your Google Analytics dashboard, go to Admin > Data Streams.
  2. Click Web and enter your website URL.
  3. Copy the Tracking ID (Measurement ID).

Step 3: Install Google Analytics on WordPress

  1. Install the Google Site Kit plugin in WordPress.
  2. Connect your Google account and select the Google Analytics property you created.
  3. The plugin will automatically add the tracking code to your site.

Step 4: Verify That Tracking is Working

  1. Go to Google Analytics > Reports.
  2. Open your website in a new tab and check if Google Analytics detects activity.

Which Analytics Tool Should You Use?

  • Use Fathom Analytics if you want simple, privacy-friendly tracking without GDPR concerns.
  • Use Google Analytics if you need detailed reports, including user behavior, demographics, and conversion tracking.
  • Use both if you want deep insights from Google Analytics but also a lightweight privacy-friendly option with Fathom.

What’s Next?

Website analytics help you track your progress, but they’re only useful if your site is optimized for performance and conversions. A Website Diagnostic Review can help identify other areas for improvement, from SEO to page speed optimization. Learn more about the service here.

Meet the Author:

Picture of Chatsoni Brooks

Chatsoni Brooks

Websites for Bookkeepers owner and website strategist sharing tips, tools, and resources to help bookkeepers fix—and avoid—the 3 reasons most websites fail.

Website in a Box Template: Website Launch Checklist

Final steps to review before you launch your Website in a Box You’ve customized your site, and you’re almost ready to go live. This checklist will help you confirm that everything looks polished, works properly, and is ready to be shared with potential clients. No need to aim for perfection—just make sure the essentials are covered. 1. Review All Pages

Read More »

Website in a Box Template: How to Customize Your Resource Library Page

The Resource Library page is a flexible, bonus section that lets you showcase all your offers in one place—perfect for clients who have: This page includes: Step 1: Open the Resource Library Page in Elementor Step 2: Customize the First Resource Section Each section is designed to highlight a single resource. Repeat for each section you’d like to feature. Step

Read More »

Website in a Box Template: How to Customize Your Legal Pages

Your legal pages may not be the flashiest part of your site, but they’re essential for protecting your business, building trust, and complying with privacy laws. The good news? The hard part is already done. Your Privacy Policy, Terms & Conditions, Cookie Policy, and Disclaimer pages have already been created and saved as drafts—ready for you to personalize. Step 1:

Read More »

Website in a Box Template: How to Create a Blog Post

Blogging is a great way to: This tutorial walks you through how to create and publish your first blog post, step by step. Step 1: Go to the Posts Section Step 2: Add Your Blog Title and Content Start with a clear, helpful blog title.Then, begin writing your content in the block editor just like you would in a Google

Read More »