This tutorial explains how to create QR codes that are easy to track in Google Analytics.

A. Create a trackable URL

  1. Copy the page URL you would like to share with visitors.

  2. Visit the Campaign URL Builder -

  3. Add the following:

    • Website URL: paste your web page URL

    • Campaign Source: Always add qrcode in your source field.

    • Campaign Medium: Add the medium used to generate web traffic.
      Example: “flyer” for a printed handout

    • Campaign Name: Include the name of your marketing campaign.
      Example: “fall_campaign_test”

    • Campaign Term and Campaign Content are not required.

  1. The Builder automatically generates a campaign URL for you. 

  2. Click “Copy URL”

B. Create the QR Code

  1. Open a QR code generator such as

  2. Paste in the campaign URL to create a QR code. If using, a QR code will appear as soon as you paste the URL.

  1. Test the QR code a few times with your phone to make sure it works properly.

  2. Click “Download” to save a PNG or JPG image to your computer.

C. Check Your Google Analytics Dashboard

  1. Open your site’s Google Analytics Dashboard.
    Contact UCOMM if you don’t have access to your analytics dashboard.

  2. Change the dashboard’s date range to the date of your first QR code testing. For example, if you first tested the QR code on August 1, 2019, change the date range to:

  1. On the first page of your Google Analytics Dashboard, scroll and sort through the “How users are getting to the site” section to verify that your Source / Medium data appears.

    In the example below, Source/Medium “qrcode / flyer” of Campaign “fall_campaign_test” appears with 3 user sessions. This confirms that the test data was tracks as expected.

D. Add the QR code to your marketing materials

  1. Complete a final test of the QR code before printing or sharing with your audience.