← Back to Blog

How to Create QR Codes for Marketing Campaigns: A Complete Step-by-Step Guide

Published: July 7, 2025 · 7 min read

QR codes have made a stunning comeback. Once dismissed as a passing fad, they're now everywhere — restaurant menus, product packaging, billboards, business cards, and event tickets. Apple built a QR scanner directly into the iPhone camera. Android followed suit. Scanning a QR code is now second nature for billions of people.

But here's the thing: not all QR codes are created equal. A poorly designed QR code — wrong colors, tiny size, unscannable contrast — is worse than no QR code at all. It frustrates potential customers and wastes precious marketing real estate. This guide walks you through creating QR codes that actually convert.

Step 1: Decide What Your QR Code Should Do

Before you generate a single pixel, answer this question: what action do you want the scanner to take? The most common options for marketers:

Pro tip: Always use a URL that you control (your own domain). This gives you the flexibility to change the destination later without reprinting the QR code. A short, clean URL also produces a less dense QR code that scans more reliably.

Step 2: Customize Colors to Match Your Brand

QR codes don't have to be black and white. You can customize the foreground and background colors to match your brand palette — but there are critical rules you must follow:

Using our QR Code Generator, you can pick custom foreground and background colors with a live preview — so you can test-scan directly from the screen before downloading.

Step 3: Choose the Right Size for Your Medium

Size is the #1 reason QR codes fail in the real world. Here are the minimum recommended dimensions:

Medium Minimum Size Notes
Business card 2 × 2 cm (0.8 × 0.8 in) Keep URL short to reduce code density
Flyer / Brochure 3 × 3 cm (1.2 × 1.2 in) Bigger is better — don't hide it in a corner
Poster / Billboard 5 × 5 cm (2 × 2 in) at minimum Consider viewing distance — billboards need much larger
Digital (screen) 200 × 200 px minimum Export at high resolution; screens are backlit (easier to scan)

A common mistake: shrinking a QR code to fit an awkward space on a design. If it doesn't fit at a scannable size, redesign the layout. A QR code that can't be scanned is just noise.

Step 4: Add a Logo (Carefully)

Adding your brand logo to the center of a QR code looks polished — but it's also risky. The logo covers data modules that the QR code uses for error correction. The key is to stay within the error-correction budget:

Step 5: Track Your Scans with UTM Parameters

If your QR code points to a URL, you'd be crazy not to add UTM parameters. UTM tags let you track exactly how many people scanned your code — and what they did afterward — in Google Analytics or your analytics platform of choice.

Here's a practical UTM-tagged URL structure for a QR code on a printed flyer:

https://yourbrand.com/spring-sale?utm_source=flyer&utm_medium=qr_code&utm_campaign=spring_2025

Breakdown:

With UTM parameters in place, you'll know within days whether that expensive billboard QR code is actually driving traffic — or just looking pretty.

Step 6: Test Before You Print (Seriously)

Once you've printed 10,000 flyers or wrapped a vehicle, it's too late. Before committing to production:

  1. Test on the actual material. A QR code that scans on glossy photo paper might fail on textured kraft cardstock. Print a sample and test.
  2. Test under real-world lighting. Scan it under fluorescent office lights, in direct sunlight, and in dim restaurant lighting. All three conditions should work.
  3. Test on at least 3 different phone models. Mix of iPhone and Android, including an older model if possible.
  4. Test at the real viewing distance. If it's going on a billboard 10 meters away, test from 10 meters away. Don't test it 30 cm from your face.

QR Code Dos and Don'ts

Generate Your QR Code in Seconds

Ready to create your campaign QR code? Our free QR Code Generator handles URLs, vCards, Wi-Fi credentials, plain text, and more. Customize colors, adjust error correction, add your logo, and download a high-resolution PNG or SVG — all from your browser with no sign-up required. Create your QR code now →