Welcome to the SimpleData documentation. SimpleData is designed to be as easy to install as possible.
First, log into your SimpleData dashboard and click "Add a site". Enter the domain name of the website you want to track (e.g. example.com).
Add the following snippet to the <head> of your website. Replace data-domain with your actual domain name:
<script defer data-domain="your-site.com" src="https://simpledata.fyi/s.js"></script>You can trigger custom events anywhere in your code using the global simpledata object. This is useful for tracking signups, purchases, or button clicks.
window.simpledata = window.simpledata || function(){(window.simpledata.q = window.simpledata.q || []).push(arguments)}; window.simpledata.event("Signup");