Developers

Take It Mobile

Drop a small floating widget on desktop pages so visitors can scan the current URL onto their phone. The free embed generates the QR in the browser — no Autonix API key required.

Free embed

<script src="https://www.autonix.io/js/take-it-mobile.js" async></script>

The widget only appears on viewports wider than 1024px and can be dismissed for a day.

Upgrade: unique trackable QR per page type

The free widget encodes the raw page URL. For analytics — which page types convert, which campaigns get scanned — create a tracked Autonix QR per page (or page type) with the API, then embed that image instead.

// Server-side only — never expose your API token in the browser
await fetch('https://app.autonix.io/api/tracker/qrcode', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.AUTONIX_API_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    redirect_url: 'https://yoursite.com/products/widgets',
    name: 'page:products:widgets',
  }),
});

Naming convention tip: use stable names per page type (page:pricing, page:blog:slug) so you can roll up scans in Autonix and Zapier.

Get API access on Professional · Create tracked QR guide