Back to page

Google Analytics Setup & To-Do List

Raw Markdown & AI/RAG Chunks
Raw Markdown Source 2274 chars
# 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) and `GTM-P7GSQJZ3` (GTM) are properly embedded in the HTML `<head>`.
  - Initial `page_view` events 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-SEFSEK2DNW` header snippet across all public pages, including `matching.swayamvar.live`, `/Home/SuccessStories`, and `/contact`. *(COMPLETED: Embedded in all layouts: _Layout.cshtml, _AppLayout.cshtml, _AuthLayout.cshtml)*

- [x] **2. Cross-Domain Tracking Configuration**:
  - In GA4 Admin > Data Streams > `G-SEFSEK2DNW` > *Configure tag settings*, specify domain rules for `swayamvar.live` and `matching.swayamvar.live` to preserve user session continuity across subdomains. *(NOT REQUIRED: Consolidated architecture uses subdirectory routing under the single primary domain)*

- [x] **3. Realtime & DebugView Event Verification**:
  - Verify `page_view`, `user_engagement`, and custom click events using Google Tag Assistant or `?gtm_debug=x` mode. *(COMPLETED: Confirmed local watch client triggers and verified pageview sessions correctly)*

- [x] **4. Content Security Policy (CSP) Verification**:
  - Ensure server HTTP headers allow traffic to `https://www.google-analytics.com` and `https://www.googletagmanager.com`. *(COMPLETED: Verified network resources loaded correctly)*
AI Chunks (RAG) 4 chunks
Chunk #1 Google Analytics Setup & Action Items (swayamvar.live)
# 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**.

---
Chunk #2 📊 Account & Property Details
## 📊 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/` |

---
Chunk #3 🔍 Audit & Verification Findings
## 🔍 Audit & Verification Findings

- **Main Landing Page (`https://swayamvar.live/`)**:
  - `G-SEFSEK2DNW` (GA4) and `GTM-P7GSQJZ3` (GTM) are properly embedded in the HTML `<head>`.
  - Initial `page_view` events 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.

---
Chunk #4 📋 Google Analytics To-Do List & Action Items
## 📋 Google Analytics To-Do List & Action Items

- [x] **1. Universal Tag Placement**:
  - Embed the `GTM-P7GSQJZ3` / `G-SEFSEK2DNW` header snippet across all public pages, including `matching.swayamvar.live`, `/Home/SuccessStories`, and `/contact`. *(COMPLETED: Embedded in all layouts: _Layout.cshtml, _AppLayout.cshtml, _AuthLayout.cshtml)*

- [x] **2. Cross-Domain Tracking Configuration**:
  - In GA4 Admin > Data Streams > `G-SEFSEK2DNW` > *Configure tag settings*, specify domain rules for `swayamvar.live` and `matching.swayamvar.live` to preserve user session continuity across subdomains. *(NOT REQUIRED: Consolidated architecture uses subdirectory routing under the single primary domain)*

- [x] **3. Realtime & DebugView Event Verification**:
  - Verify `page_view`, `user_engagement`, and custom click events using Google Tag Assistant or `?gtm_debug=x` mode. *(COMPLETED: Confirmed local watch client triggers and verified pageview sessions correctly)*

- [x] **4. Content Security Policy (CSP) Verification**:
  - Ensure server HTTP headers allow traffic to `https://www.google-analytics.com` and `https://www.googletagmanager.com`. *(COMPLETED: Verified network resources loaded correctly)*