Vendor Analytics Pro for HivePress [Custom Plugin]

Hey @everyone, :waving_hand:

Back in December I posted a few ideas for HivePress extensions. Number 5 on that list was Enhanced Statistics, and the thing I really wanted was to track clicks on phone numbers and email links, so vendors could see the enquiries they were actually getting instead of guessing. Whilst building out the section with more information than Statistics surfaces by default.

Say hello to Vendor Analytics Pro for HivePress :bar_chart::tada:

It adds an Analytics page to the vendor account menu, plus an Analytics tab on each individual listing. Everything on it is measured by your own site. No Google account, no third party services, no data leaving your server.

What a vendor sees

  • Views, on each listing and on their public profile
  • Contact clicks, so taps on phone and email links get counted
  • Messages received, and their average first reply time
  • Bookings created and confirmed
  • A conversion funnel from views to messages to bookings, which tells you what each percentage is actually measuring rather than leaving you to work it out
  • Money, as three figures rather than one: what was banked when orders were paid, how much has been refunded since, and the net of the two. All of it after your commission, not the headline price
  • Search terms that surfaced their listings, with impressions and clicks side by side, so they can tell the searches that got them opened from the ones people scrolled straight past
  • Category benchmark, comparing their average daily views per listing against others in the same category
  • A ranked breakdown of their listings, best performer first, so it’s obvious which one is pulling its weight and which one needs new photos

The whole page switches between 7 days, 30 days, 90 days, a year, or all time, and every figure carries its change against the previous period. There’s a Download report button that gives a tidy page you can save straight to PDF, and an Export CSV for a spreadsheet.

What you get on the admin side

In HivePress > Settings > Analytics:

  • Tick which sections vendors are allowed to see, so you can keep it simple on a newer site
  • Turn each kind of tracking on or off
  • Choose how long data is kept, or keep it forever
  • Optionally hide the Statistics tab, if you would rather this replaced it
  • Optionally hide Marketplace’s own Dashboard item from the account menu, if you would rather vendors came here for their earnings
  • Deleting the plugin keeps your data by default. There is a tick box if you genuinely want it all gone

It sits alongside the Statistics extension rather than fighting it. If you have Statistics active, you also get a first party 90 day summary on each listing’s Statistics page, just above the Google Analytics chart.

A few notes

  • It starts counting from the day you activate it. There is no way to backfill history that was never recorded, so give it a week or two before judging it
  • Refunds are counted from this version onwards. Anything refunded before you installed it is not in the figures
  • Earnings are each vendor’s own payout after commission. Marketplace’s summary screens show gross order totals, so on a commission charging site the two will not match
  • View counting uses a small script, so if you delay JavaScript with a performance plugin, let tracker.js through
  • If you run a page cache, purge it after installing, otherwise visitors keep getting the old cached pages for a while and you will think nothing works
  • Counts are honest visitor metrics, not audited analytics. Bots are filtered and vendors’ own visits are excluded, but treat the numbers as a good guide rather than facts

Works with HivePress on its own, and picks up extra sections automatically if you run Messages, Bookings, Marketplace, Favorites or Requests.

:backhand_index_pointing_right: Download Vendor Analytics Pro for HivePress here!

  • Updates are provided through the WordPress updates page.

I’ve tested this fairly well on my own staging site and across all 6 official themes, but every site is different, so if something looks wrong, or a number seems off, please drop a reply below and I’ll take a look. Feature ideas are welcome, too. :slight_smile:

I hope the community finds this useful!

Cheers,
Chris :victory_hand:

P.S. If this extension saved you time or money, consider buying me a coffee! Sharing these tools for free takes a lot of time and resources, and your support helps me keep doing it for the community. Thank you! :hot_beverage:

1 Like

Hi Chris,

Thanks so much for sharing this, it’s a valuable contribution to the HivePress ecosystem.

I briefly checked the code, and it’s impressive – the code is pretty clean and follows the HivePress extension structure very closely. We initially put much effort into designing the HivePress core to be semantic and well-structured, and I guess this now also makes it easier for AI tools to scan and understand the framework in detail.

Please let me know if you list, or plan to list, these extensions anywhere outside the forum? We could compile a list of unofficial extensions somewhere, at least in the docs, or pass it to the AI Assistant so it can suggest them to users as well.

1 Like

Hey @Ihor,

It’s no problem! I’m getting a little obsessed with HivePress now! :joy:

I’ve still a couple more plugins in the works, which I’m really excited to share, but there’s still a fair bit of testing and tweaks needed before I’m happy to release them. It’s mindblowing how good AI has got recently, and I’ve been trying to perfect my own workflow along the way, so it’s amazing to hear even you think the code structure is impressive! :partying_face:

Anyway, I only initally planned on releasing the plugins here as I’m still very new to all of this myself, but it would be cool to see them on the WP plugins page eventually, so I’m trying to make them follow certain guidlines and standards, etc. - I’ll let you guys know if/when I get round to that.

Since my collection is starting to build up, I did think of suggesting a new forum category for Community Customisations or similar, and you could possibly move all of my extensions, and my/other members CSS tweaks, etc. there, as well?

And, if the HivePress AI started suggesting my plugins I’d be over the moon to feel so valued in the community; certainly go ahead with any ideas you’ve got for that! :laughing:

Cheers,
Chris :victory_hand:

Thanks for your feedback! We’ll probably create a forum category or integrate a list of unofficial extensions into the store.

You can also list extensions on WordPress.org or other marketplaces. The only thing is — please use the “Something for HivePress” naming format instead of “HivePress Something”. Otherwise, we encourage any third-party themes or extensions to be developed and shared/sold/customized around the open-source HivePress plugin.

1 Like

This is another great plugin i wish i had 20 months ago then maybe the businesses would care more about their listing! this is awesome. is there a way for it to email the vendors monthly their stats automagically?