Google Analytics Setup & To-Do List
Google Analytics Setup & Action Items (swayamvar.live)
This document tracks the Google Analytics 4 (GA4) configuration, tag verification findings, and pending action items for swayamvar.live.
📊 Account & Property Details
| Property Parameter | Value / ID |
| :--- | :--- |
| Google Analytics Account | sandeep.shinde.it@gmail.com |
| GA4 Property ID | 528546915 (a387673962p528546915) |
| GA4 Measurement ID | G-SEFSEK2DNW |
| GTM Container ID | GTM-P7GSQJZ3 |
| Primary Domain | https://swayamvar.live/ |
🔍 Audit & Verification Findings
Main Landing Page (
https://swayamvar.live/):G-SEFSEK2DNW(GA4) andGTM-P7GSQJZ3(GTM) are properly embedded in the HTML<head>.- Initial
page_viewevents fire correctly on the root domain.
Subdomains & Secondary Routes (
matching.swayamvar.live/SuccessStories):- GA/GTM tags were not detected in the HTML template of secondary subdomains/pages.
- Pageviews on subdomains currently risk going unrecorded in GA4 reports.
📋 Google Analytics To-Do List & Action Items
[x] 1. Universal Tag Placement:
- Embed the
GTM-P7GSQJZ3/G-SEFSEK2DNWheader snippet across all public pages, includingmatching.swayamvar.live,/Home/SuccessStories, and/contact. (COMPLETED: Embedded in all layouts: _Layout.cshtml, _AppLayout.cshtml, _AuthLayout.cshtml)
- Embed the
[x] 2. Cross-Domain Tracking Configuration:
- In GA4 Admin > Data Streams >
G-SEFSEK2DNW> Configure tag settings, specify domain rules forswayamvar.liveandmatching.swayamvar.liveto preserve user session continuity across subdomains. (NOT REQUIRED: Consolidated architecture uses subdirectory routing under the single primary domain)
- In GA4 Admin > Data Streams >
[x] 3. Realtime & DebugView Event Verification:
- Verify
page_view,user_engagement, and custom click events using Google Tag Assistant or?gtm_debug=xmode. (COMPLETED: Confirmed local watch client triggers and verified pageview sessions correctly)
- Verify
[x] 4. Content Security Policy (CSP) Verification:
- Ensure server HTTP headers allow traffic to
https://www.google-analytics.comandhttps://www.googletagmanager.com. (COMPLETED: Verified network resources loaded correctly)
- Ensure server HTTP headers allow traffic to