Category: Expert Guide

Can I track the scans of my generated QR code?

QR Code Generation with UTM Parameters

To track scans of a static QR code pointing to your own website, you can embed UTM parameters into the destination URL. The qr-generator tool will then encode this URL.

Example Scenario: Marketing Flyer

Original Destination URL: https://www.example.com/special-offer

Modified URL with UTM Parameters for a Flyer:

https://www.example.com/special-offer?utm_source=flyer&utm_medium=print&utm_campaign=summer_sale_2024&utm_content=main_offer

Assuming you use a JavaScript library or a backend script to dynamically generate the QR code image based on this URL, the process would look conceptually like this:

Conceptual JavaScript QR Code Generation

(Note: This requires a QR code generation library like `qrcode.js` or similar, and assuming qr-generator refers to a library/tool you are using.)

Loading QR Code...

When a user scans this QR code, their browser will navigate to the URL with the UTM parameters. Your web analytics (e.g., Google Analytics) will then record this traffic with the specified source, medium, and campaign.