clickd

command module
v0.0.0-...-7cff283 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

README

ClickD

A super-simple analytics system.

Config

# List of hosts that are allowed to send tracking data
AllowedHosts = [
    "http://localhost:8080"
]

# Configure your postgres database here
DbDsn = "host=localhost user=postgres password=postgres dbname=clickd port=5432 sslmode=disable"

# Host that the server is exposed as
Host = "http://localhost:8080"

Usage

Tracker script

Add the following <script> tag to your site:

<script src="https://analytics.example.org/tracker.js" async defer>

Replace the analytics.example.org with the domain you are hosting clickd on.

Dashboard

You can access the dashboard at https://analytics.example.org/dashboard/index.html. By default, it is available to everyone, however if you need it to be private, you can configure a reverse proxy.

Replace analytics.example.org with the domain you are hosting clickd on.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL