mash-playbook/docs/services/oxitraffic.md
2023-11-08 13:45:46 +01:00

1.7 KiB

OxiTraffic

OxiTraffic is a self-hosted, simple and privacy respecting website traffic tracker, that this playbook can install, powered by the mother-of-all-self-hosting/ansible-role-oxitraffic Ansible role.

Dependencies

This service requires the following other services:

Configuration

To enable this service, add the following configuration to your vars.yml file and re-run the installation process:

########################################################################
#                                                                      #
# oxitraffic                                                           #
#                                                                      #
########################################################################

oxitraffic_enabled: true
oxitraffic_hostname: traffic.example.org
oxitraffic_tracked_origin: https://example.org

########################################################################
#                                                                      #
# /oxitraffic                                                          #
#                                                                      #
########################################################################

You must include the counting script on the oxitraffic_tracked_origin by adding the following to you website

<script type="module" src="https://YOUR-OXITRAFFIC_HOSTNAME/count.js"></script>