From b08e18d9a20fa0fb1b191e40ab4a324240f7ceb4 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sat, 16 Oct 2021 17:21:12 -0500 Subject: [PATCH] chore(docs): updated readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8d45486..b052e48 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ It takes the same simple approach to a link page and hosts it within a NodeJS se # 📍 Supported Links & Buttons Check the [config](https://github.com/techno-tim/littlelink-server/blob/master/src/config.js) file for all supported buttons! -# 📈 Google Analytics Support +# 📈 Analytics Support +## Google Analytics See [Getting Started with Analytics](https://support.google.com/analytics/answer/1008015?hl=en). After getting your GA Tracking Id, use your tracking Id as environment variable like `GA_TRACKING_ID=G-XXXXXXXXXX` (See the example below) All buttons clicked will be tracked automatically if `GA_TRACKING_ID` exists. @@ -19,8 +20,7 @@ Sample event for YouTube button. ```javascript window.gtag('event', 'youtube-button'); ``` - -# 📈 Umami Analytics Support +## Umami See [Adding a website & Collecting data](https://umami.is/docs/collect-data) page to add and generate your tracking code.