geeksforsocialchange / PlaceCal

Bring your community together
https://placecal.org
GNU Affero General Public License v3.0
17 stars 8 forks source link

Migrate stats to Plausible #855

Closed kimadactyl closed 2 years ago

kimadactyl commented 2 years ago

<script defer data-domain="placecal.org" src="https://plausible.io/js/plausible.js"></script>

This removes any need for cookie or GDPR warnings so its more important than it looks.

kimadactyl commented 2 years ago

I don't quite follow these docs about what to do if we want subdomains too. Unclear if we have to set up a diff tracking code in plausible for each separate subdomain or if it will just track everything under one global property.

https://plausible.io/docs/add-website

lexiwitch commented 2 years ago

You don't necessarily need to install the script on the same domain as the domain you have added to your Plausible account. This allows you more flexibility in your setup all depending on your situation. It also means that Plausible can work with domains that feature special characters. Just spell out the domain without using special characters when adding it to Plausible

To me, indicates that we only need to add that script file, and then we add domains on the frontend provided by plausible. I think I will roll this into the datatables change since I am dealing with the frontend in this change anyway, and it's a very quick alteration.

On Tue, Dec 14, 2021 at 5:39 PM Dr Kim Foale @.***> wrote:

I don't quite follow these docs about what to do if we want subdomains too. Unclear if we have to set up a diff tracking code in plausible for each separate subdomain or if it will just track everything under one global property.

https://plausible.io/docs/add-website

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/geeksforsocialchange/PlaceCal/issues/855#issuecomment-993820441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWAYON5Y45V4YKQ6WKHFV6TUQ56LRANCNFSM5KBPNHPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.