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 - ga-dev-tools.appspot.com/campaign-url-builder/

  3. Add the following:

    • Website URL: paste your web page URL

    • Campaign Source: Consider adding a source code that makes sense for your campaign.

    • EXAMPLE: fa_training_vids = Financial Aid videos

    • EXAMPLE: aoe_qr_code = AOE campaign QR code

    • Campaign Medium: Always add email for email campaigns.

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

    • Campaign Term and Campaign Content are not required.


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

  2. Click “Copy URL”


B. Send yourself and/or others a test email.

  1. Copy the campaign URL created in step A.

  2. Paste the link into a test email.
  1. Send the test email to yourself and others who will click the link to be sure it opens the desired page.
  1. 15-20 minutes after testing has been completed, proceed to step C.

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 email link to your email and distribute.