Skip to content

craft-snippets/Craft-Fathom-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fathom Analytics integration

Requirements

This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.

Installation

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require craftsnippets/craft-fathom-analytics

# tell Craft to install the plugin
./craft plugin/install fathom-analytics-integration

Usage

In the plugin settings in the control panel, fill out Fathom site id setting and make sure that Include fathom tracking code setting is enabled.

In the site template, include this code:

{% do craft.fathomAnalytics.outputTrackingCode() %}

About

Fathom Analytics integration for Craft CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published