The referrer data endpoint provides insights into the sources of your redirect traffic, showing which websites, social media platforms, search engines, or campaigns are driving visitors to your redirects.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dishant0406/quickleap/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Function signature
Path parameters
The unique identifier of the redirect to retrieve referrer data for
Query parameters
Start date for the analytics period in ISO 8601 formatExample:
2024-01-01T00:00:00ZEnd date for the analytics period in ISO 8601 formatExample:
2024-01-31T23:59:59ZMaximum number of referrers to return. Results are ordered by hit count descending.Default:
100Maximum: 1000Referrer data is collected from the HTTP Referer header. Some browsers and privacy tools may block or modify this header, resulting in “direct” or “unknown” traffic.
Response
The endpoint returns a list of referrers ordered by traffic volume:Example request
Example response
Use cases
- Attribution tracking: Understand which marketing channels drive the most traffic
- Content strategy: Identify which content pieces or partners send the most visitors
- SEO analysis: Monitor search engine referral traffic and identify opportunities
- Social media ROI: Measure the impact of social media campaigns
- Partner tracking: Track traffic from partner websites and affiliates
- Campaign analysis: Combine with UTM parameters for detailed campaign attribution
Best practices
- Handle direct traffic: High direct traffic may indicate mobile apps, bookmarks, or privacy-conscious users
- Group similar referrers: Combine subdomains (e.g.,
m.facebook.comandwww.facebook.com) for clearer insights - Monitor changes: Track referrer distribution over time to spot new traffic sources or lost partnerships
- UTM parameters: Use campaign analytics endpoint for more granular tracking of marketing campaigns
- Privacy considerations: Be aware that referrer blocking is increasingly common for privacy reasons
Referrer types
The API automatically categorizes referrers into the following types:- search: Traffic from search engines (Google, Bing, DuckDuckGo, etc.)
- social: Traffic from social media platforms (Twitter, Facebook, LinkedIn, etc.)
- direct: No referrer information (typed URL, bookmark, mobile app, etc.)
- email: Traffic from email clients (when detectable)
- paid: Traffic from known advertising platforms
- website: Traffic from other websites
- unknown: Unable to categorize
Related endpoints
- Get campaign analytics - Detailed UTM parameter tracking
- Get basic statistics - Overall traffic metrics
- Get raw hit data - Individual hits with referrer information
- Get destination URL analytics - Track where users are redirected to