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 = '[](';) document.head.appendChild(tinylyticsScript);

August 8, 2023
Buy me a Coffee
Support this site.