Help CenterConversion GoalsExternal Event Tracking
Back to Conversion Goals

External Event Tracking

Track conversions that happen on your own website after someone scans a QR code.

Advanced+

When to Use External Tracking

Use external tracking when:

  • Your QR code redirects to your website (not a QR Advanced landing page)
  • You want to track purchases, signups, or other actions
  • The conversion happens outside QR Advanced

How It Works

  • User scans your QR code
  • They are redirected to your website with attribution data
  • Your website includes our tracking snippet
  • When conversions happen, the snippet sends events to us
  • Events are attributed to the original QR scan

Setting Up External Tracking

Step 1: Create a Tracking Key

  • Go to Conversion Goals
  • Click the Tracking Keys tab
  • Click Generate Key
  • Add allowed domains
  • Copy the generated snippet

Learn more about tracking keys.

Step 2: Add the Snippet

Add the JavaScript snippet to your website, before the closing tag.

Step 3: Track Events

Use the qrAdvanced.track() function:

// Track a page view
qrAdvanced.track('page_view');

// Track a button click
qrAdvanced.track('button_click', { button: 'signup' });

// Track a purchase
qrAdvanced.track('purchase', { value: 49.99, currency: 'USD' });

// Track a custom event
qrAdvanced.track('custom', { eventName: 'video_watched' });

Attribution

Events are only tracked when visitors arrive via your QR codes. The session is automatically attributed.


Security

  • Tracking keys are domain-restricted
  • Events without valid attribution are rejected
  • Rate limiting prevents abuse

Plan Requirements

External tracking requires the Advanced plan or higher. Compare plans.

For automatic tracking without any setup, use QR Advanced landing pages with internal event tracking.

Was this article helpful? If you need more help, sign in to contact our support team.

Sign In