gglnltcs_no_analytics_accounts

The BestWebSoft Google Analytics gglnltcs no analytics accounts function.

Description

gglnltcs_no_analytics_accounts(); 

Usage

  1. if ( !function_exists( 'gglnltcs_no_analytics_accounts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bestwebsoft-google-analytics/bws-google-analytics.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gglnltcs_no_analytics_accounts(); 
  7.  

Defined (1)

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

/bws-google-analytics.php  
  1. function gglnltcs_no_analytics_accounts() { ?> 
  2. <div class="gglnltcs-text-information"> 
  3. <p><span class='gglnltcs-unsuccess-message'><?php _e( 'It seems like you are not registered for Google Analytics or you don\'t have any Google Analytics Account.', 'gglnltcs' ); ?></span></p> 
  4. <p><?php _e( 'To gain access to Analytics you must', 'gglnltcs' ); ?> <a href="https://www.google.com/analytics/web/provision?et=&authuser=#provision/CreateAccount/" target="_blank"><?php _e( 'register for Google Analytics', 'gglnltcs' ); ?></a> <?php _e( 'and create an Analytics account, a one-time, simple process.', 'gglnltcs' ); ?></p> 
  5. <ol> 
  6. <li><?php _e( 'Select', 'gglnltcs' ); ?> <strong>Website</strong> <?php _e( 'option', 'gglnltcs' ); ?>.</li> 
  7. <li><?php _e( 'Select a tracking method. Click either', 'gglnltcs' ); ?> <strong>Universal Analytics</strong> <?php _e( 'or', 'gglnltcs' ); ?> <strong>Classic Analytics</strong>. <?php _e( 'We strongly recommend Universal Analytics.', 'gglnltcs' ); ?></li> 
  8. <li><?php _e( 'Under the section called', 'gglnltcs' ); ?> <em>Setting up your Account</em>, <?php _e( 'enter an ', 'gglnltcs' ); ?> <strong><?php _e( 'Account Name', 'gglnltcs' ); ?></strong>. <?php _e( 'Use a specific and descriptive name, so you can easily tell what this account is for when you see the name in the Account list.', 'gglnltcs' ); ?></li> 
  9. <li><?php _e( 'Under the section called', 'gglnltcs' ); ?> <em>Setting up your Property</em>, <?php _e( 'enter the ', 'gglnltcs' ); ?> <strong><?php _e( 'name of your Wordpress blog', 'gglnltcs' ); ?></strong></li> 
  10. <li><?php _e( 'Enter the', 'gglnltcs' ); ?> <strong>Website URL</strong> <?php _e( 'of your blog', 'gglnltcs' ); ?> <code><?php echo str_replace( 'http://', '', site_url( '', 'http' ) ); ?></code></li> 
  11. <li><?php _e( 'Select an', 'gglnltcs' ); ?> <strong>Industry Category</strong></li> 
  12. <li><?php _e( 'Select the', 'gglnltcs' ); ?> <strong>Reporting Time Zone</strong></li> 
  13. <li><?php _e( 'Click', 'gglnltcs' ); ?> <strong>Get Tracking ID</strong>.</li> 
  14. <li><?php _e( 'Copy', 'gglnlts' ); ?> <strong>Tracking ID</strong> <?php _e( 'that looks like', 'gglnltcs' ); ?> <span class="gglnltcs-tracking-id">UA-xxxxx-y</span> <?php _e( 'and past it to the field below.', 'gglnltcs' ); ?></li> 
  15. <li><?php _e( 'Check', 'gglnltcs' ); ?> <strong><?php _e( 'Add tracking Code To Your Blog', 'gglnltcs' ); ?></strong> <?php _e( 'checkbox (if not checked) and click', 'gglnltcs' ); ?> <strong><?php _e( 'Save Changes', 'gglnltcs' ); ?></strong> <?php _e( 'button.', 'gglnltcs' ); ?> </li> 
  16. </ol><?php 
  17. /** Tracking ID field */ 
  18. </div><?php  
  19. /** Log out field. */ 
  20. exit();