Get aggregate attribution statistics
Changed onReturns aggregate attribution statistics for a campaign. This is a Tier 0 endpoint available to all OAuth applications with the read:attribution:aggregate scope.
Use this endpoint to:
- Track overall marketing campaign performance
- Measure conversion rates by UTM source/campaign
- Monitor investment quality metrics
- Build performance dashboards
The response includes totals and breakdowns by UTM parameters. All counts exclude disputed attributions.
Privacy: This endpoint returns aggregate data only. No individual investor information is exposed.
Request
- Base URL: https://api.wefunder.com
- URL: https://api.wefunder.com/campaigns/{campaign_id}/attribution/stats
- Auth: OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: read:attribution:aggregate)
Path parameters
The fundraise/campaign ID
Query parameters
Filter results to attributions on or after this date. Format: YYYY-MM-DD. Defaults to 90 days ago if not specified.
Filter results to attributions on or before this date. Format: YYYY-MM-DD. Defaults to today if not specified.
Filter by UTM source (e.g., "GoogleAds", "facebook", "Klaviyo")
Filter by UTM campaign name
Response
Successful response
Example response
{
"data": {
"campaign_id": 789,
"period": {
"start_date": "2025-01-01",
"end_date": "2025-03-31"
},
"totals": {
"investment_count": 142,
"total_amount": 425000,
"unique_investors": 138,
"conversion_rate": 3.08
},
"quality_breakdown": {
"direct": 98,
"assisted": 35,
"delayed": 9
},
"by_source": [
{
"utm_source": "GoogleAds",
"investment_count": 47,
"total_amount": 142500
}
],
"by_campaign": [
{
"utm_campaign": "winter_2025",
"investment_count": 47,
"total_amount": 142500
}
]
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info