﻿=== Analyticator ===
Contributors: marcelloruoppolome
Donate link: https://kloxstudios.com/
Tags: Google Analytics, Hotjar, Google Tag Manager, Visit Statistics, Screen Recorder
Requires at least: 4.6
Tested up to: 6.9
Stable tag: 3.0.1
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Simple GA4, GTM, and Hotjar integration. Securely inject tracking scripts into your WordPress site without editing any code.

== Description ==

Analyticator simplifies the integration of analysis tools into your WordPress site. Forget about manually editing theme files; simply enter your IDs and the plugin handles the secure and optimized injection of tracking scripts.

Features included:
* Native support for Google Analytics 4 (GA4).
* Full integration with Google Tag Manager (GTM).
* Behavior monitoring with Hotjar.
* Script injection following performance best practices (wp_enqueue_scripts).

== Installation ==

1. Upload the `analyticator` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Access the new 'Analyticator' menu to configure your tracking IDs.

== Frequently Asked Questions ==

= How do I use the plugin? =
Simply enter your Tracking IDs (like G-XXXXXXXX or GTM-XXXXXXX) in the main settings page and hit save. The plugin will automatically inject the scripts in the correct locations.

= How do I know it is working? =
Visit your website and check the source code. You will see the Analyticator comments surrounding your tracking scripts.

== Changelog ==

= 2.2.0 =
* **New Architecture**: Complete refactoring to meet modern WordPress 6.9 standards.
* **Google Analytics 4**: Added native support for GA4 (G-XXXXXXXX tags).
* **Google Tag Manager**: Implemented secure injection for GTM (Head and Body NoScript).
* **Security & Performance**: Migrated hardcoded scripts to the official `wp_enqueue_script` and `wp_add_inline_script` system.
* **Code Cleanup**: Removed Google PageSpeed Insights support (migrated to the Performancer project).
* **Translations**: Removed manual textdomain loading to support WordPress.org's automatic translation system.
* **Bugs Fixed**: Resolved 'MissingVersion' warnings and deprecated parameters in translation functions.

= 2.1.1 =
* Layout Upgrade.
* FB Pixel Removed.
* Bugs Fixed.

= 2.1.0 =
* Initial GA4 support and minor layout fixes.

= 2.0.0 =
* Major Layout Upgrade.
* FB Pixel Support added.