monsterinsights_switched_to_analyticsjs

The Google Analytics for WordPress by MonsterInsights monsterinsights switched to analyticsjs function.

Description

monsterinsights_switched_to_analyticsjs(); 

Usage

  1. if ( !function_exists( 'monsterinsights_switched_to_analyticsjs' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-for-wordpress-by-monsterinsights/includes/admin/pages/settings.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = monsterinsights_switched_to_analyticsjs(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/admin/pages/settings.php  
  1. function monsterinsights_switched_to_analyticsjs() { 
  2. echo monsterinsights_get_message( 'success', esc_html__( 'Successfully migrated to Universal Analytics (analytics.js)!', 'google-analytics-for-wordpress' ) );