Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/christofferjacobsen/add_google_analytics/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Add Google Analytics
Simple way to add Google Analytics code to a Wordpress site. Simply activate and set the GA id in the setting page
Install
1. Download add-google-analytics.php
2. Upload it to your wp plugin folder. (wp-content/plugins/)
3. Active plugin in wp-admin
Use
1. Follow the action link on the plugin page (Set ID) or go to settings - Add Google Analytic
2. Enter your Google Analytics ID.
3. Thats it. The plugin will add the Google Analytics code with your ID in the head of every page