๐ Complete Guide to Custom URL QR Codes
A custom URL QR code goes beyond simply encoding a web address. By embedding UTM parameters, URL anchors, affiliate tags, and custom query strings, a custom URL QR code becomes a powerful analytics tool that tells you exactly where your traffic comes from, what campaigns are working, and which physical placements drive the most engagement.
Understanding UTM Parameters for QR Codes
UTM parameters are five tags you can append to any URL: utm_source (where the traffic comes from, e.g. "print_flyer"), utm_medium (the channel, e.g. "qr_code"), utm_campaign (the campaign name, e.g. "summer_sale_2025"), utm_term (keyword tracking, less relevant for QR), and utm_content (differentiates between two versions, e.g. "table_left" vs "table_right"). When someone scans the QR code and visits your site, Google Analytics logs all of these tags โ you can see exactly how many sessions came from each QR placement.
URL Anchors for Deep Linking
A URL anchor (the #section at the end of a URL) tells the browser to scroll directly to a specific section of a page. If you're linking to a long landing page, adding #pricing sends the scanner straight to the pricing section, #contact straight to the contact form, and #menu straight to the restaurant menu. This dramatically reduces bounce rate for QR-driven traffic because visitors immediately see the most relevant content.
Custom Parameters for Affiliate and Partner Tracking
Beyond UTM parameters, any key=value pair can be added to a URL. Common uses: affiliate_id=123 for affiliate tracking, ref=partner_name for referral attribution, variant=blue for product configuration, lang=en for language preference, or any parameter your website, CRM, or e-commerce platform recognises. Use the Custom Parameters section to add as many parameters as needed.
Pro Tips for UTM QR Campaigns
- Consistent naming convention: Use underscores, not spaces. Lowercase always. Establish a naming guide your whole team follows โ e.g. utm_source=print_[publication], utm_medium=qr_code, utm_campaign=[season]_[year].
- One QR per placement: Each physical location (counter, receipt, menu, flyer) should have its own QR code with a unique utm_content. This lets you compare placement performance.
- Short base URLs: UTM parameters make URLs very long. Use a short base URL to keep the QR code less dense and more scannable. Avoid 300+ character URLs in QR codes.
- Test in Google Analytics before printing: Scan the QR on your phone and check Google Analytics Realtime โ Traffic sources to confirm the UTM data appears correctly before bulk printing.