From 07e4a2dafe248280b5610f8c7d09b0f30b530f54 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Mon, 10 Jun 2024 09:41:25 -0400 Subject: Initial modifications to rebuilt only changed files based on mod date, performance updates --- build/fathom-analytics-netlify/index.html | 90 ------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 build/fathom-analytics-netlify/index.html (limited to 'build/fathom-analytics-netlify/index.html') diff --git a/build/fathom-analytics-netlify/index.html b/build/fathom-analytics-netlify/index.html deleted file mode 100644 index e74d457..0000000 --- a/build/fathom-analytics-netlify/index.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - Setting Up Fathom Analytics with Netlify - - - - - - - -
-

Setting Up Fathom Analytics with Netlify

-

2021-01-19

-

It’s no secret that I’m passionate about open source software, but I’m also extremely adamant about protecting the privacy of all users across the web. So when I decided to implement analytics on my own personal website, I ended up choosing Fathom (get a $10 credit using that link!).

-

You should research further into the company yourself if you’re interested, but in a nutshell the Fathom platform provides:

- -

Although this might sound like a “paid” blog post, I can assure you this is completely based on my own opinions and experience with the service. I’m just very pleased with the product :)

-

Enough chit-chat - let’s breakdown how to setup Fathom on your own site hosted through Netlify!

-

Step 0: Assumptions

-

I’m going into this tutorial with the assumption that you:

-
    -
  1. Have an active Fathom account (or are at least trying the 7-day free trial)
  2. -
  3. Have a website already setup on Netlify (custom domain optional)
  4. -
-

And that’s all you need.

-

Step 1: Adding a Custom Domain (DNS Setup)

-

Even though you have the option to use the default tracking script URL, I would highly recommend setting it up through your own domain. This helps avoid any browser extensions or firewalls that might block outside URL request made by individual sites.

-
    -
  1. Navigate to the Fathom Settings page in the bottom footer (must be logged in)
  2. -
  3. Select Domains from the sidebar
  4. -
  5. Enter your custom domain in the Add a new custom domain input
  6. -
  7. Select Start Process
  8. -
  9. Keep note of both the CNAME and VALUE (we will copy this in a moment)
  10. -
-

Open a new tab, and login to your Netlify account:

-
    -
  1. From your Team Overview page, navigate to the top-level Domains page
  2. -
  3. Select the domain you plan to add Fathom to
  4. -
  5. Under DNS settings > DNS records select Add New Record
  6. -
  7. Select CNAME from the dropdown of available options
  8. -
  9. Paste the Fathom CNAME (from the steps above) into the Name input
  10. -
  11. Paste the Fathom VALUE (from the steps above) into the Value input
  12. -
  13. Click Save
  14. -
-

That’s it for DNS setup!

-

Step 2: Adding Fathom Your Website

-

Now that we will be using our own custom domain for the script, it’s time to actually add it to our website. From the same Fathom Settings page as before:

-
    -
  1. Navigate to the Sites page in the sidebar
  2. -
  3. Enter your custom domain in the Add a new site input and click Get site code
  4. -
  5. In the modal prompt, select your custom domain from the dropdown list (you’ll see the script code change accordingly)
  6. -
  7. Copy the tracking code snippet and add it to all the pages you plan to track on your site
  8. -
  9. When ready, select Verify site code
  10. -
  11. If everything went correctly you should be done!
  12. -
-

Step 3: Watch Those Live Stats!

-

Open a cold beer (or a bubbly soda if you prefer) and watch your website visitor stats come rolling in on the dashboard! Not only do you now have solid analytics on your website but you have the piece of mind that your users’ privacy isn’t being invaded. Everybody wins!

- \ No newline at end of file -- cgit v1.2.3-54-g00ecf