Skip to content

defixit/anonlytics-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

Anonlytics

In a world with all GDPR rules, an IP address is now already labeled as personal information and can therefore not just be passed on by your website/application.

That's why we introduce Anonlytics, the server side analytics tool that only works with anonymized data for website analytics.

Entirely in accordance with all the rules of the GDPR. Our servers are all located in Europe and no IP addresses are used anywhere.

This Symfony Bundle is part of https://anonlytics.eu, you need a (free) account to use this bundle for your website/application.

Installation

Use composer to add the library as dependency for your project

composer require defixit/anonlytics-bundle

Usage

Setup

At first, you need to create an account on Anonlytics.eu to get your client_token and site_token to connect to our services.

After you created an account on our website you can create a file with the name anonlytics.yaml in the config/packages/ folder, with the following content:

anonlytics:
  client_token: '%env(resolve:ANONLYTICS_CLIENT_TOKEN)%'
  site_token: '%env(resolve:ANONLYTICS_SITE_TOKEN)%'

Also add the following line to your bundles.php:

DeFixIT\AnonlyticsBundle\AnonlyticsBundle::class => ['all' => true],

Now you need two new variables in your .env file, so paste the next following content at the end of the file:

###> defixit/anonlytics-bundle ###
ANONLYTICS_CLIENT_TOKEN=#YOUR_ANONLYTICS_CLIENT_TOKEN
ANONLYTICS_SITE_TOKEN=#YOUR_ANONLYTICS_SITE_TOKEN

After this the bundle is set up and ready to connect and send the data to our service.