analytics

Implement GA4, Facebook Pixel, and affiliate tracking on WordPress sites.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/michalstaniecko/wp-theme-sardynkibiznesu-2.0 --skill analytics-michalstaniecko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics
Source: https://github.com/michalstaniecko/wp-theme-sardynkibiznesu-2.0/tree/main/.claude/skills/analytics
Command: npx skills add https://github.com/michalstaniecko/wp-theme-sardynkibiznesu-2.0 --skill analytics-michalstaniecko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implementing reliable, production-ready analytics and conversion tracking across WordPress sites without exposing development environments.

Core Features & Use Cases

  • GA4, Facebook Pixel, and Google Tag Manager integration
  • Production-only loading of tracking codes
  • Event tracking and conversions

Quick Start

Install the ihumbak-analytics plugin in a production-ready WordPress setup and verify GA4 and Pixel events are firing.

Frequently Asked Questions about analytics

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

FAQPage Schema
How do I set up GA4 and Facebook Pixel tracking on a WordPress site?

WordPress analytics tracking is implemented by integrating GA4, Facebook Pixel, and Google Tag Manager to measure events and conversions. It applies production-only loading rules so tracking scripts fire securely without exposing development environments.

What is production-only loading for analytics scripts?

Production-only loading ensures tracking codes like GA4 and Facebook Pixel fire exclusively on live environments. This mechanism prevents analytics data pollution from staging or development traffic by cleanly integrating deployment rules with existing WordPress plugins or themes.

Can I track affiliate conversions and custom events using Google Tag Manager in WordPress?

Yes, affiliate tracking and custom event measurement are supported through Google Tag Manager integration. The setup cleanly integrates with existing WordPress plugins or themes to capture specific conversion events without altering core site functionality.

Does this analytics tracking approach work with my existing WordPress plugins and themes?

Yes, the tracking implementation is designed for clean integration with existing WordPress plugins or themes. It satisfies production-only script loading and secure deployment practices without requiring a complete site overhaul or conflicting with current setups.

Why are my GA4 and Facebook Pixel events firing in my WordPress development environment?

Analytics scripts firing in development indicates missing production-only loading rules. Proper WordPress tracking implementation prevents GA4 and Facebook Pixel codes from loading outside production, ensuring secure deployment and clean development data.