FLASH SALE Get 20% OFF everything using the coupon code: FLASH20 View Pricing Plans →

Knowledge Base

Documentation

Theme Documentation



Plugin Documentation



Resources

Social Icons Widget PRO – Share Analytics & Click Tracking

This article refers to Social Icons Widget PRO

Share Analytics gives you a clear picture of how visitors interact with the sharing buttons on your site. It tracks button clicks, records likes, pulls in external share counts from Facebook and Pinterest, and presents everything in a single, easy-to-read dashboard — right inside WordPress.

This guide walks you through every part of the analytics system so you can set it up, read the data, and keep things running smoothly.



1. Overview

Share Analytics tracks three types of engagement data and combines them into unified reports:

  • Click tracking — Records every click on your sharing buttons (X, LinkedIn, Threads, Reddit, Telegram, WhatsApp, Bluesky, ChatGPT, Claude, Perplexity, Email, Copy Link, and Print).
  • Like tracking — Counts likes on your posts using a like/unlike toggle button. Likes are tracked by IP address, so visitors do not need to be logged in.
  • External share counts — Pulls real share totals for Facebook and Pinterest from the SharedCount API, giving you data that goes beyond what on-site click tracking can capture.

All three data sources feed into a single analytics view, so you always see the complete picture.


2. Viewing the Analytics Dashboard

The full analytics dashboard is the central place to review your sharing performance across the entire site.

How to access it

  1. In the WordPress admin menu, go to Sharing Buttons > Share Analytics.

What you will see

The dashboard is divided into several sections:

Summary cards at the top display:

  • Total Shares — The combined count of button clicks and likes for the selected period.
  • Likes — The total number of likes recorded during the period.
  • API Shares — The aggregated external share count across all posts (Facebook + Pinterest), pulled from the SharedCount API.

Each card shows a percentage change compared to the previous period. For example, when viewing “Last 7 Days,” the change is calculated against the 7 days before that.

Shares by Platform shows a breakdown of clicks by each social platform, so you can see which networks your audience prefers.

Shares Over Time chart (powered by Chart.js) plots daily click and like activity. The chart automatically adjusts its date range based on the period you select.

Top Shared Posts table lists the posts with the most engagement. Each row shows:

  • The post title (linked to the post)
  • Click count, like count, and external API share count
  • A combined total
  • A platform breakdown showing which networks received the most clicks for that post
  • Edit and View links

Period filters

Use the tabs at the top of the dashboard to switch between time ranges:

  • Last 7 Days — The most recent week of data.
  • Last 30 Days — The most recent month.
  • Last 90 Days — The most recent quarter.
  • All Time — Everything the plugin has recorded (note: click data older than 90 days is automatically pruned — see the FAQ for details).

The top posts table supports pagination and can be sorted by total shares or by like count.


3. Dashboard Widget

A compact version of your analytics appears on the main WordPress Dashboard (the screen you see right after logging in).

The widget includes:

  • Engagement (7d) — The combined total of clicks and likes over the past 7 days, along with a percentage change compared to the previous 7-day period.
  • API Shares — The total external share count across all posts (from the SharedCount API).
  • Top Content (7 days) — A list of the 5 posts with the most shares during the past week. Each post shows colored platform pills that indicate which networks were used, along with per-platform counts.

At the bottom, a View Full Analytics button takes you directly to the full analytics dashboard.


4. Share Counts in Post Lists

When sharing buttons are enabled for a post type (e.g., Posts, Pages), a share count column is automatically added to the corresponding list table in the WordPress admin.

How it works

  • The column displays a share icon header and a combined total for each post (clicks + likes + external API shares).
  • Hover over the number to see a tooltip breaking down the total into its three components.
  • The column is sortable — click the column header to sort posts by share count.
  • The column only appears on post types where you have enabled sharing buttons in your Sharing Buttons configuration.

5. Per-Post Analytics in the Block Editor

When you are editing a post in the Gutenberg block editor, a Share Analytics panel appears in the right-hand sidebar.

The panel shows data specific to the post you are editing:

  • Clicks — Broken down into three time windows: last 7 days, last 30 days, and all time.
  • Likes — Also shown for the same three time windows.
  • Platform breakdown — A list of the top 5 platforms by click count for this post.
  • External share counts — Facebook and Pinterest counts from the SharedCount API, along with the date they were last fetched.

A Refresh button lets you force-refresh the external share counts for the current post without waiting for the cache to expire.


6. Click Tracking Settings

Click tracking is enabled by default when you install the plugin. You can toggle it on or off at any time.

How to enable or disable click tracking

  1. Go to Sharing Buttons > Settings.
  2. On the Settings tab, find the Click Tracking option.
  3. Check the box to enable tracking, or uncheck it to disable tracking.
  4. Click Save Changes.

What gets tracked

When click tracking is enabled, the plugin records a click event every time a visitor clicks one of these sharing buttons:

  • X (Twitter)
  • Threads
  • LinkedIn
  • Reddit
  • Telegram
  • WhatsApp
  • Bluesky
  • ChatGPT
  • Claude
  • Perplexity
  • Email
  • Copy Link
  • Print

What does NOT get tracked via clicks

Facebook and Pinterest clicks are intentionally excluded from click tracking. Instead, the plugin uses the SharedCount API to retrieve actual share counts for these two platforms. This avoids double-counting — a button click does not always result in a completed share on Facebook or Pinterest, and the API provides the true total.

How tracking works behind the scenes

