1. Home
  2. Docs
  3. Addons
  4. Analytics

Analytics


Introduction
Installation
Settings
Setup
Design
Support
FAQ – Frequently Asked Questions

Introduction

Your directory can use the Google Analytics addon to allow visitors to see statistics about how many visitors listings have received.

See more here: https://wpgeodirectory.com/downloads/google-analytics/

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.

Settings

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
  4. Choose whether or not to show analytics to the business owner.
  5. Click the “Authorize” button to connect your site to Google Analytics; a popup will open.
  6. In the popup, choose the Google account used to create the project.
  7. When Analytics requests authorization, click the “Allow” button.
  8. The Auth code will now be displayed in the popup. Copy the Auth code to your clipboard.
  9. Select the GD Addon settings again, and paste your Auth code into the Auth code field, and save the settings.
  10. Once the settings reload, scroll down to “Analytics Account” field and select the project you created from the “Analytics Account” drop down.
  11. Visit the GD Analaytics tab and set who can view Analaytics.
  12. Add the GD > Google Analytics to your Detail page sidegar. Analytics will not show if you do not add the element to t he detail page.

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 article helpful to you? Yes No