Plugin Directory

Google Analytics Internal

Use Google Analytics events to track when you publish posts.


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: 4.1.8
Last Updated: 8 months ago
Active Installs: 80+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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