Meta Pixel
Back to Blog
Antigravity setup4 min readNov 28, 2026By Andrii Pasika· Founder, LoomaScale

Connect Antigravity to Google Analytics 4

Short answer

To connect Antigravity to Google Analytics 4, run the install command below, open /plugin, expand loomascale and choose Sign in. Connect Google Analytics 4 in LoomaScale, then ask Antigravity to list your accessible accounts or resources and select the correct one before requesting a report.

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/loomascale

This 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
/plugin

3. 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 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.

Sources and setup references

Setup references checked on November 28, 2026. Provider documentation explains platform behavior; the LoomaScale plugin defines the tools available through this connection.

FAQ

Should I use a G- measurement ID to connect GA4 reporting?

No. GA4 reporting uses the numeric property ID returned by property discovery. A G- measurement ID identifies a web stream and is used in website measurement setup.

Does installing the plugin automatically connect my Google Analytics 4 account?

No. Installation loads the plugin. Sign in to loomascale from /plugin, connect the platform in LoomaScale, and verify an actual account lookup. The provider identity must already have access to the account or resource you select.

Who wrote this

Andrii Pasika, founder of LoomaScale

Andrii Pasika

Founder, LoomaScale

Andrii founded LoomaScale and wrote the Google Ads MCP server behind it. He runs his own campaigns through it, and mail to team@loomascale.com reaches him.

Use Google Analytics 4 in Antigravity

Connect Google Analytics 4 in LoomaScale, authenticate the plugin, and run the account verification prompt above.

Start with LoomaScale

Connect your assistant to your ad platform

LoomaScale runs inside the assistant you already use. Pick the pair you work with; each guide takes about five minutes.

ChatGPT
Google Ads

Manage Google Ads campaigns from ChatGPT: search terms, budgets and new campaigns, paused for your review. One-click install from ChatGPT's directory.

Read the integration
Claude
Google Ads

Manage Google Ads from Claude: audits, budget changes and new campaigns, every write inside the spend cap you set. Connect from Claude's directory.

Read the integration
Claude Code
Google Ads

Install the LoomaScale plugin in Claude Code with two commands and audit Google Ads from your terminal: search terms, budgets and pacing, with skills built in.

Read the integration
Codex
Google Ads

Install the LoomaScale plugin in OpenAI Codex with two commands and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
Antigravity
Google Ads

Install the LoomaScale plugin in Google Antigravity with one command and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
ChatGPT
Meta Ads

Manage Facebook and Instagram campaigns from ChatGPT: ad sets, budgets and creatives in one chat. The same one-click install.

Read the integration
Claude
Meta Ads

Manage Facebook and Instagram campaigns from Claude: audits, budget caps and new ad sets, inside the limits you set.

Read the integration
Claude Code
Meta Ads

Run Facebook and Instagram campaign reviews from Claude Code: the same plugin, one sign-in, and skills for waste audits, pacing and creative fatigue.

Read the integration
Codex
Meta Ads

Review Facebook and Instagram campaigns from OpenAI Codex: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
Antigravity
Meta Ads

Review Facebook and Instagram campaigns from Google Antigravity: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
ChatGPT
TikTok Ads

Manage TikTok campaigns from ChatGPT: reports, video watch-through, audience breakdowns, and pauses, budgets and bids on request. The same one-click install.

Read the integration
Claude
TikTok Ads

Manage TikTok campaigns from Claude: audits, video and audience reports, and pauses, budgets and bids inside the spend cap you set.

Read the integration
Claude Code
TikTok Ads

Install the Claude Code plugin, authenticate through /mcp and group TikTok ads by video to compare their opening seconds with the conversions they earned.

Read the integration
Codex
TikTok Ads

Sign in with codex mcp login loomascale, verify the TikTok advertiser ID and compare complete weeks without treating missing conversion data as zero.

Read the integration
Antigravity
TikTok Ads

Sign in from /plugin, verify the TikTok advertiser ID and compare complete weeks without treating missing conversion data as zero.

Read the integration
Manus
Google Ads

Connect Manus to Google Ads through LoomaScale’s MCP server. Analyze campaigns, keywords and search terms, then request changes within your permissions and spend cap.

Read the integration
Slack
Google Ads

Ask Slackbot about Google Ads in any Slack DM: audits, search terms and pacing checks, with changes kept inside your spend cap. Install the app once per workspace.

Read the integration
Manus
Meta Ads

Connect Manus to Meta Ads through LoomaScale’s MCP server. Review Facebook and Instagram campaigns, ad sets, creatives and placements.

Read the integration
Slack
Meta Ads

Ask Slackbot about Facebook and Instagram campaigns in any Slack DM: delivery, pacing and ad-set spend, read live from Meta Ads.

Read the integration
Slack
TikTok Ads

Install LoomaScale once for the workspace. Each teammate links their own account and can ask Slackbot for yesterday’s spend and TikTok’s diagnosis of a stalled ad group.

Read the integration