Volg en analyseer de prestaties van QR-codes met gedetailleerde scangegevens, geografische informatie, apparaatspecificaties en trendanalyse.
Volg scans in de tijd met dagelijkse, wekelijkse of maandelijkse uitsplitsingen
Zie waar uw QR-codes worden gescand per land en stad
Begrijp apparaattype, besturingssystemen en browsers
Volg waar scans vandaan komen voor campagne-attributie
| Methode | Eindpunt | Beschrijving |
|---|---|---|
GET | /organizations/:orgId/qr-codes/analytics | Organisatie-brede analytics |
GET | /organizations/:orgId/qr-codes/:id/analytics | Enkele QR-code analytics |
GET | /organizations/:orgId/qr-codes/:id/analytics/export | Exporteer analytics als CSV |
GET | /organizations/:orgId/qr-codes/:id/scans | Krijg individuele scanrecords |
Haal uitgebreide analytics op voor een specifieke QR-code.
/organizations/:orgId/qr-codes/:id/analytics| Parameter | Type | Beschrijving |
|---|---|---|
| startDate | string | Startdatum (ISO 8601-formaat) |
| endDate | string | Einddatum (ISO 8601-formaat) |
| interval | string | Groeperingsinterval: dag, week, maand |
curl -X GET \
"https://api.iloveqr.com/api/v1/organizations/org_abc123/qr-codes/qr_xyz789/analytics?startDate=2024-01-01&endDate=2024-01-31&interval=day" \
-H "X-API-Key: YOUR_API_KEY"{
"qrCodeId": "qr_xyz789",
"period": {
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-31T23:59:59Z"
},
"summary": {
"totalScans": 1542,
"uniqueScans": 1203,
"avgDailyScans": 49.7
},
"timeline": [
{ "date": "2024-01-01", "scans": 45, "uniqueScans": 38 },
{ "date": "2024-01-02", "scans": 52, "uniqueScans": 41 },
...
],
"geography": {
"countries": [
{ "country": "US", "scans": 823, "percentage": 53.4 },
{ "country": "GB", "scans": 234, "percentage": 15.2 },
{ "country": "DE", "scans": 156, "percentage": 10.1 }
],
"cities": [
{ "city": "New York", "country": "US", "scans": 234 },
{ "city": "London", "country": "GB", "scans": 189 },
{ "city": "Los Angeles", "country": "US", "scans": 145 }
]
},
"devices": {
"types": [
{ "type": "mobile", "scans": 1234, "percentage": 80.0 },
{ "type": "desktop", "scans": 231, "percentage": 15.0 },
{ "type": "tablet", "scans": 77, "percentage": 5.0 }
],
"os": [
{ "os": "iOS", "scans": 687, "percentage": 44.6 },
{ "os": "Android", "scans": 547, "percentage": 35.5 },
{ "os": "Windows", "scans": 189, "percentage": 12.3 }
],
"browsers": [
{ "browser": "Safari", "scans": 654, "percentage": 42.4 },
{ "browser": "Chrome", "scans": 521, "percentage": 33.8 },
{ "browser": "Firefox", "scans": 156, "percentage": 10.1 }
]
}
}De analytics-respons bevat gedetailleerde geografische uitsplitsing van scans per land en stad. Deze gegevens zijn afgeleid van IP-geolocatie van scanverzoeken.
Privacy Opmerking: We slaan geen exacte gebruikerslocaties op. Geografische gegevens zijn afgeleid van IP-adressen en bieden een benaderende nauwkeurigheid op stadsniveau.
Exporteer analytics-gegevens als CSV voor verdere analyse in spreadsheets of BI-tools.
/organizations/:orgId/qr-codes/:id/analytics/exportcurl -X GET \
"https://api.iloveqr.com/api/v1/organizations/org_abc123/qr-codes/qr_xyz789/analytics/export?startDate=2024-01-01&endDate=2024-01-31" \
-H "X-API-Key: YOUR_API_KEY" \
-o analytics.csv| Kolom | Beschrijving |
|---|---|
| timestamp | Scan-tijdstempel (ISO 8601) |
| country | Landcode |
| city | Stadnaam |
| device_type | mobiel, desktop, tablet |
| os | Besturingssysteem |
| browser | Browsernaam |
| is_unique | Eerste scan (waar/onwaar) |
Krijg geaggregeerde analytics over alle QR-codes in uw organisatie.
/organizations/:orgId/qr-codes/analyticscurl -X GET \
"https://api.iloveqr.com/api/v1/organizations/org_abc123/qr-codes/analytics?startDate=2024-01-01&endDate=2024-01-31" \
-H "X-API-Key: YOUR_API_KEY"Leer over gerelateerde functies: