| 开发者 | statsdot |
|---|---|
| 更新时间 | 2026年11月7日 18:47 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
statsdot-analytics folder to /wp-content/plugins/.Yes. The plugin only adds the script; the statistics are in your dashboard at statsdot.com. Every account starts with a 30-day free trial without a card.
Yes. The script is a normal external script, so page caching does not affect it. If a plugin combines or delays JavaScript, exclude statsdot.com/js/script.js from it.
Add the attribute data-statsdot-event="Signup" to a button, link or form, or call window.statsdot.track('Signup') from your code. Then add the event as a goal in Statsdot. See https://statsdot.com/guides/events-and-goals
The event "Purchase", once per order, with the order total and currency, so Statsdot can show revenue per source, campaign and page (turn it off in Settings > Statsdot). Optionally, and off by default, the order number: Statsdot keeps a keyed hash of it for 7 days so a test or wrong order can be deleted through its API, then forgets it. No products or customer details are sent, and Statsdot removes the order number from the thank-you page address.
The script is under 2 KB compressed and loads deferred, after the page.