Documentation
Get started with Abstracts analytics in minutes
Quick Start
Follow these simple steps to start tracking your website:
- Create a free account - Sign up at abstracts.top/register
- Add your website - Add your domain and get your tracking token
- Copy the script tag - Get your unique tracking code
- Paste before </head> - Add the script to your website's HTML
Installation
Add this script tag to your website before the closing </head> tag:
<script src="https://abstracts.top/tracker.js"
data-token="YOUR_TOKEN"
data-scroll-thresholds="25,50,75,100"></script>
Features
Automatic Tracking
- Pageviews - Every page load is automatically tracked
- Referrers - See where your traffic comes from
- Device data - Browser, OS, screen resolution, device type
- Languages - Visitor language preferences
Event Tracking
- Scroll depth - Track at 25%, 50%, 75%, 100% automatically
- Form submissions - Automatically tracked
- Custom events - Use the JavaScript API to track anything
JavaScript API
Track custom events using our simple API:
// Track a custom event
abstracts.track('button_click', { button: 'signup' });
// Track video plays
abstracts.track('video_play', { video: 'intro.mp4' });
// Track downloads
abstracts.track('download', { file: 'guide.pdf' });
Privacy & Compliance
Abstracts is built with privacy in mind:
- No cookies used
- No cross-site tracking
- No personal data collected
- GDPR & CCPA compliant out of the box
- No consent banner required in most cases
Platform Support
Abstracts works with any platform that allows custom HTML/JavaScript:
- WordPress
- Shopify
- Wix
- Squarespace
- Webflow
- Ghost
- Custom HTML sites
- React, Vue, Angular, Next.js, etc.
Need Help?
Contact us at support if you have any questions.