Configure Plausible Analytics
- Create your Obsidian Publish site in your Plausible Analytics account.
- View your tracking code.
Configure Obsidian Publish
- Create a file named publish.js in the root of your Obsidian vault. Create this file from file explorer, not from within Obsidian!
- Copy the below script to the publish.js file.
- Update the
with your Obsidian Publish URL.
- Save and publish the publish.js file to your Obsidian Publish site!
- Open your Plausible Analytics page and refresh your Obsidian Publish page. Plausible Analytics should recognize an active visitor to the site.
✴️ Also on Micro.blog