What Feed Analytics Records About Your Feeds

Would you like to know exactly what Feed Analytics records when visitors view and click your feeds?

This guide covers the information Feed Analytics saves on your site, including each visitor’s IP address, and how the data is kept up to date.

Before you get started, make sure Feed Analytics is installed and activated on your site.

Note: This guide describes Feed Analytics 2.0.1. It explains what the plugin stores so you can describe it accurately in your own privacy policy. It isn’t legal advice.

Finding Where the Data Is Stored

Feed Analytics saves what it records in 4 tables in your WordPress database. They sit next to your posts and pages, and they use your database’s table prefix. If your prefix is wp_, the tables are:

  • wp_sb_analytics_feed_events holds 1 row for every recorded visit, view, or click.
  • wp_sb_analytics_profiles holds the accounts your feeds show.
  • wp_sb_analytics_feed_posts holds the posts and reviews your feeds show.
  • wp_sb_analytics_feed_stats has room for follower counts for your feeds. Feed Analytics 2.0.1 doesn’t add rows to it.

The plugin creates these tables when you activate it. It fills the events table as visitors use your feeds. It fills the profiles and feed posts tables with details from your other Smash Balloon plugins.

Seeing What Each Event Records

Every time a visitor views or clicks a feed, Feed Analytics adds 1 row to the events table. Each row holds the following details.

What is savedWhat it means
Page URLThe address of the page the visitor was on, including anything after a question mark. For a click on a link in your feed, it’s the address of that link instead. It’s cut off at 200 characters.
PluginThe Smash Balloon plugin the feed belongs to: Instagram, Facebook, YouTube, X (Twitter), TikTok, or Reviews.
FeedThe ID of the feed that was viewed or clicked.
PostThe ID of the WordPress page or post that shows the feed.
Feed postThe ID of the single post or review in the feed, for events that are about one post. Otherwise this stays empty.
Event typeWhat the visitor did. The types are listed in the next section.
IP addressThe IP address of the visitor’s device. See How Are IP Addresses Stored? below.
TimeThe date and time of the event, in UTC.
Event countHow many events the row stands for. On a default site, it’s always 1.

Which Events Does Feed Analytics Record?

The tracking script on your pages records 6 types of event. Not every event type has its own number on the dashboard.

Event typeWhen it’s recorded
pagevisitA page that shows a feed loads. It’s recorded once per feed on each page load.
viewAt least 20% of a feed, or enough of it to fill half the height of the visitor’s screen, is on screen for 2 seconds.
postviewA single post or review is on screen for 2 seconds. It carries the feed post ID.
clickA visitor clicks a post, a link, or the load more button in a feed.
profilevisitA visitor clicks the profile link in a feed. The page URL is left empty for this type.
sourceclickA visitor clicks a link in a Reviews feed that leads to a different website.

To see how the dashboard turns these events into totals, read Reading Your Feed Analytics Dashboard.

How Are IP Addresses Stored?

Feed Analytics saves the visitor’s IP address exactly as your server reports it. The plugin doesn’t hash, shorten, or hide it. Anyone with access to your database can read it in the events table.

On most sites, the address comes straight from your server. If your site sits behind a proxy, a CDN, or a load balancer, the address may be the proxy’s address instead.

These services can pass along the visitor’s original address. Because anyone can fake that forwarded address, Feed Analytics only uses it if your site is set up to trust it. A developer can turn this on with the SB_ANALYTICS_TRUST_PROXY constant or the sb_analytics_trust_proxy_headers filter.

Because an IP address is stored with each event, you may want to mention it in your site’s privacy policy. To do this, describe it the way it applies to your site. Then ask a legal professional if you’re unsure what you need to say.

Knowing What Feed Analytics Doesn’t Record

The events table has no column for the following details, so Feed Analytics doesn’t save them:

  • A visitor’s name, email address, or WordPress user ID
  • A cookie or any other ID that follows a visitor from page to page (the tracking script sets no cookies and uses no browser storage)
  • The visitor’s browser or device (the user agent)

Feed Analytics also leaves out events from administrators who are logged in. Your own visits while you manage the site don’t add to your numbers. Visitors and logged-in users with other roles are counted.

To learn more, read Troubleshooting Feed Analytics When No Data Shows.

Seeing What the Other Tables Hold

The other 3 tables describe your feeds. They don’t store anything about your visitors.

TableWhat it holds
ProfilesThe accounts your feeds show: the plugin, the account ID, the account name, and the address of its profile picture. The dashboard uses it to name the accounts in your top profiles card.
Feed postsThe posts and reviews that have events. For each one, it holds the plugin, the post ID, its text (up to 1,000 characters), the address of its image, and the feed and profile it belongs to. The dashboard uses it to show Top Posts.
Feed statsFollower counts for your feeds, by feed and date, linked to a profile. The dashboard reads it for the top profiles card, but Feed Analytics 2.0.1 doesn’t add rows to this table.

How Is the Data Updated?

The events table grows as visitors use your feeds. The profiles and feed posts tables are updated by 2 daily WordPress scheduled tasks, which are also called cron events:

  • sb_analytics_count_followers saves the accounts your feeds use into the profiles table.
  • sb_analytics_save_feed_posts saves the posts and reviews that have events into the feed posts table.

Both tasks also run when an administrator opens a Feed Analytics page. To fill the tables, they ask your other Smash Balloon plugins for the accounts and posts your feeds show.

Deactivating or Deleting the Plugin

Deactivating Feed Analytics doesn’t remove any data. Deleting it from the Plugins page doesn’t remove the data either. All 4 tables stay in your database, along with the plugin’s saved options.

If you install Feed Analytics again later, those records are still there.

If you want the tables gone, your developer or host can remove them from the database. Before you do, back up your site.

Checking How Long Data Stays

Feed Analytics 2.0.1 has no setting for how long events stay in the events table. If you need a firm answer for your privacy policy, contact our support team.

That’s it! You now know what Feed Analytics records, where it keeps it, and what stays behind when you remove it. To control who can open the reports on your site, read Where to Find Feed Analytics and Who Can See It.

Frequently Asked Questions

Below, we’ve answered some of the most common questions about what Feed Analytics stores.

Does Feed Analytics store my visitors’ IP addresses?

Yes. See the How Are IP Addresses Stored? section above.

Does Feed Analytics set cookies or track visitors across pages?

No. The tracking script doesn’t use cookies or browser storage, and the events table has no column for a user ID or browser ID. It does save the IP address with each event.

Are my own visits recorded when I’m logged in as an administrator?

No. See the Knowing What Feed Analytics Doesn’t Record section above.

Is the sample data saved in these tables?

No. The sample data comes from a file inside the plugin and isn’t saved in these tables. To learn why sample data shows, read Why Am I Seeing Sample Data in Feed Analytics?.

Is the data removed when I delete Feed Analytics?

No. See the Deactivating or Deleting the Plugin section above.

Can I download the data Feed Analytics records?

Feed Analytics can export daily totals and top posts as JSON files. The export doesn’t include IP addresses. To learn how, read Exporting Your Feed Analytics Data.

support

Couldn’t find your answer in the docs?

Contact Support