You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WhereRoulette is a web application designed to randomly select a [point of interest](https://wiki.openstreetmap.org/wiki/Points_of_interest) (POI) within a specified area. This tool solves the problem of choosing a place to go when you need somewhere to meet with friends, but the specific location isn't that important.
8
8
@@ -76,13 +76,24 @@ The site is hosted using [GitHub Pages](https://pages.github.com/). A GitHub act
76
76
77
77
The site gets deployed to [https://whereroulette.com](https://whereroulette.com).
78
78
79
+
### Analytics
79
80
80
-
## Analytics
81
+
The site uses [Umami](https://umami.is/) for privacy-focused analytics.
81
82
82
-
The site uses [Umami](https://umami.is/) for privacy-focused analytics. This requires the script `src/assets/analytics.js` to be included in the distributed bundle.
83
+
An instance is hosted on [fly.io](https://fly.io). The configuration is defined in the [analytics](https://github.com/01100100/analytics) repository.
84
+
85
+
A DNS record is set up such that the `stats.whereroulette.com` subdomain points to the Umami instance.
86
+
87
+
The analytics script is available at [https://stats.whereroulette.com/script.js](https://stats.whereroulette.com/script.js), which is downloaded and stored in this repository in `src/assets/analytics.js`.
88
+
89
+
Webpack is configured to include the analytics script in the build and it is used in the `index.html` file.
0 commit comments