Back to Conversion Goals

Tracking Keys

Tracking keys authenticate external event tracking requests from your website.

Advanced+

What is a Tracking Key?

A tracking key is a unique identifier that:

  • Authenticates your tracking requests
  • Associates events with your team
  • Restricts tracking to allowed domains

Creating a Tracking Key

  • Go to Conversion Goals
  • Click the Tracking Keys tab
  • Click Generate Key
  • Enter a name (e.g., "Production Website")
  • Add allowed domains
  • Click Generate
  • Copy the snippet immediately

Allowed Domains

Specify which domains can use this key:

  • `example.com` for an exact domain
  • `*.example.com` for all subdomains

Events from non-allowed domains are rejected.


Key Security

Public but Restricted

  • Keys are visible in your JavaScript (this is normal)
  • Domain restrictions prevent unauthorized use
  • QR attribution is required for events to be recorded

Best Practices

  • Use separate keys for different environments
  • Restrict domains appropriately
  • Rotate keys if compromised
  • Delete unused keys

Managing Keys

View Keys

See all your tracking keys with:

  • Name
  • Key prefix
  • Allowed domains
  • Created date

Delete a Key

  • Find the key
  • Click the delete icon
  • Confirm the deletion

Warning: Deleting a key immediately stops tracking for that key.


Troubleshooting

Events Not Tracking

  • Check that the domain is in the allowed list
  • Verify the snippet is installed correctly
  • Ensure the user arrived via a QR code
  • Check the browser console for errors

Key Not Working

  • Verify the key is active
  • Check domain restrictions
  • Ensure the correct API URL

Need help? Contact support.

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

Sign In