QR Points manages the QR codes and NFC tags you print: shop windows, stands, packaging, business cards, reception desks. Each printed code is a short, stable address such as https://example.com/q/D01. Editors change where it leads at any time, without printing it again. The module logs every scan (without IP addresses) and shows, per code, what visitors did afterwards: called, wrote in a messenger, opened a map, left a request.
Features
- QR points as content entities with revisions: code, comment (where it is placed), destination, UTM marks, analytics goal, enabled flag.
- Editors can change destinations, comments and status; codes, tracking marks and deletion are reserved for administrators, so a printed code keeps working.
- Redirect at
/q/{code}, case-insensitive and tolerant to a trailing slash. Tracking marks and the code are added only for your own hosts; external destinations such as map review forms are left untouched. - Optional standalone redirect script that reads a JSON registry written by Drupal, so printed codes keep working even when Drupal or its database is down.
- Scan log in monthly files, loaded into the database by cron without duplicates; test scans (
?test=1) and bots are counted separately. - Attribution of what visitors do after a scan: phone, email, Telegram, WhatsApp, MAX, VK and map links, opened forms and leads, plus your own kinds through a hook and a PHP service for server-side conversions.
- Report per code with 7/30/90 days or all time, and a per-day view.
- Printable QR images in SVG and PNG (GD only, no Imagick needed): light and inverted dark themes, square or rounded modules, theme colours, quiet zone, a cleared centre with your logo. Codes are encoded without an ECI segment, so they stay as small as possible.
- Optional analytics on scans: Yandex Metrika, Google Analytics 4 and Google Tag Manager, in any combination. With none of them the redirect is a plain HTTP 302 without third-party scripts.
How it differs from similar projects
Short URL is a general URL shortener with visit statistics; QR-Code creates QR entities with changeable destinations. QR Points focuses on printed offline points: it attributes visitor actions on your site to the point that brought them, keeps working without Drupal through the standalone script, and produces print-ready branded images.
Requirements
- Drupal 10.3 or 11.
- endroid/qr-code 5 or 6 (installed by Composer).
- A configured private file system is recommended for the registry and the scan log.
Installation and configuration
Install with Composer: composer require drupal/qr_points, enable the module, set the public base URL at Configuration > Web services > QR points and add points at Content > QR codes. See README.md for the standalone script, the tracker and Drush commands.
Privacy
The module stores no IP addresses. The tracker script is off by default. Loading Yandex or Google scripts on the redirect page may require visitor consent in some jurisdictions; leave analytics empty to keep a plain redirect and rely on the module's own scan log.
Ask your assistant about QR Points
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10–11 | PHP 8.1 | Nov 18, 2026 | |
| 1.0.x-dev | Dev | 10–11 | PHP 8.1 | Nov 18, 2026 |