GA4 browser tag
Set the public measurement ID in the customer site’s web deployment:Search Console verification
For a URL-prefix property, set:sc-domain:example.com requires the DNS TXT verification supplied by Search Console. The HTML meta tag cannot verify the whole domain property.
Grant workspace access
After provisioning the workspace AgentMail address:1
Invite it to GA4
Grant the address Viewer access on the numeric GA4 property.
2
Invite it to Search Console
Grant the address Full access on the Search Console property.
3
Save the properties
Store
ga4_property and gsc_property in brands/<workspace>.yaml.4
Run the connection tests
Run each connection test from the workspace Connections settings.
Content security policy
The current application does not install a consent platform or a site-wide CSP for you. If the customer site has a CSP, allow the Google tag script and analytics connection hosts required by that installation. If consent gating is added later, mount the analytics component only after consent.Verification checklist
1
Check the initial view
In GA4 DebugView, load a clean URL and confirm one page view.
2
Check client navigation
Move between application routes and confirm one new page view per URL, including intended query-string changes.
3
Check Search Console ownership
Confirm the URL-prefix meta tag or domain DNS record is verified.
4
Inspect a URL
Use Search Console URL Inspection and submit a sitemap when the site provides one.