WordPress Integration

Integrating Analytika into WordPress takes less than two minutes. No heavy plugins are required!

  1. Log into your WordPress Admin Dashboard.
  2. Go to Plugins > Add New and search for “WPCode” or “Insert Headers and Footers”.
  3. Install and activate the plugin.
  4. Go to Code Snippets > Header & Footer.
  5. Paste your Analytika tracking script into the Header section:
    <script defer src="https://analytika.me/a.js" data-website-id="YOUR-WEBSITE-ID"></script>
  6. Click Save Changes.

Method 2: Editing functions.php

If you prefer not to use plugins and are comfortable editing code, you can inject the script directly into your theme’s functions.php.

function add_analytika_script() {
    echo '<script defer src="https://analytika.me/a.js" data-website-id="YOUR-WEBSITE-ID"></script>';
}
add_action('wp_head', 'add_analytika_script');