Skip to content

ItemConsulting/xp-fathom

Repository files navigation

Fathom app for XP

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.

Installation

This application can be installed from Enonic Market.

Warning Remember to add Fathom domains to your CORS configuration

Usage

Configuration

When you add the Fathom application to your site, you can to configure these fields under site config.

  1. Fathom site key (required)
  2. Tracking type – SPA modes
  3. Honor Do Not Track
  4. Ignore canonicals
  5. Automatically add script to page – (uncheck to not automatically add the script to your page. Useful for headless)

Deploying

Building

To build he project run the following code

enonic project build

Deploy locally

Deploy locally for testing purposes:

enonic project deploy

Deploy to Maven

./gradlew publish -P com.enonic.xp.app.production=true

About

Use Fathom Analytics to track visits to you XP-site – compliant with GDPR

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors