WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Google Analytics Internal

Use Google Analytics events to track when you publish posts.

Configuration

Currently there is no GUI for the plugin, but you can use the dbisso_gai_event_actions filter to choose which events you want to be triggered and what the Google Analytics event action will be. For example:

add_filter( 'dbisso_gai_event_actions', 'custom_theme_filter_dbisso_gai_event_actions', 10, 1 );

function custom_theme_filter_dbisso_gai_event_actions( $actions ) {
    // Don't send 'update post' events
    $actions['update_post'] = false;

    // Change the action name that appears in Google Analytics
    $actions['publish_post'] = __( 'Publish Post' ),

    return $actions
}

There are currently four actions publish_post, update_posts, comment_submitted and comment_approved.

Requires: 3.8.1 or higher
Compatible up to: 3.9.1
Last Updated: 2014-3-4
Downloads: 235

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.