Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

How to Create an Event in GA4 Without Code (and When to Modify One Instead)

A click-by-click guide to GA4's event creation screen: turning a thank-you page view into a lead key event, adding a value that Google Ads accepts, and why modifying or renaming an event is riskier than creating one.

The EndFrame Team7 min read

You can create an event in GA4 without touching your website. In Admin, under Data display, click Events, then Create event. Give the new event a name, choose Create without code, pick an existing event such as page_view as the trigger, and enter the URL of the page that should count. The classic use is a lead form that redirects to a thank-you page: GA4 already records the page_view on that page, and the new rule copies it into a separate event, such as generate_lead, that you can mark as a key event. This guide walks through that screen, explains the difference between creating and modifying an event, and covers the limits that older tutorials leave out.

Create versus modify: what each one does

GA4 has two tools on the Events screen that look alike and behave very differently. Google's own wording is that modifying an event changes an existing event, while creating an event copies one, so the original stays unchanged.

QuestionCreate eventModify event
What happens to the source eventKept as it is; a copy is added under a new nameOverwritten for all data collected after the change
Typical useA lead event from a thank-you page viewRenaming a badly named event or fixing a parameter
Effect on key event statusThe new event can be marked as a key eventRenaming a key event removes its key event status
Main riskDouble counting if the same event is also sent by codeLosing data, for example narrowing page_view to one page

If you are unsure which to use, create. A created event adds data alongside the original, so a mistake costs you a misleading extra event rather than lost page views. A modification that goes wrong rewrites the data it touches, and that data cannot be restored.

How to create a lead event from a thank-you page

Say your contact form sends visitors to https://www.example.com/thank-you after a successful submission, and the page is not linked from anywhere else. You need the Editor role or above on the property; if you do not see the Create event button, your access is too low.

  1. 1In GA4, click Admin (the gear icon), then under Data display click Events. If the property has more than one data stream, choose the web stream when asked.
  2. 2Click Create event.
  3. 3Enter an event name. Google's tutorial uses generate_lead, which is one of its recommended event names for lead forms. Names cannot contain special characters.
  4. 4Optional: turn on Mark as key event. You can then set a Default key event value and a Counting method straight away.
  5. 5Under Choose how to create an event, select Create without code.
  6. 6Under the trigger, choose page_view from the event list.
  7. 7In the URL field, enter the full thank-you page address, for example https://www.example.com/thank-you.
  8. 8Click Create.

The new rule appears in the Custom events table at once. It does not show in the Recent events tab until Analytics has processed some data, and Google says the configuration can take from a few minutes to a few hours to start working. The other option on that screen, Create with code, does not build the event for you: you name it there and then add code to your website or app that sends it.

For the counting method, Google recommends Once per event, which counts every time the event fires. Once per session counts one per session and is labelled Legacy. For a thank-you page, a refresh is a second page_view and therefore a second lead under Once per event, which is a known weakness of page-based tracking. Our comparison of thank-you page and event-based conversion tracking explains when that trade-off is acceptable.

When the URL alone is not enough

A single URL works when the confirmation page has one fixed address. Real sites are messier: a form may add ?form=quote to the address, or three forms may each have their own thank-you page. Google's help page on renaming and generating events describes the condition-based version of the same rule, where you add Matching conditions such as event_name equals page_view and page_location contains /thank-you. Matching events are copied into the new event, and Copy parameters from the source event is on by default, so the new event keeps the page details.

Two details matter here. Operators marked (ignore case) do not distinguish capitals, while plain equals and contains do, so /Thank-You and /thank-you are different values to equals. And contains matches anywhere in the value: page_location contains thank would also match a blog post called thanksgiving-offers. Use the most specific path you can.

Adding a value that Google Ads will accept

A thank-you page view carries no money, so a lead event built from it has no value unless you give it one. You have two routes. The simpler one is a default key event value: on the Key events tab, open the menu at the end of the row, choose Set default key event value, enter an amount and save. The other is to add parameters to the created event: a value parameter that is a number, such as 40, and a currency parameter that is a three-letter ISO 4217 code, such as GBP or USD.

