Google Analytics

Google Analytics

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.

You can install Google Analytics plugin using 2 different ways:
[1] Automatic Installation : You can install plugin from backend of your WordPress. Click Here to see how you can do automatic installation.
[2] Manual Installation : You can install plugin manually using SFTP or FTP tool as well. Click Here to see how you can do manual installation.
Watch this video for more clarification.
Admin Side Settings

This plugin will add new tab “Google Analytics” at backend side with following options:

Admin Side Settings


How To Get Analytic Code?

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.

Analytic Code will be show in Footer


Add Google Analytics Code

On registering at Google Analytics you will be provided with an analytics code. You can paste this code at WP-admin >> Event Listings >> Settings >> Google Analytics

Add Google Analytics Code


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.


Advanced: Overriding/Customizing the templates

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.