Description
SiteCrumb shows how visitors use your site: session recordings, click, move and scroll heatmaps, funnels, frustration signals such as rage clicks, and on-site surveys and feedback. This plugin adds the SiteCrumb tracker to every page of the site, so there is no code to paste into the theme.
The plugin needs a SiteCrumb account. SiteCrumb is free for 35 sessions a day per site; paid plans record more. If you run SiteCrumb on a server of your own, the plugin works with that too.
- Click “Connect to SiteCrumb”, log in and pick the site: the plugin fills in the rest. Or fill in your SiteCrumb address and the site key (or paste the install snippet) by hand. The settings page, and Tools Site Health, check that SiteCrumb accepts data from the site.
- A WordPress dashboard widget shows the last seven days: visitors, pageviews, sessions, top pages and how many recorded sessions had rage clicks. On the site itself, the admin bar opens the heatmap of the page you are looking at.
- Form submissions, sign-ups, comments, searches and 404 pages are sent as events, and every page says what kind of page it is, so heatmaps and recordings can be filtered by it (see below).
- Logged-in editors and administrators are left out by default, so recordings show visitors rather than you editing pages.
- Follows the WP Consent API: with that plugin active, consent plugins that support it (Complianz, for example) decide whether a visitor is tracked. SiteCrumb counts as
statistics; the filtersitecrumb_consent_categorychanges that. Withdrawn consent stops tracking at once and forgets the visitor in that browser. - Optional: wait for consent without the WP Consent API (the page calls
ht('consent', true), e.g. from a cookie banner), and skip visitors with Do Not Track switched on. - The tracker is kept out of the “delay JavaScript” and combine features of WP Rocket, LiteSpeed Cache, SiteGround Optimizer, Autoptimize, Jetpack Boost and Cloudflare Rocket Loader. Delayed until the first interaction, it would miss visitors who leave without one.
WooCommerce
With WooCommerce active, the plugin sends these custom events, for funnels, goals and finding recordings:
add_to_cartwithproduct_id,variation_id,name,sku,quantity,price,valueandcurrency. Sent right away after an AJAX add, otherwise on the next page view. With the WP Consent API, the cookie that carries it to the page is only set for visitors who allow statistics.checkout_startedwithvalue,currencyanditems, on the checkout page.purchasewithvalue,currency,items,payment_methodandcoupon, once per order on the thank-you page. Failed and cancelled orders are left out, and so are orders whose customer does not return to the thank-you page from the payment provider.view_itemwithproduct_id,name,sku,priceandcurrency, on product pages.remove_from_cartwithproduct_id,variation_id,name,quantity,valueandcurrency. Sent right away after an AJAX removal, otherwise on the next page view.view_cartwithvalue,currencyanditems, on the cart page.coupon_appliedwithcoupon.
All text on the thank-you page and the My account pages, which show customers’ names, email and addresses, is masked in recordings and heatmaps. Form inputs are masked on every page, hidden ones too (the password reset form’s reset_key and reset_login, say). The order key in the thank-you and payment page addresses (?key=), which opens those pages, is replaced with [redacted] before the address leaves the browser, and so is the key in links and forms inside recorded pages (a “Pay” link, say).
Optionally the order number goes along as the custom value orderNumber. Add it on the Custom values page in SiteCrumb to search recordings by order.
Forms, sign-ups and page types
Without any code, the plugin also sends these custom events, for funnels, goals and finding recordings:
form_submitwithform(the form’s name) andplugin(cf7,wpforms,gravityforms,elementororfluentforms), when Contact Form 7, WPForms, Gravity Forms, Elementor Pro forms or Fluent Forms take a submission. What visitors fill in is never sent.sign_upwhen a visitor makes an account (the registration form, or WooCommerce’s My account page and checkout). Accounts an administrator adds are left out.comment_postedwithpost_type, when a visitor leaves a comment.searchwithresults, the number of results, on search results pages. What was searched for is not sent.page_not_foundon 404 pages.
Submissions, sign-ups and comments happen on the server, so they reach the page through a short-lived cookie, like the WooCommerce events: at once after an AJAX submit, otherwise on the next page view. With the WP Consent API, that cookie is only set for visitors who allow statistics.
Every page also tells SiteCrumb what kind of page it is, as custom values: template (front, home, single, page, archive, category, tag, search, 404, and with WooCommerce product, shop, cart, checkout or account), postType, category (the slug of a post’s or product’s category; Yoast SEO’s primary category when set) and loggedIn (yes or no). Add them on the Custom values page in SiteCrumb to filter heatmaps and recordings by them, e.g. every product page. Both can be switched off on the settings page.
For developers
The tracker’s own ht() function is available to the theme and other plugins, e.g. ht('event', 'newsletter_signup'). The filter sitecrumb_track_visitor decides whether the current visitor is tracked, and sitecrumb_strip_params lists the query parameters hidden from page addresses (by default key); add your own, e.g. an invite code, to the list it returns.
External services
This plugin connects to SiteCrumb, the analytics service it is made for, at the address entered in its settings: https://sitecrumb.com for SiteCrumb’s hosted service, or your own SiteCrumb server. Nothing is sent anywhere until that address and a site key are filled in.
- On every page view the visitor’s browser loads the tracker script (
/t.js) from that address. The tracker sends what the visitor does on the site to the same address: pages viewed with their addresses and referrer, clicks, mouse movement and scrolling, window width, browser and device type, custom events (including the WooCommerce events below), and, for sessions the site records, a recording of the page with form inputs masked. The visitor’s IP address is seen by the server as with any request. Tracking waits for consent when the WP Consent API or the “Wait for consent” setting is used. - When an administrator opens Settings SiteCrumb or Tools Site Health, the site asks the same address whether it accepts data for the site key (
/i/config), sending the site key and the site’s own address. - When an administrator clicks “Connect to SiteCrumb”, their browser goes to that address’s connect page (
/app/connect/wordpress) with the site’s address, name and the settings page’s address. Back on the settings page, the site exchanges the one-time code it got for the site key and a read-only statistics key (/api/connect/exchange), sending only the code. - Once connected, the WordPress dashboard widget reads the last seven days’ totals, top pages and frustration counts from that address (
/api/sites/…/statsand/insights) with the statistics key, at most every fifteen minutes and only while someone views the dashboard. Disconnecting on the settings page stops it.
For SiteCrumb’s hosted service, see its terms of service and privacy policy; the privacy policy covers the data collected about visitors of sites that use SiteCrumb. With your own server, your own terms and privacy policy apply. Mention SiteCrumb in your site’s privacy policy either way: the plugin suggests text for it under Settings Privacy Policy Guide.
Screenshots




