Integrations: How to Connect statpx to Other Tools and Webhooks
Getting statpx onto your site shouldn't depend on which CMS or framework you happen to run. The Integrations page (integrations.php) is the hub for exactly that: a copy-paste snippet or plugin for every major platform, plus the entry point for wiring statpx alerts into the tools your team already watches, like Slack or Discord.
What's on the Integrations Page
Integrations is organized by platform category, each with its own install path and difficulty rating:
- Platforms & CMS — plain HTML/PHP, WordPress, Shopify, Ghost, Squarespace, Webflow, Wix.
- Frameworks — Next.js, Nuxt.js, Gatsby, Framer.
- Static sites — Hugo, Jekyll.
Each entry includes the exact snippet or config change for that platform — a plugin field for WordPress, a script tag placement for HTML/PHP, a config file addition for Next.js — so you're not adapting a generic script yourself.
Setting Up an Integration
The general flow is the same regardless of platform:
- Open Integrations and pick your platform from the sidebar (Platforms / Frameworks / Hosted CMS / Static Sites).
- Copy the snippet or plugin instructions shown — each one is already filled in with your site's tracking ID, so there's nothing to substitute manually.
- Paste it where that platform expects it — the
<head>for HTML/PHP sites, a plugin settings field for WordPress,_app.jsor a layout file for Next.js/Nuxt/Gatsby, and so on. - Load your site and check Real-time — if a hit shows up within about 15 seconds, the install worked.
For a full step-by-step walkthrough of the snippet itself, see how to install the statpx tracking code. If your site is built on a CMS that supports it, installing via Google Tag Manager is also an option if you'd rather manage all your tags in one place.
Difficulty Ratings and Verifying the Install
Each platform card on the Integrations page carries an Easy or Medium badge, so you know what to expect before you start. Most platforms are Easy — a single paste with nothing else to configure. Wix is flagged Medium because it requires going through its custom-code panel rather than a direct template edit, which takes an extra step or two compared to, say, dropping a script tag into a WordPress plugin field. Whichever platform you're on, don't consider the install done until you've verified it: open Real-time for that site in another tab, browse your live site, and confirm a session actually appears. A snippet that's pasted in the wrong template file (a footer that doesn't load on every page, for instance) will look installed but silently miss traffic — verifying via Real-time catches that immediately instead of days later when a stats gap shows up in a report.
Connecting Alerts to Other Tools via Webhooks
Beyond installing the tracking snippet itself, "connecting statpx to other tools" also covers routing notifications outward. On the Alerts page, any traffic or metric alert can be set to notify by email, webhook, or both — the webhook option accepts any HTTPS endpoint, including a Slack incoming webhook URL or a Discord webhook URL, so a traffic spike or a metric threshold breach can post directly into whatever channel your team already monitors instead of sitting in an inbox.
Connect statpx to your stack in minutes
Copy-paste install for WordPress, Shopify, Next.js, and a dozen other platforms, plus Slack/Discord webhook alerts. Privacy-friendly, no cookies required.
Start for free →The Bottom Line
The Integrations page exists so installing statpx never becomes the hard part of adopting it — whatever you built your site on, there's a copy-paste path in. Combine that with webhook-connected alerts and statpx doesn't just sit in a dashboard you have to remember to check; it plugs directly into your site and into the tools your team is already watching.