What it is and who it’s for
When a campaign uses “Your own landing page” instead of a Mailr-hosted one, each postcard’s QR code sends the scanner to your page with a personal code in the URL (?mailr=…). The widget reads that code and renders that visitor’s home.
- Visitors who didn’t scan a postcard see a stock sample home — never another household’s imagery. A home’s rendering is only ever shown to that home.
- One snippet is account-wide. It works on any page and any campaign. Set it up once and forget it.
- Scan tracking works with or without it. The scan is recorded before the visitor ever reaches your page, so embedding is purely additive.
Widget views are not QR scans. A visitor who opens your page without a postcard code sees the sample home and is counted as nothing at all. Your scan numbers on the Tracking dashboard come from the QR code itself.
Get your snippet
In the campaign wizard, at the landing page step, choose “Your own landing page” and enter your Landing page URL (for examplehttps://yourcompany.com/postcard-offer). Mailr then shows both snippet pieces with Copy buttons and your account’s embed key already filled in. In-app copy:
“Optional: show each scanner their own house on your page. People who scan your postcard see a rendering of their own home. Everyone else sees a stock sample home… One snippet works on every page and every campaign — set it up once and forget it.”See Create a campaign for the rest of that step, and Landing pages for the Mailr-hosted alternative.
The snippet
Two pieces. Put the<div> where you want the image, and the loader script once anywhere on the page.
Every option, in plain English
Put these on whichever element declares the widget: the<div>, or the <script> tag in the one-line form.
Where to paste it, by site builder
Hand it to your AI builder
If someone else built your site with an AI tool, this is usually the fastest path. Copy this, fill in the three placeholders, and paste it into Claude, ChatGPT, Cursor, Lovable or v0:Gotchas
The ?mailr= code must survive your redirects
The ?mailr= code must survive your redirects
Http-to-https, adding or dropping
www, trailing slashes — each one is a redirect that can strip the query string. Most platforms preserve it. If yours doesn’t, the visitor just sees the sample home; scan tracking is unaffected.Publish first, then test
Publish first, then test
Builder previews often don’t run custom scripts. Publish the page before you judge whether the widget works.
Test it without mailing anything
Test it without mailing anything
Open
https://your-page.com/your-path?mailr=<any real tracking code> — that’s exactly what a scanner’s browser does. Then open the page in a fresh incognito window with no code to see what everyone else sees. Moving between pages on your site keeps the personalization for that tab.Nothing is showing
Nothing is showing
Open your browser’s console at the Verbose level and look for a
[mailr] line explaining the state. No [mailr] line at all means the script never ran, which means your builder stripped or sandboxed it — check the table above for your platform.Next steps
Create a campaign
Choose “Your own landing page” and grab the snippet.
Landing pages
The Mailr-hosted option, and what it does for you.
Tracking dashboard
Where scans and leads are counted.
Contact support
Stuck on a builder that isn’t listed here.