# qr on GET /analytics is deprecated

Dub API deprecated GET /analytics, query parameter qr without giving a shutdown date yet.

Dub API deprecated the query parameter qr on GET /analytics without a shutdown date. Calls continuing to use this parameter will fail. The change affects requests filtering specifically for QR code scans.

## What to use instead

Filter with trigger=qr or trigger=link instead of using qr=true or qr=false.

- API: Dub API (api.dub.co)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /analytics`, `query parameter qr`
- Source: [Announcement](https://dub.co/docs/api-reference/endpoint/retrieve-analytics)
- Verified: October 26, 2026, against Dub API's own pages
- Page: https://www.okapi.bot/providers/dub-api/breaking-changes/qr-on-get-analytics-is-deprecated/

## Dub API's words

> Deprecated: Use the trigger field instead. Filter for QR code scans.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
