WordPress.org

Plugin Directory

Changeset 1698962


Ignore:
Timestamp:
07/19/17 13:56:30 (5 months ago)
Author:
justinrains
Message:

Updated readme.txt

Location:
simple-google-analytics-manager
Files:
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • simple-google-analytics-manager/tags/1.0.2/gamanager.php

    r1233137 r1698962  
    4141  $tag_id = get_option('analytics_id'); 
    4242?> 
    43 <!-- Google Analytics Manager --> 
    44 <script type="text/javascript"> 
    45 var _gaq = _gaq || []; 
    46 _gaq.push(['_setAccount', '<?php echo $tag_id;?>']); 
    47 _gaq.push(['_trackPageview']); 
    48 (function() { 
    49 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 
    50 ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; 
    51 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 
    52 })(); 
     43<!-- Simple Google Analytics Manager --> 
     44<script> 
     45  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 
     46  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 
     47  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 
     48  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 
     49 
     50  ga('create', '<?php echo $tag_id ?>', 'auto'); 
     51  ga('send', 'pageview'); 
    5352</script> 
    5453<!-- End Simple Google Analytics Manager --> 
     
    6463} 
    6564 
    66 //if (!is_admin()) { 
    67   add_action('wp_head', 'gamanager'); 
    68 //} 
    69  
     65add_action('wp_head', 'gamanager'); 
    7066?> 
  • simple-google-analytics-manager/tags/1.0.2/readme.txt

    r1697559 r1698962  
    44Requires at least: 2.7 
    55Tested up to: 4.8 
    6 Stable tag: 1.0.1 
     6Stable tag: 1.0.2 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    2020== Installation == 
    2121 
    22 1. Upload `gamanager` directory to the `/wp-content/plugins/` directory 
     221. Upload or copy the `simple-google-analytics-manager` directory to the `/wp-content/plugins/` directory 
    23232. Activate the plugin through the 'Plugins' menu in WordPress 
    24243. Add the UA from Google Analytics (UA-XXXXXXX) to the settings (Admin > Settings > Google Analytics Manager) 
     
    3333Go to [Google Analytics](http://www.google.com/analytics) 
    3434= Need a plugin developed? = 
    35 Feel free to [contact me](http://justinrains.com). I'm available for work. Thanks! 
     35Feel free to [contact the author](http://justinrains.com). I'm available for work. Thanks! 
  • simple-google-analytics-manager/trunk/readme.txt

    r1697559 r1698962  
    44Requires at least: 2.7 
    55Tested up to: 4.8 
    6 Stable tag: 1.0.1 
     6Stable tag: 1.0.2 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Note: See TracChangeset for help on using the changeset viewer.