FauryaFaurya
Installation Guidelines

WordPress

How to add Faurya to your website using WordPress.

Add Faurya to your WordPress site

Follow these steps to integrate Faurya analytics into your WordPress site.

  1. Log in to your WordPress admin dashboard.
  2. Navigate to Plugins > Add, search for "Faurya" and install the plugin.
  3. Open the plugin settings page (under Settings > Faurya in the sidebar).
  4. Enter your Faurya ID (e.g. your_website_id) from your Faurya website settings, then save.

After a few minutes, you should start seeing pageviews from your WordPress site in your Faurya dashboard.

Method 2: Manually adding the script (Advanced)

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 Faurya tracking script just before the closing </head> tag:
<script
  defer
  data-website-id="YOUR_WEBSITE_ID"
  data-domain="yourdomain.com"
  src="https://faurya.com/js/script.js"
></script>

Replace yourdomain.com with your website's root domain.

  1. Click Update File.

Verify installation

After implementing either method:

  • Visit your live website.
  • Check your Faurya dashboard for incoming data. It might take a few minutes for the first pageviews to appear.

For advanced configuration options like localhost tracking, custom API endpoints, or cross-domain setup, see the script configuration reference.

On this page