Giter VIP home page Giter VIP logo

ganmct's Introduction

=== GA Nav Menus Tracking ===
Contributors: pauldewouters, secretstache
Tags: google analytics,navigation,menus
Requires at least: 3.2
Tested up to: 4.0
Stable tag: 1.0.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add Google analytics tracking events to your WordPress navigation menus.

== Description ==

Add tracking events to your WordPress navigation menu items!

Reference: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

This plugin adds custom fields to your nav menu items that represent the parameters for the _trackEvent method of Google Analytics.

This plugin requires that you already have Google Analytics tracking active on your WordPress website. For example you have Yoast's Google Analytics for WordPress installed and activated.

== Installation ==

This section describes how to install the plugin and get it working.

1. Upload the plugin folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Appearance > Menus and enter your _trackEvent parameters for the nav items you wish to track.

== Frequently Asked Questions ==

= What are the requirements for this plugin to work? =

This plugin requires a valid Google Analytics tracking code to be installed. 
I recommend this one: http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

== Screenshots ==

1. The nav menu items fields added by plugin to enter your tracking event parameters (category, action and label)

== Changelog ==

= 1.0.6 =

Remove the dust and test if works with 4.0

= 1.0.5 =
fixed plugin description

= 1.0.4 =
added pot file for translators

= 1.0.3 =
Fixed a bug in javascript

= 1.0 =
* Initial version relased to the public.

ganmct's People

Stargazers

Israel avatar Junior Godoi avatar Emyr Thomas avatar

Watchers

Paul de Wouters  avatar James Cloos avatar saasfreelancer avatar  avatar

ganmct's Issues

add checkbox to menu items to enable / disable tracking

at the moment, the html markup is always output for every nav menu item, even though the fields might not be filled out. the javascript does check for the required parameters before sending an event so it's not a bug, but an enhancement;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.