Google Analytics Domain Hash (UTMA) Windows GUI Calculator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GoogleDomainHashCalculator
.gitattributes
.gitignore
GoogleDomainHashCalculator.sln
LICENSE
README.md

README.md

Google Analytics Domain Hash Calculator (UTMA)

Calculates Google Analytics Domain Hash given domain name and provides simple GUI for ease of use.

When analyzing Google Analytics cookies, you will see an Urchin Tracking Module A (UTMA) value (utma=) in the URL. The part for comparison is only the number before the first dot ("."). For instance, in "utma=173272373.nnnnn...", the domain hash is 173272373 ("google.com", where n is any arbitrary number). Please enter the domain (without the protocol, e.g., "http://") and the domain hash will be calculated.

Simple GUI interface:

GUI

Download Compiled Assembly (EXE)

Note you will need the .NET 4.5 runtime.

I also wrote a C++ Gist of the hash function and a C++ CLI for Linux — see gadhash repo..

For more information see https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage

C++ CLI

gadhash is a C++ command-line interface that accepts a list of domains (in file(s) or from stdin) and outputs a delimited file containing the hashes.