/aws-web-analytics

Privacy-focused alternative to Google Analytics on AWS Pinpoint

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

AWS Web Analytics

Tracking tag library for AWS Pinpoint as an alternative to Google Analytics.

Philosophy

Moving to AWS from Google Analytics is a way to maintain your users' privacy. Our blog post, Why you need to move off Google Analytics, explains more about it.

Initialize your account

  1. Create an AWS account
  2. Create your Pinpoint account and Cognito Federated user pool (optional)
<script
    data-id-pool="us-east-1:abcd1234-abcd-1234-5678-abcd12345678"
    data-pinpoint-id="1234abcd5678abcd7890abcd1234"
    id="aws-web-analytics"
    src="https://goatandsheep.github.io/aws-web-analytics/dist/aws-web-analytics.js"
    type="text/javascript"
></script>

https://ga-dev-tools.appspot.com/campaign-url-builder/