Google is explicit that currency is required whenever value is sent. If either is missing or invalid, GA4 still counts the event, but it is not sent to Google Ads. That is a common reason a lead shows a value in GA4 and none in an imported Google Ads conversion. A figure such as 40 should come from your own numbers, for example a 10 percent close rate on an average sale of 400. Our guide to linking GA4 to Google Ads covers importing the key event once it works.

Modifying and renaming events, and why it is riskier

To change an event in place, click Modify event on the same Events screen, then Create. Give the modification a descriptive name, add Matching conditions that select the events to change, and edit the parameters. To rename, set event_name to the new name. To copy one parameter's value into another, type the source parameter name in double square brackets, such as [[lvl_name]], with nothing else in the field. Leaving New value blank removes a parameter. The builder cannot do arithmetic, so you cannot, for example, add tax to a value.

Google's warning is blunt: modifying an event overwrites it. Its own example is narrowing page_view to a single page, which stops page_view collection on every other page. Renaming a key event also removes its key event status, so a renamed conversion silently stops counting until you mark the new name again. If a name is badly chosen, it is usually safer to create a correctly named copy and stop using the old one in reports. Our GA4 event naming conventions guide helps you choose names you will not want to rename.

Limits and rules that catch people out

  • You can modify up to 50 existing events and create up to 50 events from existing events.
  • Changes can take an hour or more to take effect, and they never apply to historical data.
  • Modifications are processed before creations, and modifications run in the order listed under Event modifications. If a created event looks for a name that a modification produces, match on the new name. Use Reorder in that pane when one modification depends on another.
  • GA4 applies these rules client-side, before data reaches Analytics. Events sent server-to-server, such as through the Measurement Protocol, cannot be modified this way.
  • With gtag.js, you cannot create or modify events based on items array parameters such as item_id, item_name or item_brand.
  • A standard property can mark up to 30 events as key events. Analytics 360 allows 50.
  • Event names cannot be blank or use a reserved name. Google also advises reviewing changes with your team so you do not duplicate event names.

The server-side point matters for anyone sending conversions to GA4 from a backend, whether through their own code or a service such as EndFrame, which forwards conversions through the Measurement Protocol. The event builder will not rename or reshape those events, so the name and parameters have to be right where they are sent.

Check that it worked

Open the thank-you page yourself in a new tab, then open the Realtime report under Reports. Google's tutorial points to the Key events by Event name card, where generate_lead should appear within a few minutes; the Event count by Event name card shows every event from the last 30 minutes. To confirm that value and currency arrived, enable debug mode with Tag Assistant, open DebugView (Admin, Data display, DebugView) and click the event to see its parameters, as our GA4 DebugView guide walks through. Allow up to 24 hours before the key event appears in standard reports.

When a tag manager or code is the better tool

The no-code builder can only reshape events GA4 already receives. Use Google Tag Manager or a developer when the action has no page of its own, such as a form that shows an inline success message, when you need data the page view does not carry, such as an order total or a form name, or when the same event must also go to Meta or TikTok. Our walkthrough on tracking button clicks in Google Tag Manager shows that route. For anything that counts as revenue, an event sent at the moment the server confirms the action is usually more reliable than a rule built on a page view.

Frequently asked questions

Does a created event in GA4 fill in past data?

No. Google states that new and modified events do not apply to historical data, and marking an event as a key event only affects reports from that point on. If you need last month's leads, use an exploration filtered on page_view and the thank-you page path instead. Those page views were collected, they simply were not counted as a separate event.

Why does my created event show in Realtime but not in the Events report?

The new rule appears in the Custom events table immediately, but Recent events only lists it after Analytics has processed some data. Google says standard reports can take up to 24 hours to show a new key event, while Realtime updates within minutes. Give it a day before deciding something is broken, then check the URL and conditions.

Can I create a GA4 event from a button click without code?

Only if the click already reaches GA4 as an event. Enhanced measurement sends a click event for links to other websites, with a link_url parameter you can match on. Clicks on internal buttons are not part of that event. Its form_submit event fires when a form is submitted, which is not the same as the submission succeeding, so a lead event built on it can count failed attempts.

Can I use generate_lead as the name if my developer already sends it?

You can, but you should not. GA4 would then receive generate_lead twice for the same lead, once from the site code and once from your rule, and the key event count would double. Check the Recent events tab before you choose a name, and pick one source for each event.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading