Guide

Install EazyStats in 2 minutes

Step-by-step guides to install EazyStats tracking code on your platform

WordPress

WordPressWordPress Integration

Add EazyStats to your WordPress site

Follow these simple steps to integrate EazyStats analytics into your WordPress website.

1

Using a Plugin (Recommended)

  1. Log in to your WordPress admin dashboard.
  2. Navigate to Plugins and search for a plugin that allows adding scripts to headers and footers (e.g., Insert Headers and Footers, WPCode).
  3. Install and activate the plugin.
  4. Go to the plugin's settings page (often found under Settings or Tools).
  5. Paste your EazyStats tracking script into the Scripts in Header section:
    codeTracking Script
    <script
      defer=""  data-website-id="your_website_id"  data-site-domain="yourdomain.com"  src="https://eazystats.com/tracker.js"
    > </script>
  6. Save the changes.
info

Replace Placeholder Values

Note: Make sure to replace the placeholder values:

  • your_website_id → Your actual Website ID from EazyStats
  • yourdomain.com → Your website's root domain
2

Editing theme's header.php (Advanced)

warning

Warning: Advanced Method

This method requires basic knowledge of PHP and WordPress theme structure. Always back up your theme files before making changes. Changes might be overwritten by theme updates if you are not using a child theme.
  1. In your WordPress admin dashboard, go to Appearance > Theme File Editor.
  2. Select your active theme.
  3. Find and open the header.php file (Theme Header).
  4. Paste your EazyStats tracking script just before the closing </head> tag:
    codeheader.php
    <script
      defer=""  data-website-id="your_website_id"  data-site-domain="yourdomain.com"  src="https://eazystats.com/tracker.js"
    > </script>
  5. Click Update File.
3

Verify installation

After implementing either method above, follow these steps to verify everything is working:

rocket_launchVisit Site

Visit your live website

analyticsCheck Dashboard

View your dashboard for incoming data

scheduleWait

Data appears within a few minutes

lightbulb

Pro Tips for WordPress

extensionPlugin Recommendation: WPCode (formerly Insert Headers and Footers) is the most popular choice with 1M+ active installations
celebrationYou're all set!

Your WordPress site should now be tracking visitors with EazyStats. Check your dashboard to see your analytics!