Download the PHP package paulmorel/fathom-analytics without Composer

On this page you can find all versions of the php package paulmorel/fathom-analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fathom-analytics

Kirby Fathom Analytics

GitHub release (latest by date) Kirby CMS Version License

A Kirby 3 plugin for integrating the privacy focused Fathom Analytics service to your site.

Main Feautres

This plugin does two things:

Requirements

Installation

Download

Download and copy this repository to the plugins folder of your Kirby 3 installation. You should end up with a folder structure like this:

Git submodule

If you prefer to use Git submodules, you can install the plugin like this:

Composer

If you are using Composer, you can install the plugin like this:

Usage

Setup

After installing the plugin, there a couple of important steps to do in your Fathom Analytics settings.

  1. If not already done, add your site in Fathom Analytics
  2. Go to your site settings and get the SiteID.
  3. Still in the site settings, setup Site Sharing, either Public or Private.

Afterwards, in your site config, add your SiteID and the share password (if needed).

Example:

Embedding the tracking code

The tracking code is provided as a snippet, so it can be simply embedded in the <head> tag with the snippet() helper function.

If no siteId is provided, the snippet does nothing.

Viewing your stats

The plugin provides a panel view that loads your site's analytics dashboard in an iframe. Simply open the menu in the panel's top bar and click on Analytics.

Options

siteId (Required)

This is the SiteID provided by Fathom Analytics at the top of your site's setting page.

sharePassword

This is the share password for your site's dashboard. This is only required if you set Site Sharing to Private.

customDomain

If you use the custom domain feature with Fathom Analytics, you can set it with this option.

Example:

disableForRole

Allows you to disable the tracking code for logged in users with the specified roles. Expects an Array. Defaults to ['admin'].

Examples:

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

License

MIT

Support

This plugin is completely free to use, but if you'd like to support me or this project, consider signing-up to Fathom Analytics with my affiliate link.


All versions of fathom-analytics with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package paulmorel/fathom-analytics contains the following files

Loading the files please wait ....