How To Track Qr Codes In Google Analytics

QR codes are vital resources for marketers as they enable customers to engage with your brand digitally. However, it defeats the purpose of using QR codes if you cannot monitor their effectiveness. This is where Google Analytics plays a crucial role. The subsequent guide will illustrate how you can track QR codes using Google Analytics.

Create your QR Code

Before we dive into Google Analytics, the first step is to create a QR code that links to the specific URL you wish to track. There are numerous online tools available to generate QR codes. The key is to ensure that it points to a unique URL that isn’t used elsewhere.

Create a Unique URL for Google Analytics

To track QR codes in Google Analytics, we need to create a unique URL for each QR code. Google Analytics tracks individual URLs, so by creating a unique one for our QR code, we can monitor its performance.

The best way to create a unique URL for Google Analytics is to use Google’s URL builder. Here’s how you do it:

  1. Open Google’s URL builder tool.
  2. Enter the website URL that you want to track (this is the URL that your QR code will direct to).
  3. Fill in the required fields (campaign source, campaign medium, and campaign name) to identify your QR code campaign.
  4. Click “Generate URL” to create your unique URL.

Here’s an example of how to fill in the fields in Google’s URL builder:

Website URL:
Campaign Source: qrcode
Campaign Medium: qr
Campaign Name: product-launch

After entering these details, Google’s URL builder will generate a unique URL that includes your campaign information. This URL will look something like this:

Integrate the Unique URL in your QR Code

Now that you have your unique URL, the next step is to integrate it into your QR code. Return to the QR code generator tool you used earlier and instead of the original URL, enter the unique URL generated from Google’s URL builder.

Track QR Codes in Google Analytics

Once you have your QR code with the unique URL, you can now track its performance in Google Analytics.

To do this, follow these steps:

  1. Log in to your Google Analytics account.
  2. Click on “Acquisition” on the left-hand side menu.
  3. Then click on “Campaigns” in the drop-down menu.
  4. Finally, click on “All Campaigns.”

Your QR code campaign will appear in the list of campaigns with the name you gave it in the URL builder. From here, you can monitor its performance and gain valuable insights into how users are interacting with your QR codes.


Tracking QR codes with Google Analytics is a straightforward process that can provide valuable insights into your marketing efforts. With this guide, you can now track your QR codes and use the data to develop more effective, data-driven marketing strategies.