How to Create Trackable QR Codes

Search the Website

February 23, 2011

I’ve had several conversations recently about the basics of creating QR Codes, and how to track visits to your site via a QR Code scan. So, I’d like to share a couple options for creating trackable QR Codes for your direct marketing and variable data printing, with step-by-step instructions.

New to QR Codes? Check out this primer first: Guide to QR Codes for Direct Marketers

A) Tracking QR Code Responses Using Google Analytics

If you have Google Analytics tracking set up on your website, using Google Analytics for tracking your QR Code visits will keep all of your data in one location, and allow you to track the online behaviors and conversion rates of your QR Code visitors.

QR Code Segmentation Personalization and ROI Ebook

Here’s how to set up QR Code tracking using Google Analytics:

  1. The first step is to add qr code tracking to the URL of your target response page.
  2. With your new link in hand (or in your clipboard), it’s time to create your QR Code. Go to your QR Code generator. Select “URL” from the dropdown, paste in the url with the tracking code, and click “Generate.”

QR Code Tracking

Fig 1: Generating a QR Code using ZXing Project.

  1. You now have a QR Code; download it and apply it to your direct mail piece, business card, billboard, t-shirt, or whatever else. When someone scans the code and visits your site, Google Analytics will track the visit and the associated source, medium and name.
  2. After you’ve tested the QR Code,  go into Google Analytics and navigate to Traffic Sources > Campaigns. You can sort by “Medium” and search for “qrcode” to see your test visit (Fig. 2).

How to Create Trackable QR Codes Using ZXing Project

Fig. 2: Viewing a test visit from a QR Code using Google Analytics.

B) Using for Creating and Tracking QR Code

If you aren’t using Google Analytics, or just need a simpler process, the url shortening application is a great tool for tracking web traffic it redirects to your QR Code landing pages.

How to create trackable QR  Codes:

  1. Create an account at
  2. Insert the target url into their url shortener. You’ll get a shortened url that looks something like:
  3. In your list of shortened urls, you’ll see the target url, with a link beside it for the “Info Page” for the url. Click on it, and you’ll see tracking information and a QR Code for the shortened url (Fig. 3).

How to Create Trackable Bitly QR Codes

Fig. 3: Creating trackable QR codes.

  1. Right click on the QR Code image to save it; you’re now ready to use it on whatever marketing piece you’d like.
  2. Now, whenever someone scans the generated QR Code, they’ll be directed to, which will count the visit and automatically redirect the visitor to the target url. This will happen fast enough that users won’t even notice the redirect.
  3. You can then use the reporting tool on your account to track scans/visits via your QR Code

There you go, there are two great (free) options for creating and tracking QR Codes.

How Can We Help?

Contact Info

8300 NE Underground Drive
Pillar 122
Kansas City, Missouri 64161

(816) 459-8404

Valuable resources about the people and industries we serve.