Google Analytics
This setup guide will run through a typical setup of the Google Analytics addon from start to finish.
Overview
The GeoDirectory Google Analytics WordPress plugins allows you to add a button to the frontend that can be used to display Google Analytics stats and information on your site. You can add this button as a widget, block or shortcode.
For a full list of features see the Google Analytics product page.
Step 1 - UA Account
Sign in to your UA-4 Account in another tab..
Step 2 - Install and Activate
Use the GeoDirectory Extensions page to Install and activate the addon,
Step 3 - Settings for Integrating Google Analytics
Proceed to the settings page at
WP - Admin > GeoDirectory > Settings > Google Analytics
Click 'Connect'
Authorize the connection to your UA-4 account and save settings.
The Google Analytics WP plugin comes with sane defaults meaning the default settings will work for the majority of users, however, there are many customizations that can be done via the settings, for a full explanation of what all the settings do please see our settings overview.
Click 'Authorize' to load your GA account and select the property/account to use. Once set, it should look like this.
Additional Settings
Add tracking code to the site? If you don't have another plugin adding the tracking code to your site, be sure to turn that feature on.
Anonymize user IP? Do you need to do this for your privacy policy? If so, set it here.
Auto refresh active users? If you are checking to see if it works to show results, this can help with a short setting, then can be disabled.
Step 4 - Adding the Widget
Once you have setup Google Analytics, you can add the GD > Google Analytics widget to your site's frontend. It can be displayed anywhere as a shortcode, widget area, or Gutenberg block.
Usually this is added to the details page sidebar near GD Author Actions.
Step 5 - Pricing Manager Integration
This is an upsell feature, 'Access Google Analytics'.
If you are using the premium Pricing Manager Addon, make sure to visit each package.
Look for the option below to enable the listing owner ability to view the Google analytics widget. If this is not enabled, the listing owner won't be able to see the Google Analytics button on their listing.
In the Package 'Features' Section you will find this - Enable to allow listing owners of this package to view Google Analytics
Screenshots
The widget configuration options available in the widget settings (using the shortcode builder).
Screens your listing owners can see when they click the Google Analytics button on their listing.