ga4-property-and-data-stream-setup

Create Google Analytics 4 properties and configure web and app data streams.

1|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/scumunna/programmatic-skills --skill ga4-property-and-data-stream-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ga4-property-and-data-stream-setup
Source: https://github.com/scumunna/programmatic-skills/tree/main/skills/ga4-property-and-data-stream-setup
Command: npx skills add https://github.com/scumunna/programmatic-skills --skill ga4-property-and-data-stream-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps in setting up a Google Analytics 4 (GA4) property, creating web and app data streams, and configuring important settings like enhanced measurement, data retention, and reporting identity. It ensures that your GA4 setup is accurate and efficient.

Core Features & Use Cases

  • GA4 Property Setup: Create a GA4 property with the right account and configure reporting timezone and currency.
  • Data Stream Creation: Add web and app data streams to your property.
  • Tag Installation: Choose between installing the Google tag directly or using Google Tag Manager (GTM).
  • Enhanced Measurement: Configure enhanced measurement settings to avoid double-counting and ensure proper data collection.
  • Data Retention: Set the data retention period to 14 months by default to prevent data loss.
  • Reporting Identity: Choose the reporting identity that best suits your needs.
  • Google Signals: Enable Google signals with consent coverage and a business need.
  • Data Controls: Set up internal and developer traffic filters, cross-domain measurement, and consent settings.
  • Admin API vs UI: Configure properties using the UI or the GA4 Admin API for automated rollouts.
  • Measurement Protocol: Send server-side and offline events using the Measurement Protocol for additional data collection.

Quick Start

Use the ga4-property-and-data-stream-setup skill to set up a GA4 property for your brand and configure the necessary settings.

Frequently Asked Questions about ga4-property-and-data-stream-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Google Analytics 4 property and data streams?

Setting up GA4 involves creating a property with the correct account, adding web and app data streams, and configuring enhanced measurement, data retention, and reporting identity settings.

What is the default data retention period when configuring GA4?

The default data retention period for a GA4 property is 14 months. Configuring this setting prevents data loss and ensures your historical reporting data remains accessible.

Does GA4 setup support configuring data streams via the Admin API?

Yes, GA4 properties and data streams can be configured using either the standard UI or the GA4 Admin API. Using the Admin API allows for automated rollouts and precise admin configurations.

Can I send offline events to GA4 after setting up a data stream?

Yes, you can send server-side and offline events to GA4 using the Measurement Protocol. This provides additional data collection capabilities beyond standard web and app data streams.

What data controls should I configure during GA4 property setup?

During GA4 property setup, you should configure internal and developer traffic filters, cross-domain measurement, and consent settings. You can also enable Google signals with consent coverage.

Why configure enhanced measurement when creating a GA4 data stream?

Configuring enhanced measurement during GA4 data stream creation ensures proper data collection and avoids double-counting events. It automatically tracks key user interactions without manual tag implementation.