GA4 Setup Guide: Data Streams, Key Events, Consent Mode v2, Data Retention, BigQuery and Search Console
Set up Google Analytics 4 step by step: property and data stream, key events, consent mode v2, 14-month retention, BigQuery export and Search Console linking.
To set up GA4, create an account and property, add a web data stream with enhanced measurement, and install the Google tag. Then mark up to 30 key events, set data retention to 14 months, implement consent mode v2, link Search Console, and turn on the free BigQuery export so you keep raw event data beyond GA4's limits.

Google Analytics 4 is free, powerful and easy to set up badly. Many small business properties run on defaults that throw away history, miss key events or ignore consent requirements. This guide follows Google's own documentation, step by step, so your data is complete, compliant and ready for reporting.
How do you set up a new GA4 property?
Create an Analytics account, create a property with your time zone and currency, add a web data stream for your site's URL with enhanced measurement turned on, then install the Google tag. Google says data collection may take up to 30 minutes to begin, so confirm it in the Realtime report.
- 1Create the account
Sign in to Google Analytics, create or choose an account, name it and set your data-sharing preferences.
- 2Create the property
Name the property and choose the reporting time zone and currency. Add your industry, business size and objectives, then accept the terms.
- 3Add a web data stream
Choose Web, enter your site's primary URL and a stream name, and keep enhanced measurement on, as Google recommends.
- 4Install the Google tag
Paste the Measurement ID, which starts with G-, into your CMS, or add the full tag to every page or deploy it through Google Tag Manager.
- 5Verify data
Open the Realtime report, visit your site and confirm your visit appears.
Google allows up to 2,000 properties per account. Most SMBs need one property per website or app, with one web stream per site. If you also have an app, add iOS or Android streams to the same property so web and app behavior can be analyzed together.
What does enhanced measurement track automatically?
Enhanced measurement automatically collects page views and a set of common interactions without extra code. Google describes it as collecting page views and other events, and you can switch individual events off later. Leave it on at setup, then review the event list after a week and disable anything that duplicates your own tracking.
Enhanced measurement gives you a baseline, not a full picture. Form submissions on many sites, phone number clicks, booking widgets and checkout steps usually need custom events through Google Tag Manager or your platform's GA4 integration. List the actions that matter to revenue before you decide what to add.
What are key events in GA4 and how do you set them up?
Key events are the GA4 name for actions that matter to your business, such as purchases, leads or bookings. Google renamed them from conversions to separate site analytics from ad measurement. To set one up, create or identify the event, then mark it as a key event in Admin. Standard properties can mark up to 30.
Google's help center explains that events measuring important actions are now called key events, while conversions refer to actions you use to measure ad campaign performance and bidding in Google Ads. You can create conversions in Google Ads from your GA4 key events, with a limit of one web and one app conversion per key event in each linked Ads account.
- In Admin, open Events under Data display. You need the Editor role or above.
- Find the event in the Recent events tab and click the star icon to mark it as a key event.
- For an event you have not collected yet, create it with the Marketer role or above, turn on Mark as key event, set a default value and counting method, and save.
- Keep the list short. Standard properties allow 30 key events and Analytics 360 properties allow 50.
How do you set up consent mode v2 for GA4?
Consent mode v2 tells Google tags what each visitor agreed to through four signals: ad_storage, analytics_storage, ad_user_data and ad_personalization. Use a consent management platform that supports it, or implement it in your own banner. Google requires advertisers to share consent signals for users in the European Economic Area.
| Consent type | What it controls, per Google |
|---|---|
| ad_storage | Storage such as cookies or device identifiers related to advertising |
| analytics_storage | Storage such as cookies or device identifiers related to analytics, such as visit duration |
| ad_user_data | Consent for sending user data to Google for online advertising purposes |
| ad_personalization | Consent for personalized advertising |
Google offers two implementations. In basic consent mode, tags wait until the visitor responds to the banner, and no data reaches Google if they decline. In advanced consent mode, tags load with consent denied by default and adjust to the visitor's choice, which Google says enables an advertiser-specific model rather than a general one for conversion modeling.
Google Ads Help states that advertisers must collect consent for the use of personal data from end users based in the EEA and share consent signals with Google, and it recommends implementing consent mode v2 if you run your own banner. Privacy law differs by country and state, so confirm your banner and data practices with counsel; this guide is not legal advice.
What data retention setting should you choose?
Choose 14 months, the longest option for standard properties. Retention controls how long user-level and event-level data stays available for explorations and funnel reports. Google's documentation says standard aggregated reports are unaffected, but anyone doing year-over-year analysis in explorations needs the longer setting from the start.
Change it in the Data retention settings in Admin, and do it on day one, because retention is not retroactive. You can also turn on the option to reset a user's retention period on each new event; Google notes this reset applies only to user-level data. If you later need longer history than 14 months, the BigQuery export described below is the practical answer for a standard property.
Why should you link GA4 to BigQuery?
BigQuery export copies your raw, unsampled event data into a warehouse you control. That protects history beyond the 14-month retention limit and lets you join analytics with CRM or ad data. Standard properties can export up to 1 million events per day in the daily export, and the BigQuery sandbox is free within its limits.
- Create or choose a Google Cloud project and enable the BigQuery API. You need the Editor role or above in the project.
- In GA4 Admin, under Product links, open BigQuery links and click Link. You need the Owner role on the BigQuery project.
- Choose the project, a data location and the data streams to export, and exclude any events you do not need.
- Choose Daily export, Streaming export or both, then submit. Google says data should start arriving within 24 hours.
Know the costs. Google says BigQuery charges for storage and query processing, and a valid payment method is needed once you exceed sandbox limits. Streaming export has no event limit but adds a cost Google lists at $0.05 per gigabyte, may contain gaps and excludes new-user traffic source data, so Google recommends the daily export for attribution work.
How do you link Google Search Console to GA4?
In GA4 Admin, open Search Console links under Product links, click Link, choose a Search Console property you verify, select your web data stream and submit. You need the Editor role in GA4 and verified ownership in Search Console. Then publish the Search Console report collection from the Library to see the reports.
The link adds two reports: Google Organic Search Queries, showing the queries that earned impressions and clicks, and Google Organic Search Traffic, showing landing pages with both Search Console and Analytics metrics. Google says data appears 48 hours after Search Console collects it, and reports show at most 16 months because that is how long Search Console keeps data.
Each web data stream can link to only one Search Console property, and each Search Console property to only one stream. Links cannot be edited, only deleted and recreated, so make sure both properties cover the same set of pages before you link.
Which attribution settings should you check in GA4?
Check the reporting attribution model and key event lookback windows in Admin under Attribution settings. GA4 now offers three models: data-driven, paid and organic last click, and Google paid channels last click. Google removed first click, linear, time decay and position-based models in November 2023, so older guides recommending them are out of date.
Data-driven attribution is the model we recommend for most properties because it uses your own converting and non-converting paths to share credit. If you have very few key events, compare it with paid and organic last click to see whether the data-driven picture is stable. Our marketing attribution guide covers models, marketing mix modeling and lift tests in depth.
What should you check in the first 30 days after setup?
Check that every page fires the tag once, key events record correctly, internal and test traffic is excluded, payment and booking domains do not appear as referrers, and consent choices change tag behavior as expected. Small errors compound, so a 30-day audit is cheaper than rebuilding reports later.
We can configure tracking, consent mode and reporting so your data supports real decisions.
Frequently asked questions
Is GA4 free for small businesses?
Yes. Standard Google Analytics 4 properties are free. Costs can appear around it: BigQuery charges for storage and queries once you exceed sandbox limits, and streaming export adds a per-gigabyte charge. Analytics 360 is Google's paid tier, with higher limits such as 50 key events and event data retention of up to 50 months.
What happened to conversions in GA4?
Google renamed the GA4 term to key events so that conversion refers to the actions used to measure and bid on ad campaigns in Google Ads. Your existing conversions became key events. You can still create Google Ads conversions from GA4 key events, so reporting in Ads continues once the accounts are linked.
Does data retention affect my standard GA4 reports?
No. Google's documentation says the retention setting only affects explorations and funnel reports, while standard aggregated reports keep their data. The setting matters for deeper analysis, such as comparing a funnel this November with last November, which needs the 14-month option set in advance because the change is not retroactive.
Do I need consent mode if my customers are only in the US?
Google's stated requirement to collect and share consent signals applies to end users in the European Economic Area. Several US states and other countries have their own privacy laws, and many SMBs serve some overseas visitors. Review your audience and legal obligations with counsel, then decide how to configure your banner and consent mode.
How long until GA4 shows data after setup?
Google says collection may take up to 30 minutes to begin, and you can confirm it in the Realtime report. Search Console data appears 48 hours after Search Console collects it, and the first BigQuery export should arrive within 24 hours of linking. Standard reports fill in as processing completes.
Sources
- Google Analytics Help: Set up Analytics for a website and/or app
- Google Analytics Help: Events and key events
- Google Analytics Help: Mark events as key events
- Google Analytics Help: Data retention
- Google Analytics Help: Set up BigQuery Export
- Google Analytics Help: BigQuery Export
- Google Analytics Help: Connect Search Console to Google Analytics
- Google Analytics Help: Advertising and attribution
- Google Tag Platform: Consent mode overview
- Google Ads Help: EU user consent and consent mode
Figures are quoted as each source states them, for the period and sample it reports. Platform rules change often, so check the linked documentation before you act. This is general information, not legal or financial advice. Spotted an error? Email care@express.digital and we will correct it.

Nikhil Sharma edits Express Digital Insights. He has worked in digital marketing for about 20 years and has been a digital evangelist since 2005. Our editorial policy.



