Title: GA4 Inserter
Author: Ermald Billa
Published: <strong>30 di Otubar dal 2024</strong>
Last modified: 21 di Novembar dal 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/ga-4-inserter.svg)

# GA4 Inserter

 By [Ermald Billa](https://profiles.wordpress.org/ermaldbilla/)

[Download](https://downloads.wordpress.org/plugin/ga-4-inserter.1.2.zip)

 * [Details](https://fur.wordpress.org/plugins/ga-4-inserter/#description)
 * [Reviews](https://fur.wordpress.org/plugins/ga-4-inserter/#reviews)
 *  [Installation](https://fur.wordpress.org/plugins/ga-4-inserter/#installation)
 * [Development](https://fur.wordpress.org/plugins/ga-4-inserter/#developers)

 [Support](https://wordpress.org/support/plugin/ga-4-inserter/)

## Description

Google Analytics 4 Inserter is a lightweight and powerful plugin that helps you 
seamlessly integrate Google Analytics 4 (GA4) with your WordPress site, enabling
you to track and analyze visitor behavior. No need to manually edit theme files 
or deal with complex tracking setups—this plugin simplifies the process by allowing
you to input your Google Analytics 4 Measurement ID in one central location. Once
configured, the plugin automatically inserts the correct tracking code into every
page of your website.

**Why Use This Plugin?**
 Tracking website traffic and user interactions is essential
for understanding how your content performs and how users engage with your site.
Google Analytics 4 offers powerful insights, and this plugin ensures you can take
full advantage of GA4 without having to dive into code. Whether you’re a small business
owner, a blogger, or managing a larger website, understanding how visitors find 
and navigate your site is crucial for optimizing performance and achieving your 
goals.

**Benefits of Using Google Analytics 4 Inserter:**
 * **Quick Setup:** Simply enter
your GA4 Measurement ID, and you’re ready to go. No coding required. * **Automatic
Insertion:** The plugin ensures that the GA4 tracking code is automatically inserted
on every page, so you don’t miss out on any important data. * **Real-Time Analytics:**
Start tracking visitors immediately and access real-time data directly from your
Google Analytics dashboard. * **Error Handling:** Built-in validation ensures that
only a valid GA4 Measurement ID is saved, preventing configuration issues. * **Security:**
The plugin follows WordPress security best practices by sanitizing user input and
escaping data. * **Minimalist Design:** The plugin is lightweight, ensuring it won’t
slow down your site while delivering essential functionality.

Whether you’re optimizing your marketing campaigns, tracking eCommerce data, or 
simply trying to understand your audience better, Google Analytics 4 Inserter provides
a hassle-free way to get started with powerful analytics.

**Features:**
 * Simple setup by entering your GA4 Measurement ID (e.g., G-XXXXXXXXXX)*
Automatically inserts the Google Analytics 4 tracking code into all pages * Secure
implementation with sanitization and validation of input * Accessible only to administrators*
Lightweight and easy to use * Custom CSS for a clean and professional admin settings
page

### External Services

This plugin uses Google Tag Manager to integrate with Google Analytics 4. When you
enter the GA4 measurement ID, the plugin sends a request to the `googletagmanager.
com` domain to load the tracking script.

**Data sent:** Google Analytics measurement ID.
 **Terms of Service:** [https://policies.google.com/terms](https://policies.google.com/terms)**
Privacy policy:** [https://policies.google.com/privacy](https://policies.google.com/privacy)

## Installation

 1. Download the plugin zip file or install it directly from the WordPress repository.
 2. Upload the plugin to your WordPress site or navigate to **Plugins > Add New**, 
    then click **Upload Plugin** to upload the file.
 3. Activate the plugin from the **Plugins** menu.
 4. Navigate to **Settings > GA4 Inserter**.
 5. Enter your Google Analytics 4 Measurement ID (e.g., G-XXXXXXXXXX).
 6. Save changes. The tracking code will now be inserted automatically into every page.

## FAQ

### Why should I use this plugin instead of manually adding the tracking code?

Manually adding the Google Analytics 4 tracking code can lead to errors, especially
if you are not familiar with coding or theme structure. With this plugin, you eliminate
the risk of breaking your site

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“GA4 Inserter” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Ermald Billa ](https://profiles.wordpress.org/ermaldbilla/)

[Translate “GA4 Inserter” into your language.](https://translate.wordpress.org/projects/wp-plugins/ga-4-inserter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ga-4-inserter/), check
out the [SVN repository](https://plugins.svn.wordpress.org/ga-4-inserter/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/ga-4-inserter/) 
by [RSS](https://plugins.trac.wordpress.org/log/ga-4-inserter/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.2**
 *  Last updated **2 agns ago**
 *  Active installations **30+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.7.11**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/ga-4-inserter/)
 * Tags
 * [analytics](https://fur.wordpress.org/plugins/tags/analytics/)[ga4](https://fur.wordpress.org/plugins/tags/ga4/)
   [google analytics](https://fur.wordpress.org/plugins/tags/google-analytics/)[google tag](https://fur.wordpress.org/plugins/tags/google-tag/)
   [tracking](https://fur.wordpress.org/plugins/tags/tracking/)
 *  [Advanced View](https://fur.wordpress.org/plugins/ga-4-inserter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/ga-4-inserter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ga-4-inserter/reviews/)

## Contributors

 *   [ Ermald Billa ](https://profiles.wordpress.org/ermaldbilla/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ga-4-inserter/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://getwebsolution.it/)