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_trackfilter: return false to skip tracking on a page.wysleap_analytics_init_configfilter: change the config passed toWysLeap.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
Installation
- Install and activate the plugin from Plugins → Add New.
- Go to Settings → WysLeap Analytics.
- Paste your site ID and API key from your WysLeap dashboard and save.
- 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.
Screenshots
Changelog
1.0.0
- First release.