Installation
- In WordPress, go to Plugins Add New Plugin, search for “SiteCrumb”, click Install Now and then Activate.
- Go to Settings SiteCrumb and click “Connect to SiteCrumb”. Log in (or sign up), pick the site or create one, and you are back in WordPress with everything filled in.
- No account to connect with? Paste the install snippet from SiteCrumb (Settings Install) instead, or fill in the address (
https://sitecrumb.comfor the hosted service) and the site key. - Open the site in a private window and click around. The visit shows up in SiteCrumb within seconds.
FAQ
-
Where do I find the site key?
-
In SiteCrumb, under Settings Install. It is the
data-sitevalue of the install snippet. Pasting the whole snippet into either field on the plugin’s settings page fills in both. -
Why don’t I see my own visits?
-
Logged-in users who can edit posts are not tracked by default. Open the site in a private window, or switch off “Do not track logged-in users who can edit posts”.
-
Does it work with caching and optimization plugins?
-
Yes. Cached pages carry the tracker like any other page, and the plugin keeps the tracker out of the “delay JavaScript” and combine features of WP Rocket, LiteSpeed Cache, SiteGround Optimizer, Autoptimize, Jetpack Boost and Cloudflare Rocket Loader.
-
Which forms are tracked?
-
Contact Form 7, WPForms, Gravity Forms, Elementor Pro forms and Fluent Forms, out of the box. Each submission becomes a
form_submitevent with the form’s name; nothing visitors typed is sent. For another form plugin, callht('event', 'form_submit', { form: 'Newsletter' })from its success callback. -
How do I see heatmaps of one page from WordPress?
-
While logged in, open the page on your site and choose SiteCrumb Heatmap of this page in the admin bar. The dashboard widget’s top pages link to their heatmaps too.
-
How do I ask visitors for consent?
-
Install the WP Consent API plugin and a consent plugin that supports it, such as Complianz. SiteCrumb then tracks only visitors who allow statistics. Without the WP Consent API, switch on “Wait for consent” and have your cookie banner call
ht('consent', true).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“SiteCrumb” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “SiteCrumb” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.4.0
- Connect to SiteCrumb with one click: log in, pick the site, done.
- Dashboard widget with the last seven days’ visitors, pageviews, sessions, top pages and sessions with rage clicks.
- Admin bar menu on the site: the heatmap of the page you are on, recordings and the dashboard.
- New events without code:
form_submit(Contact Form 7, WPForms, Gravity Forms, Elementor Pro, Fluent Forms),sign_up,comment_posted,searchandpage_not_found. - New WooCommerce events:
view_item,remove_from_cart,view_cartandcoupon_applied. - Page type, template and category sent as custom values, to filter heatmaps and recordings by them.
- Site Health test for the connection, and suggested text for the site’s privacy policy.
0.3.1
- Code changes for the WordPress.org plugin directory. No change in what the plugin does.
0.3.0
- Renamed from HotTegla to SiteCrumb. The plugin now lives in the
sitecrumbfolder, and its filters aresitecrumb_track_visitor,sitecrumb_strip_paramsandsitecrumb_consent_category. Settings saved by the HotTegla plugin are taken over on first load; deactivate and delete the HotTegla plugin afterwards.
0.2.1
- The tracker’s script tag names the query parameters to hide from page addresses (
data-strip-params): WooCommerce’s order keykeyby default, more with thesitecrumb_strip_paramsfilter.
0.2.0
- Follows the WP Consent API: the tracker waits for
statisticsconsent from consent plugins that support it, and stops and forgets the visitor when consent is withdrawn or has expired. The WooCommerce cart cookie is only set with consent.
0.1.0
- First version: tracker, settings page with connection check, optimizer exclusions, WooCommerce events.
