craftsnippets / craft-fathom-analytics
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- php: >=8.2
- craftcms/cms: ^5.0.0
This package is not auto-updated.
Last update: 2024-12-29 14:22:02 UTC
README
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() %}