Craftshift logo

How to create QR codes for Shopify products and marketing

How to create QR codes for Shopify products and marketing

A Shopify QR code generator turns any product, collection, or campaign URL into a scannable square that customers can shoot with their phone camera. Print it on packaging, business cards, signage, or pop-up displays, and you remove the friction of typing a URL.

QR codes had a quiet decade. Then 2020 happened, every restaurant menu became a QR, and now every phone scanner just works. For Shopify merchants this is a free way to bridge offline touchpoints and the online store.

This guide covers the use cases that actually move sales, how to brand and size codes for print, the difference between static and dynamic codes, and how to track which scan led to which order.

In this post

QR code use cases

Not every offline surface needs a QR code. The ones that work share a pattern: the customer is already interested, the next step is online, and typing a URL is the bottleneck.

Product packaging and inserts

Print a QR on the inside of the box that links to a thank-you page, a how-to-use video, or a reorder discount. Conversion rates on insert QRs run 5 to 15 percent for stores that nail the offer. Compare that to the 1 to 2 percent on a paper insert with a typed URL.

Retail and pop-up signage

If you sell at markets, trade shows, or in retail, a QR on the price tag links to the full collection. Customers who walk away with the code can finish the purchase later. This is the only attribution path most physical sellers have for online sales.

Receipts and shipping labels

Add a QR to receipts that links to a review request or referral page. Same for shipping labels: the unboxing moment is the highest emotional peak in the customer journey, and a QR captures it.

Business cards and lookbooks

A QR on a business card links to your store, lookbook, or scheduling page. Founders meeting buyers or wholesale prospects can hand over a single card that opens the right URL with one scan.

Linking to products and collections with UTM

Every QR code should link to a UTM-tagged URL. Without UTMs you cannot tell which scans came from which print run, and the whole “track offline” promise falls apart.

A typical insert QR target looks like this:

https://yourstore.com/collections/all?utm_source=insert&utm_medium=print&utm_campaign=fall-2026

Build the link first in our UTM Builder, then paste the result into the QR Code Generator. The QR encodes the full URL including the query string. When the customer scans, GA4 reads the UTM the same way it reads any other tagged link.

If you want to bundle a discount with the scan, generate a single-use code with the Discount Code Generator and append it as a parameter:

https://yourstore.com/discount/INSERT15?redirect=/collections/all&utm_source=insert&utm_medium=print&utm_campaign=fall-2026

Shopify’s /discount/ path automatically applies the code and redirects to the URL after the redirect parameter. One scan, code applied, customer landed on the right collection.

QR code design and branding

The default black-on-white QR works fine. But it looks like every other QR. A few small tweaks make it match your brand without breaking scannability.

Test every variation on at least three phones (iOS native, Android native, an older phone) before printing 5,000 copies. A bad contrast or oversized logo can make a code unscannable on certain devices and you will not catch it without the test.

Printing specifications

Print size depends on scan distance. The rule of thumb: code width should be at least 1/10 of the expected scan distance.

Use caseScan distanceMin code size
Insert card, business card10 to 20 cm2 cm
Product packaging20 to 40 cm3 cm
Retail shelf signage50 to 100 cm5 to 10 cm
Window posters1 to 3 m15 to 25 cm
Billboards10 to 30 m1 to 3 m

Always download as SVG or high-resolution PNG (at least 600 DPI). Vector files do not pixelate at any size and are required for any kind of large-format printing.

Leave a quiet zone of at least 4 modules (the small squares inside the code) on every side. Putting a QR right against text or a border breaks scanning on some readers.

Tracking QR scans

QR codes themselves do not track anything. They are dumb pixels. The tracking comes from the URL the code points to.

Two patterns work:

  1. UTM only. Encode a UTM-tagged URL directly. GA4 sees the UTM, you see the source. Cheap, simple, no ongoing cost.
  2. Short link redirect. Use a short URL service that logs each click and then redirects to the final UTM-tagged URL. You get scan counts at the QR level, plus full GA4 attribution.

For most stores, UTM-only tracking is enough. If you run dozens of campaigns and need a single dashboard for scan counts, a dynamic QR service (see next section) handles that.

For variant-heavy stores, the QR can deep-link to a specific variant URL. The variant images guide covers how variant URLs differ from product URLs and which one your QR should point to.

Dynamic vs static QR codes

The two types of QR look identical to the customer. The difference is what they encode.

TypeEncodesEditable after printTrackingCost
StaticFinal URL directlyNoVia GA4 + UTMFree
DynamicShort URL that redirectsYesBuilt-in scan analyticsSubscription

Static codes are the right choice when the destination will not change. Product page QRs, packaging inserts, business cards. Print once, forget it. Free forever.

Dynamic codes are worth the subscription if you reuse the same printed material across changing campaigns. Trade show banners, retail signage, anything where you want to swap the destination without reprinting. The trade-off is paying every month and depending on a third-party service that could go down.

Most Shopify merchants do not need dynamic codes. Generate static codes with our QR Code Generator, build a different one per campaign, and let UTM tracking do the analytics work.

Stores with combined product structures should also see the combined listings guide for how grouped listings affect the URL you should encode in the QR.

And if you want shoppers to land on a clean, indexable product page after the scan, make sure your product schema is in place so the page also performs in search.

FAQ

Does Shopify have a built-in QR code generator?

Shopify POS generates QR codes for product checkout flows, but the admin does not have a general-purpose QR generator. Use a free tool to create your codes and link them anywhere on your store.

Do QR codes expire?

Static QR codes never expire. They encode a URL directly and work as long as the URL works. Dynamic QR codes can stop working if you cancel the subscription with the service that hosts the redirect.

Can I track QR code scans in Google Analytics?

Yes, by encoding a UTM-tagged URL. GA4 will record the visit with the source, medium, and campaign you set. There is no separate “QR” channel, just the UTMs you assign.

What is the smallest QR code that still scans?

2 cm by 2 cm is the practical minimum for handheld scanning at close range. Smaller works in lab conditions but fails in real-world lighting.

Can a QR code link to a discount?

Yes. Use Shopify’s /discount/CODE URL pattern. The code is applied automatically when the customer lands on the page.

How many scans can a QR code handle?

Unlimited. Static codes have no scan limit. Dynamic codes may have plan-based limits depending on the service.

What format should I download QR codes in for print?

SVG for vector workflows (Illustrator, InDesign). PNG at 600 DPI or higher for raster workflows. Avoid JPG, the compression artifacts can break scanning.

Generate your first code with the QR Code Generator, then install Rubik Variant Images from the Shopify App Store so the product page customers land on after scanning shows the right variant photos.

Our Shopify Apps

Smart Bulk Image Upload

Bulk upload product images from Google Drive & save time!

Rubik Variant Image & Swatch

Show only relevant variant images on your product pages.

Rubik Combined Listings Swatch app

Rubik Combined Listings

Link separate products as variants with beautiful swatches

CS – Export Product Images

Bulk export product images by vendor, collection or status

Blog Posts