frontend_output(); do_action( 'monsterinsights_tracking_after_analytics' ); do_action( 'monsterinsights_tracking_after', 'analytics' ); $events_mode = monsterinsights_get_option( 'events_mode', false ); $track_user = monsterinsights_track_user(); if ( $track_user && ( $events_mode === 'js' || $events_mode === 'php' ) ) { require_once plugin_dir_path( MONSTERINSIGHTS_PLUGIN_FILE ) . 'includes/frontend/events/class-analytics-events.php'; new MonsterInsights_Analytics_Events(); // Let's run form tracking if we find it if ( function_exists( 'monsterinsights_forms_output_after_script' ) ) { monsterinsights_forms_output_after_script( array() ); } } } add_action( 'seedprod_monsterinsights_output_tracking', 'monsterinsights_seedprod_tracking', 6, 1 );