Code Add Fathom Analytics to Jekyll Learn how-to add self-hosted Fathom Analytics to your Jekyll theme. Add the following code snippet in between the head HTML tags in your Jekyll theme's default.html file.