Add campaign parameters to the URL your QR code opens, with at_medium set to "QRcode" for example. Piano Analytics has no native QR code source, so a custom value in at_medium gives QR code traffic its own marketing source.
Without these parameters, visits from a QR code are usually counted as Direct traffic (out of site). When someone scans a code with their phone camera, the browser has no previous page to send as a referrer, so Piano Analytics can't tell the visit came from your QR code.
-
Add
at_mediumandat_campaignto the URL before you generate the QR code:
https://www.example.com/?at_medium=QRcode&at_campaign=spring_sale
-
at_medium: the source. Set it to "QRcode" for instance to identify QR code traffic.
-
at_campaign: a name that identifies the campaign, such as the event, product, or promotion.
-
Generate the QR code from this URL, then scan it to check that it opens the right page with the parameters in place.
-
To analyze the traffic, go to Explorer > Traffic sources > Marketing sources.
Once a QR code is printed, you usually can't change the URL it holds (unless your QR code provider allows it). Test the code before you print it. If you use a QR code service that goes through a redirect, check that the redirect keeps your campaign parameters, or the visit will lose its campaign.