Clicks are recorded via the WordPress REST API. When a visitor clicks a sharing button, a lightweight request is sent to your site in the background. Each click record includes the post ID, platform name, timestamp, referrer URL, and user agent. No personally identifiable information is stored.

Like tracking is separate from click tracking and is always active. It uses IP-based detection to allow visitors to like/unlike a post without needing to log in.


7. SharedCount API Integration

The SharedCount API provides real share counts for Facebook and Pinterest — the two platforms where click tracking alone cannot tell you how many times a post was actually shared.

Default API key

A default SharedCount API key is bundled with the plugin, so external share counts work out of the box without any configuration. You do not need to sign up for a SharedCount account unless you want to.

Using your own API key (optional)

If you prefer to use your own SharedCount API key (for example, to get higher rate limits), you can override the default:

  1. Sign up for a free account at sharedcount.com.
  2. Copy your API key from your SharedCount dashboard.
  3. In WordPress, go to Social Icon Sets > Settings.
  4. On the Settings tab, find the SharedCount API Key field.
  5. Paste your API key and click Save Changes.

Caching

API results are cached for 1 hour to avoid hitting rate limits. After the cache expires, the next request for that post’s share counts will fetch fresh data from SharedCount. If the API returns an error, the error result is cached for only 5 minutes before the plugin tries again.


8. Syncing External Share Counts

External share counts (Facebook and Pinterest) are fetched on demand for individual posts. To update counts across your entire site at once, use the bulk sync feature.

Syncing all posts at once

  1. Go to Social Icon Sets > Share Analytics.
  2. Click the Sync All Data button at the top of the dashboard.
  3. The plugin will process your published posts in batches of 10, fetching fresh share counts from the SharedCount API for each one.
  4. A progress indicator shows how many posts have been processed and how many remain.
  5. Once complete, the dashboard will refresh with updated totals.

Syncing a single post

When editing a post in the block editor, open the Share Analytics sidebar panel and click the Refresh button. This fetches fresh external share counts for that specific post immediately.

What gets synced

The bulk sync only processes post types that have sharing buttons enabled in your Sharing Buttons configuration. For example, if you have sharing buttons enabled for Posts and Pages, only published posts and pages will be included in the sync.


9. Clearing Analytics Data

If you ever need to start fresh, you can wipe all analytics data from the Settings page.

How to clear all data

  1. Go to Social Icon Sets > Settings.
  2. On the Settings tab, scroll down to Clear Analytics Data.
  3. Click the Clear All Analytics Data button.
  4. Confirm the action in the dialog that appears.

What gets deleted

Clearing analytics data removes:

  • All click tracking records from the database.
  • All cached external share counts (stored as post meta).
  • The site-wide aggregated share summary.
  • All SharedCount API cache entries.

This action cannot be undone. Like data (stored in a separate table) and your plugin settings are not affected by this action.


10. FAQ

How long is click data retained?

Click tracking data is automatically pruned after 90 days. A daily background task (WordPress cron job) removes records older than 90 days. This keeps your database lean without requiring any manual maintenance.

External share counts (from the SharedCount API) are stored as post meta and are not pruned — they persist as long as the post exists.

Like data is also not pruned and persists indefinitely.

What counts as a “share”?

The analytics system combines three types of engagement:

  • Click — A visitor clicked a sharing button on your site (for platforms other than Facebook and Pinterest).
  • Like — A visitor clicked the like button on a post.
  • External share (API) — A confirmed share on Facebook or Pinterest, as reported by the SharedCount API.

The “Total Shares” figure on the dashboard is the sum of clicks and likes for the selected period. External API shares are displayed separately because they are not filtered by time period (the API reports lifetime totals).

Why are Facebook and Pinterest clicks not tracked?

Clicking a Facebook or Pinterest share button does not guarantee the visitor completed the share. They might close the popup without posting. The SharedCount API provides the actual number of completed shares on these platforms, which is more accurate. To avoid inflating numbers by counting both the click and the API share, the plugin skips click tracking for these two platforms.

Does click tracking affect site performance?

The impact is minimal. Clicks are recorded via a lightweight REST API request that fires asynchronously in the background after the visitor clicks a sharing button. The tracking script is small and only loads on singular post/page views.

Do visitors need to be logged in for likes to work?

No. The like system uses IP-based tracking, so any visitor can like or unlike a post. Each IP address can only register one like per post.

What happens to analytics data if I deactivate the plugin?

Deactivating the plugin stops data collection but does not delete any existing data. Your click records, like records, and external share counts remain in the database. If you reactivate the plugin later, all historical data will still be available.

The daily data pruning cron job is unscheduled when the plugin is deactivated, so no background tasks run while the plugin is inactive.

Can I see analytics for a specific post?

Yes, in two ways:

  1. Block editor sidebar — Open any post in the Gutenberg editor and check the Share Analytics panel in the sidebar for per-post stats.
  2. Full dashboard — The Top Shared Posts table on the analytics dashboard shows per-post data with platform breakdowns. You can paginate through the list and sort by total shares or likes.

What permissions are required to view analytics?

The analytics dashboard and REST API endpoints require the manage_options capability, which is typically limited to administrators. The click tracking and like tracking endpoints are public (they need to work for all site visitors), but they only record data — they do not expose any analytics information.

I set up sharing buttons but the share column does not appear in my post list. Why?

The share count column only appears on post types where sharing buttons are enabled. Check your Sharing Buttons configuration (the wpzoom-sharing post type entry) and make sure the relevant post types are selected.

Last updated on February 17, 2026