Enonic XP Application for adding Fathom Analytics tracking script to your website.
Fathom also let you remove the cookie banner on your page, since it doesn't use cookies.
This application can be installed from Enonic Market.
Warning Remember to add Fathom domains to your CORS configuration
When you add the Fathom application to your site, you can to configure these fields under site config.
- Fathom site key (required)
- Tracking type – SPA modes
- Honor Do Not Track
- Ignore canonicals
- Automatically add script to page – (uncheck to not automatically add the script to your page. Useful for headless)
To build he project run the following code
enonic project buildDeploy locally for testing purposes:
enonic project deploy./gradlew publish -P com.enonic.xp.app.production=true