18F / analytics-reporter

Lightweight analytics reporting and publishing tool for Digital Analytics Program's Google Analytics 360 data.

Home Page:https://analytics.usa.gov/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

config flag for custom domain prefix

laurenancona opened this issue · comments

Add config var to specify a custom domain prefix (e.g. phila.gov) to be appended to pagePath. This should at least help single-domain implementations (read: state/municipal gov) solve for broken links in Top 20 pages report. Then let any exceptions defined in analytics.js override prefix, if present.

This was, in fact, added by @polastre in 28088d7

Just needs to be documented.