Understanding Click Tracking
Learn how AffRank tracks affiliate link clicks and helps you measure performance.
How Click Tracking Works
AffRank uses server-side click tracking to accurately record every affiliate link click:
- User clicks link on your website
- Click request sent to AffRank server
- Data recorded (time, user info, link ID, keyword)
- User redirected to affiliate URL
- Data displayed in your analytics dashboard
What Gets Tracked
Click Data
When someone clicks an affiliate link, AffRank records:
| Field | Description |
|---|---|
| Timestamp | Exact time of click |
| Link ID | Which link was clicked |
| Keyword | What keyword generated the click |
| Source URL | Page where click happened |
| User ID | Your user account |
| Device Type | Mobile, tablet, or desktop |
| Browser | Chrome, Firefox, Safari, etc. |
| Session ID | Unique visitor session |
Privacy-First Approach
AffRank does NOT track:
- ❌ Individual user identities
- ❌ Personal information
- ❌ Browsing history beyond clicks
- ❌ Sensitive user data
Data is aggregated and anonymized for your reports.
Enabling Click Tracking
Click tracking is enabled by default. To verify:
In Dashboard
- Go to Affiliate Links
- Click on a link
- Look for Tracking Status: Should show Enabled
- If disabled, click Enable Tracking
In Script
Check script parameter:
<!-- Tracking enabled (default) --><script src="https://affrank.io/script/YOUR_USER_ID.js"></script>
<!-- Tracking disabled (if needed) --><script src="https://affrank.io/script/YOUR_USER_ID.js?tracking=disabled"></script>Viewing Click Data
Real-Time Analytics
See clicks as they happen:
- Go to Analytics Dashboard
- View Live Clicks section
- See recent clicks with details
- Updates every few seconds
Detailed Reports
Generate comprehensive reports:
- Date Range: Choose time period
- Filters: Filter by keyword, domain, link
- Metrics: View clicks, CTR, revenue
- Export: Download as CSV
Link-Specific Tracking
Monitor individual links:
- Go to Affiliate Links
- Click a link name
- View link-specific analytics:
- Total clicks
- Click trend
- Audience info
- Performance vs. other links
Click Attribution
Understand which links drive traffic:
Click Attribution Models
Last-Click Model (Default)
- Credits the final link clicked
- Most intuitive
- Standard across platforms
First-Click Model
- Credits initial link that started session
- Useful for awareness campaigns
- Shows discovery source
Multi-Touch Attribution
- Credits all links in user journey
- More complex analysis
- Shows complete picture
Setting Attribution Model
- Analytics Dashboard → Settings
- Select Attribution Model
- Choose model type
- Report updates automatically
Common Issues
Clicks Not Recording
Possible causes:
-
Script not installed
- Verify script in browser console (F12)
- Look for “AffRank loaded” message
-
Link not configured
- Check link exists in dashboard
- Verify link is active (not paused)
- Ensure keyword matches content
-
Tracking disabled
- Check
tracking=disabledparameter - Enable in settings if disabled
- Check
-
Browser blocking
- Check browser extensions
- Try different browser
- Try incognito mode
Clicks Delayed
Why there’s a delay:
- Real-time processing takes 10-30 seconds
- Data aggregation: 5-10 minute batches
- Report generation: Hourly updates
- API: Real-time (within 1 minute)
To reduce delay:
- Use API for real-time data
- Refresh dashboard for latest
- Check “Live Clicks” for immediate feedback
Duplicate Clicks
To prevent duplicates:
- Each click gets unique session ID
- System deduplicates within 30 seconds
- Multiple clicks = separate events
- Check click timestamp for duplicates
Missing Click Data
Troubleshooting:
- Verify time zone - Check dashboard time zone matches
- Check date filters - Ensure date range is correct
- Verify domain - Confirm right domain selected
- Check link status - Link might be archived
- Contact support - Report missing data
Understanding Performance
Click Rate Analysis
Measure engagement:
Click Rate = (Total Clicks / Page Views) × 100- Low CTR (<1%): Link visibility or relevance issue
- Medium CTR (1-3%): Average performance
- High CTR (>5%): Strong interest, well-placed links
Best Practices
Accuracy
✅ Best Practices
- Verify script is installed on all pages
- Use same script ID across domain
- Keep tracking enabled
- Don’t modify click tracking code
- Monitor for anomalies
❌ Avoid
- Multiple tracking scripts
- Manual click manipulation
- Simulating clicks artificially
- Disabling tracking on some pages
Performance
✅ Best Practices
- Use aggregated reports (faster)
- Filter to relevant date ranges
- Archive old links (cleaner data)
- Review daily summaries
- Export for deeper analysis
❌ Avoid
- Querying massive date ranges
- Real-time dashboards constantly open
- Requesting data too frequently
- Analyzing incomplete data
Privacy Compliance
AffRank complies with:
- ✅ GDPR (EU data protection)
- ✅ CCPA (California privacy)
- ✅ HIPAA (Health data)
- ✅ SOC 2 (Security)
Your click data is:
- Encrypted in transit
- Secured at rest
- Never sold to third parties
- Owned by you exclusively
FAQ
Q: Is click tracking 100% accurate? A: Nearly (99%+). Very minor data loss may occur in edge cases due to network issues.
Q: How long is click data retained? A: Depends on plan (30-90 days standard, unlimited on Enterprise).
Q: Can I track conversions? A: Yes, with affiliate program integration or UTM parameters.
Q: Can I use click data for compliance? A: Yes, reports can be exported for audits and compliance verification.
Q: How do I prevent click fraud? A: AffRank detects suspicious patterns and flags anomalies automatically.
Q: Can I see individual user clicks? A: No, only aggregated and anonymized data for privacy protection.