Skip to content

kx550/kirby3-fathom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby 3 Fathom

Plugin for Kirby 3 that adds the Fathom tracking code to your site.

If the user has set "Do Not Track" in the browser the code is not embedded.

Installation

Download

Download and copy this repository to /site/plugins/fathom.

Git submodule

git submodule add https://github.com/kx550/kirby3-fathom.git site/plugins/fathom

Composer

composer require kx550/fathom

Setup

Set the following in your config.php:

return array [
  'kx550.fathom.url' => 'analytics.yoursite.com', # required
]

Replace analytics.yoursite.com with the URL to your Fathom installation omitting the protocol.

Then add this code to your /snippets/footer.php: <?php echo snippet('fathom') ?>

License

MIT

About

Plugin for Kirby 3 that adds the Fathom Tracking Code to your site.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages