OpenRevenue

Description

OpenRevenue is a simpler, privacy-friendly alternative to Google Analytics with realtime insights, performance metrics, funnels and shareable public stats.

This plugin connects your WordPress site to your OpenRevenue account. Enter the Project ID from your OpenRevenue dashboard, save, and the lightweight tracking script is automatically added to every page — no theme editing required.

Features

  • One-field setup — just paste your Project ID and save.
  • Lightweight, deferred tracking script that does not slow your site down.
  • Optionally exclude logged-in staff (administrators, editors, authors, contributors) so your own visits do not inflate your stats.
  • “Verify connection” button to confirm the tracker can be reached from your site.
  • Clean, privacy-focused analytics without the bloat of traditional tools.

You will need an OpenRevenue account and a project. Create one for free at https://www.openrevenue.com.

External services

This plugin relies on OpenRevenue, a third-party analytics service, to collect and display your site’s analytics. Your site will not send any data to OpenRevenue until you enter a Project ID and save the settings.

1. Loading the tracker script (front end)

Once a Project ID is saved, the plugin loads the OpenRevenue tracking script (https://api.openrevenue.com/tracker.js) on your site’s public pages. When a visitor loads a page, the script sends analytics data to https://api.openrevenue.com/api/track, including: page URL and referrer, browser, operating system, device type, approximate country/region/city (derived from IP at the time of the request and not stored as a raw IP), an anonymous visitor/session identifier, time on page, and basic performance (web vitals) metrics. To recognise returning visitors, the script stores a randomly generated identifier in the visitor’s browser (using local storage, with a first-party cookie as a fallback). Depending on your jurisdiction you may need to inform visitors or obtain consent.

2. Verifying the connection (admin only)

When you click the “Verify connection” button on the plugin settings page, your site makes a single server-side request to https://api.openrevenue.com/tracker.js to confirm the tracker is reachable. No personal data is sent in this request.

By using this plugin you are sending data to OpenRevenue. Please review:

  • OpenRevenue website: https://www.openrevenue.com
  • Privacy policy: https://www.openrevenue.com/privacy
  • Terms of service: https://www.openrevenue.com/terms

Screenshots

Installation

  1. Upload the openrevenue folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Click OpenRevenue in the left-hand admin menu.
  4. Paste your Project ID from your OpenRevenue dashboard (https://www.openrevenue.com/dashboard) and click Save Settings.
  5. (Optional) Click Verify connection to confirm the tracker is reachable.
  6. Visit your site in a logged-out browser, then open Realtime in your OpenRevenue dashboard to see traffic.

FAQ

Do I need an OpenRevenue account?

Yes. This plugin connects an existing OpenRevenue project to your WordPress site. You can create an account and a project at https://www.openrevenue.com.

Where do I find my Project ID?

Open your OpenRevenue dashboard, select the project you want to track, and copy its Project ID (the same value used in the data-site attribute of the tracking snippet).

My own visits are showing up in the stats.

Enable the “Exclude staff” option on the settings page (on by default). It stops the tracker from loading for logged-in users who can edit content.

Does this work with caching plugins?

Yes. The tracker is a standard deferred script tag added to the page, so it is compatible with full-page caching.

Can I point the tracker at a custom/self-hosted domain?

Yes, developers can change the script URL with the openrevenue_script_src filter.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“OpenRevenue” is open source software. The following people have contributed to this plugin.

Contributors

Translate “OpenRevenue” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.1

  • Initial public release of the OpenRevenue WordPress plugin.
  • Paste your Project ID to load the tracker from https://api.openrevenue.com/tracker.js.
  • Exclude logged-in staff from tracking (on by default).
  • Verify connection from the settings screen.
  • Top-level admin menu with connection-status badge and settings UI.