DEV Community

Cover image for How to Create Dynamic QR Codes with Real-Time Analytics (Free Guide 2026)
QRRQ — Free QR Code Generator
QRRQ — Free QR Code Generator

Posted on • Originally published at qrrq.io

How to Create Dynamic QR Codes with Real-Time Analytics (Free Guide 2026)

If you've ever printed a QR code on a flyer, business card, or product packaging — only to realize the link was wrong — you know the pain. Dynamic QR codes solve this by letting you change the destination URL anytime, without reprinting.

In this guide, I'll show you how to create dynamic QR codes with real-time scan analytics, custom designs, and more — completely free.


What Is a Dynamic QR Code?

A dynamic QR code points to a short redirect URL instead of the final destination. This means:

  • Edit the destination after printing
  • Track scans with location, device, and time data
  • A/B test different landing pages
  • Set expiration dates and scan limits
  • Password protect sensitive content

A static QR code, on the other hand, encodes the URL directly — once printed, it's permanent with zero tracking.

Dynamic vs Static QR Codes

Feature Dynamic Static
Edit after print ✅ Yes ❌ No
Scan analytics ✅ Real-time ❌ None
A/B testing ✅ Supported ❌ Not possible
Password protection ✅ Available ❌ No
Expiration dates ✅ Configurable ❌ Always active
File size ✅ Small (short URL) ❌ Grows with data

Step-by-Step: Create a Dynamic QR Code

1. Choose a QR Code Generator

You need a tool that supports dynamic QR codes with analytics. QRRQ is a free QR code generator that supports 15+ QR code types with real-time tracking.

2. Select Your QR Code Type

Most generators support basic URL QR codes. But modern tools like QRRQ support:

  • URL — Website links with tracking
  • PDF — Document sharing
  • vCard — Digital business cards
  • WiFi — One-scan network connection
  • Email / SMS / WhatsApp — Pre-filled messaging
  • Location — Google Maps pins
  • Multi-URL — Smart redirects by device, location, or time
  • Social Media — All profiles in one QR

3. Customize Your Design

A branded QR code gets 30% more scans than a plain black-and-white one. Customize with:

  • Custom foreground & background colors
  • Logo upload (center of QR code)
  • Pattern styles (dots, rounded, squares)
  • Eye shapes and corner markers
  • Call-to-action frames ("Scan Me", "Visit Us")

4. Download and Deploy

Download your QR code in PNG, SVG, or PDF format. SVG is best for print (infinite scaling), PNG for digital use.

5. Track Performance

Once people start scanning, you'll see:

  • Total & unique scans per day/week/month
  • Geographic data — country, city, region
  • Device breakdown — mobile vs desktop, OS, browser
  • Time analysis — peak scanning hours
  • Exportable reports in CSV format

Real-World Use Cases

🍽️ Restaurants

Replace paper menus with QR codes. Update prices and dishes without reprinting. Track which tables scan most.

📦 Product Packaging

Add QR codes to packaging for user manuals, warranty registration, or authenticity verification. Change content per batch.

🎪 Events

Create QR codes for tickets, schedules, and registration. Set expiration after the event ends. Track attendance by scan data.

💼 Business Cards

Use vCard QR codes that share your full contact info — name, title, phone, email, website, address — in one scan. Update your info anytime.

📈 Marketing Campaigns

A/B test different landing pages. Use UTM parameters for attribution. Set scan limits for exclusive offers.


Integrating QR Codes via API

For developers who need programmatic QR code generation, QRRQ provides a REST API:

# Create a dynamic QR code
curl -X POST https://qrrq.io/api/v1/qr \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "url",
    "title": "My Campaign",
    "data": { "url": "https://example.com" }
  }'
Enter fullscreen mode Exit fullscreen mode

The API supports full CRUD operations — create, read, update, delete — plus analytics endpoints for scan data.


Link Pages: Multiple Links, One QR Code

Sometimes one URL isn't enough. Link Pages let you create a micro landing page with:

  • Multiple clickable links
  • Social media profiles
  • Embedded YouTube videos & Spotify playlists
  • Contact forms and maps
  • Countdown timers

All accessible through a single QR code. Think of it as your own Linktree alternative with full analytics. Try Link Pages on QRRQ.


Free vs Paid: What Do You Actually Need?

Feature Free Paid
Dynamic QR codes 3 50 — Unlimited
Static QR codes Unlimited Unlimited
Scan analytics Basic Full
Custom designs Limited Full
Link Pages
Password protection
API access
Bulk creation

For most personal projects, the free tier is enough. For businesses running campaigns, the paid plans add tracking depth and volume.

Check pricing plans →


Key Takeaways

  1. Always use dynamic QR codes for anything printed — you'll want the ability to edit and track.
  2. Customize your design — branded QR codes perform significantly better.
  3. Track everything — scan analytics tell you what's working and what isn't.
  4. Use the API if you're generating QR codes at scale.
  5. Start free — upgrade when you need more volume or features.

Create your first dynamic QR code →


Open Source

QRRQ's QR code tools are open source on GitHub:

👉 github.com/qrrq-qrcodegenerator/qrcodegenerator

Star the repo if you find it useful!

Top comments (0)