WordPress Plugin
The WordPress plugin runs server-side — it captures all traffic including AI bots that don’t execute JavaScript.
Step 1 — Download the plugin
Section titled “Step 1 — Download the plugin”Go to Settings → Install Tracker → WordPress in your MOSZAIC dashboard and click Download moszaic-tracker.zip.
Step 2 — Install and activate
Section titled “Step 2 — Install and activate”- In your WordPress admin, go to Plugins → Add New → Upload Plugin
- Upload
moszaic-tracker.zipand click Install Now - Click Activate Plugin
Step 3 — Configure
Section titled “Step 3 — Configure”Go to Settings → MOSZAIC Tracker in your WordPress admin and enter:
| Field | Value | Where to find it |
|---|---|---|
| Property ID | Your UUID (e.g. f40f0ee9-d645-...) | MOSZAIC dashboard → Settings → Properties |
| Write Key | wk_... | MOSZAIC dashboard → Settings → Properties (shown on create/rotate) |
| Tracker URL | https://tag.moszaic.ai | Pre-filled — leave as-is |
Click Save Settings.
Step 4 — Verify
Section titled “Step 4 — Verify”Visit your site. A tracking event should appear in your MOSZAIC dashboard within a few seconds.
Requirements: PHP 7.4+, WordPress 5.8+.
How it works
Section titled “How it works”The plugin hooks into WordPress’s init event and fires a non-blocking POST to the MOSZAIC tracker on every page load. It sends:
- The current page URL and referrer
- The visitor’s User-Agent (for bot classification)
- The real client IP via
X-Forwarded-For
Because it runs server-side, it captures AI crawlers that never execute JavaScript — something the script tag cannot do.