š 1. Install the āInsert Headers and Footersā Plugin
To insert code into your website header, youāll first need to install a plugin.
Log in to your WordPress Dashboard.
In the left menu, navigate to Plugins ā Add New.
Search for Insert Headers and Footers by WPBeginner.
Click Install Now, then select Activate.
This plugin allows you to safely add scripts without modifying any theme files.
š§ 2. Add the Script We Provide
Once the plugin is active:
In the left menu, go to Settings ā Insert Headers and Footers.
Locate the Scripts in Header section.
Paste the script we provided you into this box.
Click Save to apply the changes.
š 3. Setup Complete!
Your script is now installed!
If you need help or would like us to verify the installation, feel free to contact our support team at [email protected] š
š ļø Support
If, after adding the script, you notice that the data-id or data-domain attributes disappear inside WordPress, you can use this alternative method to ensure the attributes are preserved:
<script>
(function () {
var s = document.createElement("script");
s.src = "https://analitas.com/script.js";
s.defer = true;
s.setAttribute("data-id", "ā ļøINSERT_YOUR_DATA-ID");
s.setAttribute("data-domain", "ā ļøINSERT_YOUR_DOMAIN");
document.head.appendChild(s);
})();
</script>
This method adds the script dynamically and prevents WordPress or security plugins from removing required attributes.
If the issue continues, send us a message at [email protected] and weāll assist you as soon as possible.
