Opinly

Description

This plugin connects your WordPress site to Opinly. It tracks visits and conversions and records the traffic source behind each conversion, so you can see which sources bring in revenue.

A conversion is one of two things:

  • A WooCommerce order. Each completed order is sent to Opinly with its total and currency.
  • A form submission. This works with or without WooCommerce. In your Opinly dashboard you can mark a form, such as a contact or signup form, as a conversion. This is handy for sites that collect leads rather than sell online.

You don’t need WooCommerce. Without a store you still get visit, click, form and traffic-source tracking. Add a store later and order revenue starts reporting on its own.

Setup

If you connect your site from the Opinly dashboard, Opinly installs and sets up the plugin for you. There is nothing to paste and no theme to edit.

If you install the plugin yourself, go to Settings > Opinly and paste your Connect Key. You will find the key under Analytics > Setup in your Opinly dashboard.

How it works

  • The tracker ships inside the plugin and loads like any other WordPress script. Nothing is fetched from a remote server. The only data that leaves your site is the anonymous analytics sent to the Opinly API.
  • On the WooCommerce order-received page, the tracker records a purchase with the order total and the visitor’s anonymous id.
  • When an order is completed, the plugin also sends a signed webhook to Opinly from the server as a backup. Opinly matches the two by order id, so an order is never counted twice.

Privacy and consent

  • Each visitor gets a random, anonymous id stored in their browser. If a consent plugin that supports the WordPress Consent API (or a cookie banner) is active, the tracker follows its decision for the “statistics” category.
  • If a visitor submits a form that contains an email address, that email is sent to Opinly to identify them and credit their conversion to the right source. No other field values are sent. The plugin records which fields a form has and that it was submitted, not what was typed.

External services

This plugin sends data to Opinly, an analytics service run by Opinly (https://opinly.ai). The plugin does nothing without an Opinly account and a Connect Key.

What it sends, and when:

  • When you save your Connect Key: the plugin calls the Opinly API (https://api.opinly.ai/connect-info) to exchange the key for your site’s tracking settings.
  • On each page view, from the visitor’s browser: an anonymous visitor id, the page URL, the referrer, traffic-source parameters (UTM tags and ad click ids), and basic events such as clicks and form submissions. For forms, only the field names are sent, never the values.
  • When a visitor submits a form that contains an email, from the browser: that email address, used to identify the visitor and credit their conversion.
  • On a WooCommerce purchase: the order id, total, currency, and (from the server) the buyer’s email, used to attribute the sale.

  • Terms of Service: https://opinly.ai/terms-of-service

  • Privacy Policy: https://opinly.ai/privacy

Privacy

Opinly receives an email address in two cases: when a visitor submits a form that contains one, and when a WooCommerce order is placed (the buyer’s email). Both are used to credit a conversion to the visitor. You are the data controller for your visitors’ and customers’ data, and Opinly is a data processor acting on your behalf. Make sure your privacy policy mentions Opinly and that you have a lawful basis (and consent where it is required) for analytics and attribution.

Installation

The simplest way is to connect your site from the Opinly dashboard (Analytics > Setup). Opinly installs and configures the plugin for you.

To install it by hand:

  1. Install and activate the plugin.
  2. In the Opinly dashboard, open Analytics > Setup and copy your Connect Key. It starts with “conn-“.
  3. In WordPress, go to Settings > Opinly, paste the key, and click Connect.
  4. Tracking is now live. On WooCommerce stores, completed orders report to Opinly.

FAQ

Do I need a WooCommerce store?

No. Without WooCommerce the plugin still tracks visits, clicks, forms and traffic sources, and you can mark form submissions as conversions in the Opinly dashboard. If you add WooCommerce later, order revenue reports on its own.

Does this slow down checkout?

No. The server-side webhook is sent in the background, so it does not hold up the customer.

Will it count an order twice?

No. The purchase recorded in the browser and the server-side webhook are matched by order id.

Does it respect visitor consent?

Yes. It registers with the WordPress Consent API and follows an active consent plugin’s decision for the “statistics” category. If no consent plugin is present, a setting (on by default) decides whether to track, and you can turn it off.

Reviews

There are no reviews for this plugin.

Contributors & Developers

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

Contributors

Translate “Opinly” 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

  • Renamed to Opinly. If you connect from the Opinly dashboard, the plugin now installs and sets itself up. You can still paste a Connect Key by hand.

1.0.0

  • First release. One-key connect, a bundled tracker, WooCommerce order revenue (recorded in the browser and confirmed by a server-side webhook, matched by order id), and form-submission conversions, with consent-aware tracking.