GA4 means Google Analytics 4. Connect it to Antigravity to review measured website or app activity from the terminal. This article covers property selection and a traffic baseline; advertising delivery belongs in the Google Ads or Meta Ads guide.
What do you need before installing?
You need Google Antigravity with the agy command working in your terminal, a LoomaScale account, and browser access for sign-in. See Google's Antigravity plugin documentation if agy is not installed yet.
Use a Google identity with access to your GA4 property. Reporting needs the numeric property ID, not a web stream's G- measurement ID.
How do you install LoomaScale for Google Analytics 4 in Antigravity?
1. Install the LoomaScale plugin
Run this command in your terminal:
agy plugin install https://github.com/loomascale/agent-plugin/tree/main/plugins/loomascaleThis installs LoomaScale's shared plugin, which uses https://api.loomascale.com/mcp. One install covers every data source; each data source still needs its own connection.
2. Open the plugin menu
Start agy, then enter this slash command inside the session:
agy/plugin3. Sign in to loomascale
Expand loomascale in the plugin list and choose Sign in. Complete the LoomaScale sign-in in your browser, then return to the terminal.
4. Connect your Google Analytics 4 data source
Open Connections in LoomaScale and connect Google Analytics 4 with the provider identity that can access your data. Browser authentication for the plugin and permission to a platform account are separate steps.
Select Google Analytics in Connections. A Google Ads authorization does not authorize Analytics, even when the two products are linked in Google.
How do you verify access to Google Analytics 4?
Use LoomaScale to call ga4_get_account_summaries. List my GA4 property names and numeric IDs, then ask which property to use. Read its reporting time zone and currency. Do not edit settings.
Select a returned resource such as properties/123456789. Keep that property in subsequent reports and use its time zone for date boundaries.
How do you check traffic and key events in Antigravity?
Use a session acquisition report to establish the traffic mix, then investigate named events separately when necessary. Reporting definitions and attribution can differ from advertising platforms, so do not treat a discrepancy as a broken connection by default.
For the selected GA4 property, report sessions, engagedSessions and keyEvents by sessionDefaultChannelGroup over the last 7 complete days and the previous 7. State property ID, dates and time zone. Identify material changes and any unavailable or restricted data. Do not change configuration or claim a causal explanation from the report alone.
What can Antigravity do with Google Analytics 4 through LoomaScale?
LoomaScale supports GA4 reporting, realtime and funnel analysis. Separate configuration tools can change supported settings after approval of a dry run and require the appropriate editing role and granted permission. Connecting Antigravity does not install a website tag or reconstruct events that were never collected.
What if the plugin or account is missing?
Reopen /plugin and confirm loomascale is listed. If sign-in is incomplete, choose Sign in again. If the plugin connects but the account is missing, check the provider connection and account permissions in LoomaScale.
If a report is empty, verify property ID, dates, filters and event collection. Recent data may be incomplete; compare complete periods and preserve metric names.
Connect Google Analytics 4 to another AI assistant
- Connect ChatGPT to Google Analytics 4
- Connect Claude to Google Analytics 4
- Connect Claude Code to Google Analytics 4
- Connect Codex to Google Analytics 4
- Connect Grok Build to Google Analytics 4
Connect another data source to Antigravity
Install the shared plugin once. These guides cover different account types and first checks; follow the one for the data you need.
- Connect Antigravity to LinkedIn Ads
- Connect Antigravity to Google Tag Manager
- Connect Antigravity to Google Merchant Center
- Connect Antigravity to Google Search Console
- Connect Antigravity to Google Business Profile
Sources and setup references
- Google's Antigravity plugin documentation
- Google Analytics 4 API reference
- LoomaScale plugin source and supported integrations
Setup references checked on November 28, 2026. Provider documentation explains platform behavior; the LoomaScale plugin defines the tools available through this connection.
