WysLeap Analytics

Description

WysLeap Analytics adds the WysLeap tracking script to every page of your site. Paste your site ID and API key, and visits start showing up in your WysLeap dashboard.

This plugin needs a WysLeap account. Sign up at wysleap.com, add your site’s domain, and copy the site ID and API key from your site’s Settings.

What you can turn on

  • Page views (always on)
  • Clicks
  • Scroll depth
  • Session replay, with form fields and sensitive text masked

What the plugin handles for you

  • Leaves out your own visits: logged-in administrators and editors aren’t tracked by default (pick any roles).
  • Skips admin pages, previews, the Customizer and feeds.
  • Optional consent mode: works with cookie banners that support the WP Consent API. Tracking starts only after the visitor allows “statistics”, and withdrawing consent opts them out.
  • Adds suggested text to your privacy policy (Settings Privacy).

For developers

  • wysleap_analytics_should_track filter: return false to skip tracking on a page.
  • wysleap_analytics_init_config filter: change the config passed to WysLeap.init().

External services

This plugin connects your site to WysLeap, an analytics service run by WysLeap (wysleap.com). It does nothing until you enter a site ID and API key.

Once set up, every tracked page loads the script https://wysleap.com/telemetry.js in the visitor’s browser. That script sends WysLeap the page address and referrer, browser and device details, the visitor’s approximate location from their IP address, and, if you turn them on, clicks, scroll depth and a session replay with form fields and sensitive text masked. It stores a random visitor ID in the browser and may recognise the device across visits. Visitors in the EU/EEA, UK and Switzerland are only recognised that way after giving consent.

  • Terms of service: https://wysleap.com/terms
  • Privacy policy: https://wysleap.com/privacy

Screenshots

Installation

  1. Install and activate the plugin from Plugins Add New.
  2. Go to Settings WysLeap Analytics.
  3. Paste your site ID and API key from your WysLeap dashboard and save.
  4. Visit your site in a private window, then check your WysLeap dashboard.

FAQ

Do I need a WysLeap account?

Yes. The plugin only adds the script; your reports live in the WysLeap dashboard at wysleap.com.

Why don’t I see my own visits?

Logged-in administrators and editors are not tracked by default. Change this under “Don’t track”, or test in a private window.

Is the API key secret?

No. It is meant for the browser and appears in your page source, as with any analytics snippet. Your dashboard is protected by your WysLeap login.

I already pasted the WysLeap snippet into my theme.

Remove it from your theme (or header/footer plugin) before activating this plugin, so pages aren’t counted twice.

Does it work with caching plugins?

Yes. The script runs in the visitor’s browser, so cached pages are tracked normally.

Reviews

There are no reviews for this plugin.

Contributors & Developers

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

Contributors

Translate “WysLeap Analytics” 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.0

  • First release.