PDF failed to generate or crashed the browser
Most common in Safari with very large date ranges. Try Chrome or shorten the date range; report persistent failures to support with the agency + date range.
What's happening
AgencyLens generates PDFs in your browser, locally — your report data never leaves your machine. That's great for privacy but means PDF generation uses your browser's memory. With very long date ranges (90+ days), Safari and some Firefox configurations can run out of memory before pdf-lib finishes, and either the tab crashes or the download just never starts.
Chrome, Edge, and Brave handle large PDFs reliably up to a year of daily data. Safari starts struggling around 90-120 days for GA4 reports with a full chart and daily table.
How to fix it
- If you're on Safari and the date range is over 90 days: try a smaller range first to confirm the rest of the flow works, then either (a) switch to Chrome for this report, or (b) generate two shorter reports back-to-back and send both to your client.
- If you're on Chrome / Brave / Edge and it still failed: close other heavy tabs, hard-refresh AgencyLens (Cmd-Shift-R / Ctrl-Shift-R), and try again. Memory-pressure issues are usually transient.
- Open DevTools (Cmd-Option-I / F12), go to the Console tab, and try generating the PDF again. If a red error appears in the console, screenshot it — that's the most useful thing for support to see.
- Check your browser's downloads folder — sometimes the PDF generated successfully but the download was blocked by an extension.
For Tier 2 + Tier 3 buyers using scheduled email delivery: scheduled reports are generated server-side in a Cloudflare Worker and aren't affected by your browser's memory. So if interactive PDF generation is flaky for very large reports, scheduled email delivery still works reliably.
When to email support
If you're on Chrome, the date range is under 90 days, and PDF generation fails consistently — that's a real bug worth a ticket. Email support@agencylens.app with: browser name + version, OS, the source (GA4 / GSC / Ads / Meta), date range, and ideally a copy-paste of any error from the DevTools console.
Screenshots needed (operator notes)
- Browser-tab "Aw, Snap" / unresponsive page
- DevTools console with pdf-lib error visible
- Download notification (or absence thereof)