Add Tinylytics to Obsidian Publish

If you use Obsidian Publish to host your Digital Garden and want a simple and privacy-focused analytics solution to track how people view your site, you can connect with Tinylytics, a simple and privacy-focused analytics service. - Create a file named publish.js in your root directory. - Add the following script to the file. - Publish the file!

var tinylyticsScript = document.createElement('script'); 
tinylyticsScript.defer = true; 
tinylyticsScript.src = '[tinylytics.app/embed/YOU...](https://tinylytics.app/embed/YOUREMBEDCODE.js';) document.head.appendChild(tinylyticsScript);

Date
August 8, 2023
Tags
Notes
Kudos
Buy me a Coffee
Support this site.