Free auditStart free
GuideFramer · Analytics

Google Analytics on Framer

Add GA4 to Framer by pasting a Measurement ID in Site Settings, forward framer:click events with Custom Code, and check that the tag fires.

3 min
read
3
sources
Oct 29, 2026
updated
Scaplet Editorial Team
author
In one line

Create a Google Analytics property, copy its Measurement ID, open Site Settings in Framer, paste it into the field labeled Google Analytics Measurement ID, then save and publish. For click and form events, add a script to the Custom Code section that listens for framer:click or framer:formsubmit. Framer says IP anonymization is not required in GA4.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

4 facts from the sources below
Site Settings > Google Analytics Measurement ID
Where in Framer
Custom Code section
Other tools
framer:click, framer:formsubmit, framer:pageview, framer:triggerinvoke
Events
Not required in GA4, per Framer
IP anonymization
01Your call

Pick the install route

If this fits

Use the Measurement ID field if

  • You want the standard Measurement ID setup with no code.
  • You are fine editing nothing beyond Site Settings.
  • You do not need custom events.
Or

Use Custom Code if

  • You want to forward link clicks or form submits as GA events.
  • You run another tool that needs its tracking code pasted in.
  • You already manage tags somewhere else and want to keep that setup.

Framer's help describes both routes: tracking code goes in your settings, and for other third-party tools you paste their tracking code into the Custom Code section. Framer also publishes separate guides for Google Tag Manager, listed as related articles on the setup page; this guide covers the direct route.

02How it works

Install GA4 with the Measurement ID

  1. 01

    Create a property

    If you don't already have a Google Analytics account, create one on the Google Analytics website, then set up a property following Google's instructions.

  2. 02

    Copy the Measurement ID

    Copy the Measurement ID provided after creating your property. Google's help says a Google tag ID usually starts with "G-".

  3. 03

    Paste it

    Open Site Settings in your Framer project and paste the ID into the field labeled "Google Analytics Measurement ID."

  4. 04

    Save and publish

    Save your changes and publish your site.

04How it works

Check it worked

  1. 1

    Find the ID in source

    Open the published site, view source and search for your Measurement ID.

  2. 2

    Watch the network

    In DevTools, Network tab, filter for collect or your G- ID while loading and clicking. A request per page view means the tag fires.

  3. 3

    Check Google Analytics

    Use a Google Analytics real-time report in another browser. If a tracked click matters, click it once and confirm the event arrives.

For search-side data, see Framer SEO guides; for the favicon and other head settings, Framer favicon.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • framer.com
  • google.com
  1. 01Setting up Google Analytics | Framer Helpframer.com · checked 2026-11-01
  2. 02How to track links and forms in Framer | Framer Helpframer.com · checked 2026-11-01
  3. 03Find your Google tag ID | Analytics Helpsupport.google.com · checked 2026-11-01
Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01Where do I paste the Google Analytics ID in Framer?

Open Site Settings in your Framer project and paste the Measurement ID into the field labeled "Google Analytics Measurement ID", then save and publish.

02How do I add other analytics tools to Framer?

Paste their tracking code into the Custom Code section of your Framer project, per Framer's help.

03Can I send Framer click events to Google Analytics?

Yes. Add a script to Custom Code that listens for framer:click or framer:formsubmit and forwards them. Framer provides gtag.js and analytics.js examples.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane