Project Type: WordPress Plugins

Changelog

All notable changes to this project will be documented in this file. [1.0.0] - 2025-02-05 Added Initial release Settings page for Stripe API keys (test/live mode) StripeClient wrapper with common...

Admin Dashboard

Sarai Analytics provides a simple admin dashboard for viewing event analytics. The dashboard is accessible to users with manage_options capability (typically administrators). Accessing the Dashboard Menu Location WordPress Admin →...

REST API

Sarai Analytics provides a RESTful API endpoint for submitting event data. The API is designed to be simple, secure, and rate-limited. Endpoint POST /wp-json/sarai-analytics/v1/event Authentication The endpoint is public and...

Database Schema and Queries

Sarai Analytics uses a single database table to store all event data. The schema is optimized for analytics queries and includes proper indexing for performance. Table Schema Table Name {wp_prefix}sarai_events...

Event Types

Sarai Analytics tracks five specific event types that are customized for saraichinwag.com's functionality. These events capture interactions that Google Analytics 4 doesn't automatically track. Overview Events are automatically detected and...

JavaScript Tracker

The frontend JavaScript tracker automatically detects and sends events to the REST API. It's lightweight, privacy-respecting, and requires no jQuery dependency. Overview The tracker (assets/js/tracker.js) is automatically enqueued on all...

Sarai Analytics Plugin Documentation

Overview Sarai Analytics is a lightweight WordPress plugin designed specifically for saraichinwag.com to track custom events that Google Analytics 4 (GA4) misses. The plugin stores event data locally in a...

Schema Markup

Lean SEO automatically generates JSON-LD structured data to help search engines better understand your content and potentially display rich snippets. What It Does The Lean_SEO_Schema class outputs Schema.org JSON-LD markup...

XML Sitemaps

Lean SEO automatically generates XML sitemaps for better search engine crawling and indexing. What It Does The Lean_SEO_Sitemap class creates XML sitemaps including: Index sitemap: Main sitemap listing all sub-sitemaps...

Lean SEO Documentation

Overview Lean SEO is a lightweight WordPress plugin that provides essential SEO functionality without the bloat of popular alternatives like Yoast SEO. It focuses on core SEO features: meta tags,...

← Back to Chubes.net