1. Home
  2. Addons
  3. Google Analytics

Google Analytics


Introduction
Installation
Setup
Settings
Design
Support
FAQ – Frequently Asked Questions

Introduction

  1. Your directory can use the Google Analytics addon to allow users or visitors to see statistics about the listings on your site.
  2. You can also add analytics on any other page of your site.
  3. Listing analytics can be shown to:
    1. User/owner of the listing only (and administrators)
    2. Site administrator only
    3. All logged in users
    4. All visitors, logged in or not.

Installation

Preparation

Check to be sure you have the following plugins installed before you get started.

Installation

  1. Download the Addon from your account.
  2. Install the Addon.

Setup

  1. Login to Google Analytics
  2. In the Google Analytics site, create an account and project for your site, if you don’t already have one.
  3. Now open the GD Addon settings at GeoDirectory > Settings > Google Analytics tab.
  4. Choose whether or not to show analytics to selected users:
  5. Click the Authorize button to connect your site to Google Analytics; a popup will open:
  6. Click Allow.
  7. That will generate a special code:
  8. Copy that code and paste it in the Google analytics Auth Code field:
  9. Now Save.
  10. This will populate the Analytics Account field with the sites set up in your Analytics account:
  11. Select the correct website profile and Save.

Settings

  1. Click on Show Advanced to see more settings.
  2. Explanations are provided with the settings.

Design

Widgets

GD > Google Analytics

Add the GD > Google Analytics Widget to the sidebar that shows on your Listing Detail page to share analytics.

Widget Settings

Common Settings

If you only want to show Analytics to listing owners and only on the Listing Detail page, try the following settings.

Shortcodes


gd_google_analytics

[gd_google_analytics user_roles="owner,administrator"]

This shortcode can be used on the Detail page template.

Get Support

Get support on our forum, fnd out more here: https://wpgeodirectory.com/docs-v2/v2/support/

FAQ – Frequently Asked Questions

I don’t have a Google Analytics account. Can I use this?

You will need to setup an account here: https://analytics.google.com/analytics/web/

Was this helpful to you? Yes 1 No 4