This Google Analytics plugin enables you to track your site using the latest Google Analytics tracking code and allows you to view key Google Analytics reports at your google analytics account (http://analytics.Google.com). Listing owners can setup a new Google Analytics profile by visiting http://analytics.google.com. A profile ID will look something like UA-XXXXXXXX-XX.
During the plugin activation process, plugin will create one meta key in the database called “event_manager_google_analytics_tracking_code”.
This plugin will add new tab “Google Analytics” at backend side with following options:
As shown in the figure, the analytics code you add will be added into the footer so it will track each and every page of your site and help you to analysis of your site traffic.
On registering at Google Analytics you will be provided with an analytics code. You can paste this code at Google Analytic tab of the Event Listing menu settings of your website’s admin panel.
After adding google analytics tracking code at admin side, this google analytics tracking code will insert at footer of the every page of your site. Now you can see your track report at your google accounts or you can install “Google Analytics Dashboard for WP” plugin to display track report at your admin side dashboard.
For overriding or customization template files can be found in the wp-event-manager-google-analytics/templates/ directory. To override a template file, first you need to create directory “wp-event-manager-google-analytics” under your theme folder and copy the template file to “/wp-content/yourtheme/wp-event-manager-google-analytics/” directory. Your theme will use all the template files from the “/wp-content/yourtheme/wp-event-manager-google-analytics/” directory instead of the plugin’s template file (/wp-content/plugins/wp-event-manager-google-analytics/).
- event-google-analytics.php template file lists the user’s alerts.
Remember: if you have overrided template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.