FNJ

Setting Up Google Analytics After Exporting a Framer Site

Framer's built-in analytics doesn't travel with an export. Here's exactly how to wire up GA4 (or another provider) on your new hosting.

PublishedJuly 17, 2026
Read time2 min
Written byThe FNJ team
All posts โ†—

Framer includes its own basic analytics for published sites, but that data โ€” and the tracking itself โ€” is tied to Framer's hosting. Once you export and move to your own domain/hosting, you need to set up tracking independently.

Why this doesn't carry over automatically

Framer's analytics script is loaded from Framer's own infrastructure. FNJ's HTML export keeps Framer's runtime for animations and interactions but removes trackers like this one โ€” correctly, since you don't want a tracking script phoning home to a platform you're leaving. But it means day one on your new hosting has zero analytics until you add your own.

Setting up Google Analytics 4

  1. Create a GA4 property in Google Analytics if you don't already have one, and grab your Measurement ID (starts with G-).
  2. Add the GA4 tag to your site. For a static HTML export, that's the standard gtag.js snippet dropped into the <head> of every page (or a single shared layout file, if your export structure has one). For a Next.js export, this is typically a single script added to your root layout, so it applies site-wide without touching every page.
  3. Verify it's firing โ€” GA4's Realtime report is the fastest check: open your live site in another tab, watch for your own visit to register within a few seconds.
  4. Set up conversion events for anything that actually matters to the business โ€” form submissions, key button clicks โ€” rather than relying on pageviews alone.

Don't forget these while you're in there

  • Search Console โ€” verify your new domain (or the new hosting URL, if you kept the same domain) as a fresh property if you don't already have it verified, so you can monitor indexing and search performance going forward.
  • A sitemap โ€” make sure one exists and is submitted, especially important right after a migration when you want Google to re-crawl efficiently rather than discover pages slowly through normal crawling.
  • Any existing UTM-tagged campaigns or backlinks pointing at your old Framer URL โ€” if your domain changed as part of the move, a redirect strategy matters for not losing that traffic and link equity.

Analytics continuity is one of the easiest things to forget in a platform migration, precisely because the old dashboard doesn't send you an alert saying "you have zero visibility now" โ€” it just quietly stops being useful.

#framer#analytics#google analytics#export#seo

Convert your Framer site next

Paste its published URL: you can preview the result before you deploy or download anything.

Convert your site โ†’

Starting a new site instead? FNJ's AI website builder designs one from a description and a site you like, then gives you the code to host anywhere.

Up nextFramer Sitemap and Robots.txt After You Export or Migrate
Also readHow Framer's Appear Animations Actually Work Under the Hood
Also readFramer Breakpoints Not Rendering Correctly After Export? Here's Why

Ready to convert your website? Production-ready in minutes.

Paste your published Framer URL to generate a production-ready project in minutes.

Example: https://your-site.framer.websiteโ€” your published siteโ€™s address. A custom domain works too.