=== Integrate GA4 Google Analytics === Contributors: Obadiah Donate link: http://middleearmedia.com/ Tags: admin, analytics, tracking, google, google analytics, GA, GA4, middle ear media, obadiah, integrate ga4 google analytics Tested up to: 6.2 Stable tag: 1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html A simple plugin to integrate Google Analytics GA4 tracking into your WordPress site. == Description == The "Integrate GA4 Google Analytics" plugin is a lightweight and fast plugin that enables Google Analytics tracking for your WordPress site. It supports Google Analytics 4, and allows you to easily integrate the latest Google Analytics code into your site. ## Simple to Use To use the plugin, first, visit the plugin settings and enter your GA4 ID. Press the "Save Changes" button. Once the GA4 ID is entered, the plugin will insert the appropriate script into your site, allowing Google Analytics to access user activity on the site. It's important to note that it can take 24-48 hours after adding your GA4 ID before any analytical data appears in your Google Analytics account. == Installation == ## Installation from within WordPress * Visit Plugins > Add New. * Search for Integrate GA4 Google Analytics. * Install and activate the Integrate GA4 Google Analytics plugin. ## Manual installation * Upload the entire integrate-ga4-google-analytics folder to the /wp-content/plugins/ directory. * Visit Plugins. * Activate the Integrate GA4 Google Analytics plugin. == Screenshots == 1. Enter your Google Analytics GA4 ID on the Settings page == Changelog == = 1.1 = * Update readme file. 04/13/2023 * Update screenshot image. 04/13/2023 * Retain plugin data upon Plugin deactivation. Remove plugin data upon Plugin uninstall. 04/13/2023 * Escape all output. 04/13/2023 * Use wp_add_inline_script to insert GA4 tracking script. 04/12/2023 * Use wp_enqueue_script to link to Google Tag Manager. 04/12/2023 * Validate the input. If empty, give error. If formatted incorrectly, give error. 04/12/2023 * Reformat the code to be easier to read. 04/12/2023 * Remove redundancies. 04/11/2023 * Sanitize input. 04/11/2023 * Submit plugin to official WordPress plugin directory. 04/07/2023 * Create banner. Create icon. 04/07/2023 * Test plugin with WordPress 6.2. 04/07/2023 * Update readme file. 04/07/2023 * Update plugin description. 04/07/2023 * Add section header and additional instructions. 04/07/2023 * Define settings page with one input, type text for the GA4 ID. Also a Save Changes button. 04/07/2023 * Register settings and sanitize the inputs for security. 04/07/2023 * Add link to the settings page in the plugin list. 04/07/2023 * Add custom settings page to WordPress Dashboard under the Settings submenu. 04/07/2023 * Add code to abort if the plugin file is called directly, as a security measure. 04/07/2023 = 1.0 = * Update plugin description. 05/29/2017 * Create readme file. 05/29/2017 * Create plugin file. Requires the user to manually install and manually add tracking script to plugin file. 05/29/2017