Getting Started With Wordpress

Setup with Wordpress, follow these steps below to get you started with Wordpress and Flowgrid.

Install the script to get started tracking

  1. Create your new website in your dashboard
  2. Login to your Wordpress dashboard.

  3. Navigate to Plugins and search for a plugin that allows adding scripts to headers and footers install and activate the plugin (e.g., "Insert Headers and Footers", "WPCode").

  4. Go to the plugin's settings page (often found under Settings or Tools in your Wordpress admin menu).

  5. Paste your tracking script into the (Scripts in Header) section:

  6. Tracking.html
    1<script src="https://www.flow-grid.xyz/scripts/track.js" data-site="YOUR_WEBSITE_ID" defer></script>
  7. Save your changes.

Note:

Replace YOUR_WEBSITE_ID with your actual website ID.

Make sure that you have added your domain into flowgrid, if not CORS Policies will not allow you to track website traffic.

Method 2: Editing theme's header.php (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 Flowgrid tracking script just before the closing </head> tag:
    header.php
    1<script src="https://www.flow-grid.xyz/scripts/track.js" data-site="YOUR_WEBSITE_ID" defer></script>

    Replace YOUR_WEBSITE_ID with your actual Website ID from Flowgrid. Replace YOUR_DOMAIN.COM with your website's root domain.

  5. Click Update File.