Skip to content
The Municipality of Anchorage's web traffic.
CSS JavaScript HTML Other
Branch: master
Clone or download
This branch is 24 commits ahead, 365 commits behind 18F:master.

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

A project to publish website analytics for the Municipality of Anchorage forked from

For a detailed description of how the site works, read 18F's blog post on

Other government agencies have reused for their analytics dashboard. This blog post details their implementations and lessons learned.


Windows servers

Install [GNU Make for Windows] ( (optional)

Install Ruby using RubyInstaller for Windows.

Install [Bundler] (

gem install bundle

This app uses Jekyll to build the site, and Sass, Bourbon, and Neat for CSS. Install them all (from the directory containing the local copy of this github repository):

bundle install

NOTE: The above items are not required for setup on a production server.

analytics-reporter is the code that powers the analytics dashboard. Please clone the analytics-reporter next to a local copy of this github repository.

IIS Notes

Some IIS versions will require the addition of the JSON and WOFF MIME types and most IIS versions will also require the addition of the WOFF2 MIME type.

File Extension MIME Type
.json application/json
.woff font/x-woff
.woff2 font/woff2

Linux servers

See [] ( for Linux setup instructions.

Adding Additional Agencies

See [] ( for agency setup instructions.


Development build using fake data:

make dev

The development settings assume data is available at /fakedata. You can change this in _development.yml.


Test build using real data:

make test

This assumes you have already set up analytics-reporter in an adjacent directory.


Set an environment variable for the path to a file share on the production server:

export ANALYTICS_PROD_SHARE="\\prod_server\share"

Production build that deploys to production share:

make deploy

In production, the site's base URL is set to and the data's base URL is set to

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

You can’t perform that action at this time.