Get started
Check out the demo version
Step 1 - Add the website domain to onedollarstats.com
To have your website listed, login and add the website’s domain.
Step 2 - Add code snippet
To start tracking page views, you need to insert the analytics script on the website added to onedollarstats. Place the snippet within the <head> … </head>
tags.
<script defer src="https://assets.onedollarstats.com/stonks.js">
</script>
Script automatically sends page views and provides ability to send events. Also it adds window.event
to send events and window.view
to send page view manually.
Step 3 - Check the script
Once you add the script to your site, reload the deployed site’s page with the script to ensure it sends the first page view.
Go to the analytics/dashboard/:siteId
to verify that the page view has been sent and is displayed on the charts.