Google Analytics Integration

Current Article

Google Analytics Integration

Google Analytics Integration

Connect your Lifetime QR Codes account to Google Analytics 4 to track every QR code scan as a GA4 event and measure campaign performance alongside the rest of your web traffic.

Last updated: May 7, 2026
By Support Team

Why Connect Google Analytics 4?

Lifetime QR Codes already captures detailed scan analytics natively, but connecting Google Analytics 4 lets you unify your offline and online data in one place. Once connected, every scan fires an event directly into your GA4 property, so you can:

  • See QR code traffic alongside organic, paid, and social channels in the same dashboard.
  • Build custom audiences from scanners for use with Google Ads retargeting.
  • Create conversion funnels that start at the physical scan and end at a purchase or form submission.
  • Use GA4's Explore reports to run ad-hoc analysis on scan behavior over time.

Finding Your Measurement ID

Your GA4 Measurement ID always starts with G- followed by alphanumeric characters (e.g., G-XXXXXXXXXX). To locate it:

  1. Open Google Analytics and go to Admin (the gear icon in the lower-left).
  2. Under the Property column, click Data Streams.
  3. Select your web data stream.
  4. Your Measurement ID is shown in the top-right of the stream details panel.

If you do not have a GA4 property yet, create one at analytics.google.com before continuing. GA4 is free for standard usage.

Adding Your Measurement ID to Lifetime QR Codes

  1. Log in to your Lifetime QR Codes dashboard and open Account Settings.
  2. Navigate to the Integrations tab.
  3. Locate the Google Analytics 4 card and click Configure.
  4. Paste your Measurement ID (e.g., G-XXXXXXXXXX) into the input field.
  5. Click Save Settings. The integration becomes active immediately — no code changes required on your QR code landing pages.

Events Tracked by Lifetime QR Codes

Lifetime QR Codes sends the following events to GA4 on every scan:

  • page_view — fired as the scan redirect processes. This counts the scan as a session entry point so it appears in your Traffic Acquisition report.
  • qr_scan — a custom event that carries additional parameters:
    • qr_id: unique identifier of the scanned code.
    • qr_name: the label you assigned to the code in Lifetime QR Codes.
    • qr_folder: the folder or campaign the code belongs to.
    • qr_type: the content type (e.g., URL, PDF, vCard).

You can register qr_scan as a conversion event in GA4 to include it in your conversion reports and Smart Bidding strategies.

Verifying Data in GA4

After saving your Measurement ID, scan one of your QR codes (use a real device, not a browser preview) and then:

  1. Open Google Analytics and go to Reports > Realtime.
  2. You should see an active user appear within 5–10 seconds of scanning.
  3. Click the user row to expand the event stream and confirm the qr_scan event is present with the correct parameters.

Standard reports (Acquisition, Engagement) will reflect scan data within 24–48 hours as GA4 processes its daily data pipeline.

Common Issues & Troubleshooting

  • No events appearing in Realtime: Double-check that you copied the full Measurement ID including the G- prefix, and that you clicked Save Settingsafter pasting it.
  • Events appear but qr_scan parameters are missing: Make sure the QR code you tested is a dynamic code managed inside Lifetime QR Codes. Static codes generated externally cannot carry Lifetime QR Codes event parameters.
  • Data is showing in Realtime but not in standard reports: This is normal. GA4 standard reports have a 24–48 hour processing delay. Realtime data is always the most up-to-date view.
  • Measurement ID was changed or removed: Updating the Measurement ID in Lifetime QR Codes takes effect immediately on the next scan. Previously collected data in GA4 is unaffected.

Was this article helpful?