QR codes — Guide
How to create a QR code.
A step-by-step guide to making QR codes for websites, WiFi and contact cards — plus how to track scans in Google Analytics and print codes that actually scan.
Quick answer
- Open a free QR code generator, such as our QR code generator.
- Choose what the code should do: open a website, join WiFi, save a contact and so on.
- Enter your details — and for websites, add UTM tracking so scans show up in Google Analytics.
- Test the code with two different phones, then download it as SVG for print or PNG for screens.
QR codes bridge physical and digital marketing. A code on a flyer, menu, package or trade show booth takes people straight to a page, a WiFi network or your contact details — no typing required. Creating one takes about a minute; creating one that scans reliably and can be measured takes a little more care.
New to QR codes? Start with what a QR code is and whether you need one.
Static vs. dynamic QR codes
Before you make a code, decide which kind you need. Most QR code generators make one of two types:
| Feature | Static | Dynamic |
|---|---|---|
| How it works | Your content is stored in the code itself. | The code points to a short link on the provider's server, which redirects. |
| Expires? | Never. | Can stop working if the subscription or trial ends. |
| Edit after printing? | No. | Yes, through the provider's dashboard. |
| Scan tracking | Yes, with UTM parameters in GA4. | Yes, in the provider's dashboard. |
| Cost | Free. | Usually a monthly fee. |
Our recommendation: use static codes, and point website codes at a page on your own domain. If you ever need to change the destination, set up a redirect on that page instead of reprinting.
How to create a QR code for a website
Step 1: Open a QR code generator
Go to our free QR code generator. It makes static codes, needs no sign-up and never expires.
Step 2: Choose "Website"
Select the Website type and paste the full address of the page you want people to land on — ideally a page built for the campaign, not just your homepage.
Step 3: Turn on scan tracking
Leave "Track scans in Google Analytics" on. The generator adds UTM parameters such as utm_source=qr and utm_medium=print, plus a campaign name you choose.
Step 4: Test and download
Scan the code on screen with an iPhone and an Android phone. If both open the right page, download an SVG for your designer or printer, or a PNG for digital use.
Make your QR code now
Free, no sign-up, never expires — with built-in scan tracking.
How to create a WiFi QR code
A WiFi code lets guests join your network by scanning instead of typing a password — ideal for offices, waiting rooms, rentals and events.
- Choose the WiFi type.
- Enter the network name (SSID) exactly as it appears, including capitals.
- Enter the password and choose the security type — WPA/WPA2/WPA3 for almost every modern network.
- Test it, then print it where guests can see it.
Only use WiFi codes for a guest network. Anyone who scans the code can see the password.
How to create a contact (vCard) QR code
A vCard code saves your name, phone number, email and website straight to someone's contacts. It's great on business cards, name badges and booth signage.
Choose the Contact card type and fill in only what you need. Every extra field makes the code denser and harder to scan at small sizes — for a business card, name, phone, email and website are usually enough.
How to track QR code scans in Google Analytics 4
Static codes don't report scans on their own, but UTM parameters do. When someone scans a website code with UTMs, GA4 records the visit with your source, medium and campaign.
- Find your scans: in GA4, go to Reports → Acquisition → Traffic acquisition and set the dimension to Session campaign.
- Use one code per placement: give each flyer, sign or package its own campaign or
utm_contentvalue to compare them. - Group offline traffic: GA4 puts mediums like
printorqrunder "Unassigned" by default. Create a custom channel group in GA4 for offline and QR traffic to report it cleanly.
Need to build tracked links for other campaigns? Use our UTM builder.
QR code printing tips
- Size: at least 2 cm (about 0.8 in) square. For signs, make the code roughly one-tenth of the scanning distance.
- Contrast: a dark code on a light background. Inverted or low-contrast codes fail on many phones.
- Quiet zone: leave a clear margin around the code — our generator adds it automatically.
- Error correction: Medium is the right default. Use High for packaging, curved surfaces or anything that may get scuffed.
- Add a call to action: "Scan to see the menu" outperforms a code on its own.
- Keep content short: shorter URLs make simpler codes that scan faster.
Frequently asked questions
Are QR codes free to create?
Yes. Static QR codes are free to create and use forever. Paid services are only needed for dynamic codes that you want to edit after printing.
Do QR codes expire?
Static codes never expire. Dynamic codes depend on the provider and can stop working if the account lapses.
Can a QR code open a video?
Yes — point a website code at the video's URL. See our guide on making a QR code open a video.
What file format should I download?
SVG for anything printed — it scales to any size without blurring. PNG at 1024 px or larger works well for screens, slides and email.