Fixed paths overflowing table on tracking page and made links clickable.

This commit is contained in:
Marvin Blum
2020-08-14 00:32:55 +02:00
committed by Marvin Blum
parent ab8123a4f7
commit 940395f9e4
7 changed files with 34 additions and 18 deletions

View File

@@ -51,8 +51,8 @@ func NewTracker() (*pirsch.Tracker, context.CancelFunc) {
store = pirsch.NewPostgresStore(conn)
tracker := pirsch.NewTracker(store, os.Getenv("MB_TRACKING_SALT"), &pirsch.TrackerConfig{
// I don't care about traffic from my own website
RefererDomainBlacklist: []string{domain},
RefererDomainBlacklistIncludesSubdomains: true,
ReferrerDomainBlacklist: []string{domain},
ReferrerDomainBlacklistIncludesSubdomains: true,
})
analyzer = pirsch.NewAnalyzer(store)
processor := pirsch.NewProcessor(store, nil)