{"repo":"simpleanalytics/scripts","free":true,"listed":false,"github":"https://github.com/simpleanalytics/scripts","clone":"git clone https://github.com/simpleanalytics/scripts.git","description":"Open Source Public Scripts for Simple Analytics","language":"JavaScript","stars":105,"topics":["analytics","no-cookies","privacy","privacy-tools","analytics-tracking","analyticsjs","google-analytics"],"license":"MIT","category":"analytics","readme_excerpt":"Scripts Simple Analytics is a privacy-first analytics tool with a strong mission: never invade the privacy of your visitors. We just show you the essentials: page views, referrers, top pages, and devices. We don't use cookies. We don't collect any personal data. So no cookie banners or GDPR to worry about. When a service is free you are the product. We won't ever sell your data. As a result, we require a subscription. Open Source As our public scripts are very important in our mission to privacy we decided to make the source code available. We use the MIT license which is short and to the point. It lets you do almost anything you want with this project, like making and distributing closed-source versions. See LICENSE for more info. Contribute If you want to contribute, you probabaly want to contribute to our /src/default.js or /src/auto-events.js files. These files compile into a few versions of our script by compile.js . They end up on our CDN, custom domains, and the Cloudflare app. In default.js you see some weird syntax in the comments. For example, / if ignorepages / \\[some code\\] / endif / . These comments are converted to handlebars like this: {{#if ignorepages }} \\[some code\\] {{/if}} . In this case, ignorepages is a variable used in minify.js that takes care of what functionality to show in what script. Our main script is the latest.js script which includes all features. We also have a light.js script that obviously doesn't. If you contribute, make sure to use pnpm r","default_branch":null,"files":null,"tree":[],"storefront":"/r/simpleanalytics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/simpleanalytics/scripts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}