Setting Up Simple Analytics

Step-by-step guide to enable analytics tracking on your WordPress site and start collecting visitor data.

Overview

This tutorial walks you through enabling Simple Analytics on your WordPress site. The entire setup takes less than a minute and requires no code changes on your site.

Prerequisites

  • An active RakuWP account (any plan).
  • The RakuWP plugin installed and connected on your WordPress site.
  • The Remote service enabled on the site (so the panel can push the tracking key).

Step 1: Add your site to Simple Analytics

  1. Log in to your RakuWP panel and navigate to Analytics from the main menu.
  2. If this is your first time, click Add site in the toolbar.
  3. Select the site you want to track from the dropdown and click Create.
  4. An API key is generated automatically for your site.

Step 2: Deploy the tracking snippet

The tracking snippet is deployed automatically. When you add a site to Simple Analytics, the panel pushes the API key to your WordPress site via the Remote service. The RakuWP plugin then embeds the lightweight JavaScript snippet on all pages of your site.

You can verify the snippet is active by viewing the source code of any page on your site and searching for rakuwp-analytics.js.

Step 3: Verify data collection

  1. Visit your WordPress site in a browser.
  2. Return to the RakuWP panel and navigate to Analytics.
  3. Select Today as the date range.
  4. You should see your visit appear within a few seconds.

Step 4: Explore the dashboard

Once data starts flowing, explore the dashboard sections:

  • Use the date range picker to view different time periods.
  • Click the metric headers in tables (Views, Visitors, Sessions, etc.) to switch the displayed metric.
  • Hover over table rows and bar charts to see the filter icon. Click it to add a filter and drill down into specific dimensions.
  • Use the realtime chart at the top to see today's live traffic (Pro plans and above).

Managing your analytics

Click the Configuration button in the toolbar to access the analytics config page, where you can:

  • View your monthly event usage per site, broken down by event type.
  • Navigate between months to see historical usage.
  • Copy your API key for reference.
  • Delete a site's analytics data if needed.

Manual installation (advanced)

If you prefer to add the tracking snippet manually (e.g., on a non-WordPress site), add the following code before </body>:

<script defer src="https://panel.rakuwp.com/assets/js/rakuwp-analytics.js" data-key="YOUR_API_KEY"></script>

Replace YOUR_API_KEY with the key shown in the Configuration page.

Troubleshooting

  • No data appearing: Check that the RakuWP plugin is active on your WordPress site and that the Remote service is enabled. Visit your site and look for the tracking script in the page source.
  • Events not counting: If you're using an ad blocker, it may block the tracking script. Try disabling it or use a private/incognito window.
  • Geolocation missing: Geolocation depends on an external API. If the API is temporarily unavailable, visits are still recorded but without country/region/city data.