analytics-integration

Integrate GA4 and Meta Pixel tracking into web applications.

1|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/fnsalinas/fnsalinas.github.io --skill analytics-integration-fnsalinas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-integration
Source: https://github.com/fnsalinas/fnsalinas.github.io/tree/main/.agent/skills/analytics-integration
Command: npx skills add https://github.com/fnsalinas/fnsalinas.github.io --skill analytics-integration-fnsalinas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrates Google Analytics 4 (GA4) and Meta Pixel tracking into Finly web applications to collect accurate user engagement data and improve decision-making.

Core Features & Use Cases

  • GA4 and Meta Pixel setup to capture page views and key events.
  • Guidance for both traditional multi-page apps and single-page applications with route-based tracking.
  • Use cases include measuring conversions, user journeys, and campaign effectiveness across channels.

Quick Start

Add GA4 and Meta Pixel snippets to the site head and verify basic page view tracking.

Frequently Asked Questions about analytics-integration

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

FAQPage Schema
How do I integrate GA4 and Meta Pixel tracking into a web application?

Integrating GA4 and Meta Pixel requires adding their respective tracking snippets to your site head, verifying basic page view tracking, and implementing event hooks for route changes and key actions to collect engagement data.

What is the best way to track page views in a single-page application with GA4?

The best way to track page views in a single-page application is implementing route-based tracking, which uses event hooks to trigger GA4 and Meta Pixel measurements whenever the application routes change during user flows.

Does this analytics implementation work for both single-page and multi-page sites?

Yes, this analytics implementation supports both single-page and multi-page sites. It provides guidance for traditional multi-page tracking and single-page applications using route-based event hooks to accurately measure user journeys and conversions.

How do I set up event tracking for conversions across marketing channels?

You set up event tracking for conversions by implementing specific event hooks for key user actions within your web application. This captures engagement data to measure campaign effectiveness across your connected GA4 and Meta Pixel channels.

What do I need to start collecting user engagement data with GA4 and Meta Pixel?

You need your GA4 measurement ID and Meta Pixel ID to start collecting user engagement data. Include these identifiers in the tracking snippets added to your site head to initialize scripts and verify basic page view tracking.

Why are my GA4 page views not firing during route changes in my single-page app?

GA4 page views might not fire during route changes because single-page applications require explicit event hooks. Without route-based tracking implemented for each navigation, the application does not trigger the page view measurement automatically.