From dcfb172704f3afb68a30425029ec834be2883274 Mon Sep 17 00:00:00 2001 From: bt Date: Sat, 8 Jun 2024 13:22:19 -0400 Subject: More content porting, on-going markdown changes for lowdown support --- build/fathom-analytics-netlify/index.html | 70 ++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 24 deletions(-) (limited to 'build/fathom-analytics-netlify/index.html') diff --git a/build/fathom-analytics-netlify/index.html b/build/fathom-analytics-netlify/index.html index 9cab8a2..8128c04 100644 --- a/build/fathom-analytics-netlify/index.html +++ b/build/fathom-analytics-netlify/index.html @@ -1,40 +1,54 @@ - + Setting Up Fathom Analytics with Netlify - - + + +
-

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:

+ +

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:

+ +

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. +
  5. Have an active Fathom account (or are at least trying the 7-day free trial)
  6. +
  7. Have a website already setup on Netlify (custom domain optional)
-

And that's all you need.

-

Step 1: Adding a Custom Domain (DNS Setup)

+ +

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. Select Domains from the sidebar
  3. @@ -42,29 +56,37 @@
  4. Select Start Process
  5. Keep note of both the CNAME and VALUE (we will copy this in a moment)
+

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

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

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:

+ +

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. Enter your custom domain in the Add a new site input and click Get site code
  3. -
  4. In the modal prompt, select your custom domain from the dropdown list (you'll see the script code change accordingly)
  5. +
  6. In the modal prompt, select your custom domain from the dropdown list (you’ll see the script code change accordingly)
  7. Copy the tracking code snippet and add it to all the pages you plan to track on your site
  8. When ready, select Verify site code
  9. If everything went correctly you should be done!
-

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!

+ +

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!