Plugin Directory

Changeset 636885


Ignore:
Timestamp:
12/11/2012 04:20:56 AM (13 years ago)
Author:
ethoseo
Message:

Version 1.0.2 (Bug Fixes)

Location:
track-everything
Files:
4 edited
3 copied

Legend:

Unmodified
Added
Removed
  • track-everything/tags/1.0.2/index.php

    r633641 r636885  
    55Description: A plugin capable of adding Google Analytics Event Tracking to <em>everything</em> on a website.
    66Author: Ethoseo Internet Marketing
    7 Version: 1.0.1
     7Version: 1.0.2
    88Author URI: http://www.ethoseo.com/
    99License: MIT License
     
    3636
    3737// PRINT SETTINGS
    38 
    39 add_action('wp_head', 'ethoseo_te_print_options');
     38if((bool)get_option("ethoseo_te_infooter")){
     39    add_action('wp_footer', 'ethoseo_te_print_options');
     40}else{
     41    add_action('wp_head', 'ethoseo_te_print_options');
     42}
     43
    4044function ethoseo_te_print_options () {
    4145    global $ethoseo_te_version;
     46   
     47    // Change Special from "click" => on to 0 => "click"
     48    $special = get_option("ethoseo_te_special");
     49    foreach($special as $key => $value){
     50        if($value['events']){
     51            $special[$key]['events'] = array_keys($value['events']);
     52        }else{
     53            unset($special[$key]);
     54        }
     55    }
     56   
     57    // Create Options
    4258    $options = array(
    4359        "version" => $ethoseo_te_version,
    44         "special" => get_option("ethoseo_te_special"),
     60        "special" => $special,
    4561        "dictionary" => get_option("ethoseo_te_dictionary"),
    4662        "settings" => array(
  • track-everything/tags/1.0.2/js/script.js

    r632511 r636885  
    6969        var events = [];
    7070        for (var j = $special.events.length - 1; j >= 0; j--) {
    71             events = $special.events[j] + ".jqte.jqtespecial";
     71            events.push($special.events[j] + ".jqte.jqtespecial");
    7272        }
    7373        $($special.selector).on(events.join(" "), function () {
  • track-everything/tags/1.0.2/readme.txt

    r632517 r636885  
    44Requires at least: 3.0.1
    55Tested up to: 3.4.2
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77License: MIT
    88License URI: http://opensource.org/licenses/MIT
     
    3535A CSS selector is a way of referencing a specific object on a page. To find it we reccomend you use [Selector Gadget](http://www.selectorgadget.com/)
    3636
    37 = What are Category, Action , and Label?  =
    38 They are all ways to [define events in Google Analytics](https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#Anatomy).
    39 
    40 = Can you give me a more in depth explanation of Track Everything and how to use it? =
    41 Yeah! [Check out Track Everything on our website](http://www.ethoseo.com/tools/track-everything).
     37= What are `Category`, `Action` , and `Label`?  =
     38`Category`, `Action` , and `Label` are all ways to [define events in Google Analytics](https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#Anatomy).
    4239
    4340
     
    5047== Changelog ==
    5148
     49= 1.0.2 =
     50* Fixes to Specific Events
     51* Fixes to code in Footer
     52
    5253= 1.0.1 =
    53 * Fixed bug in the way events were labeled
    54 * Made clicking an email an interaction rather than a non-interaction
     54* Major Analytics Bug Fixes
    5555
    5656= 1.0 =
     
    5959== Upgrade Notice ==
    6060
     61= 1.0.2 =
     62This version allows for more accurate tracking of Specific Events and contains various bug fixes and improvements.
     63
    6164= 1.0.1 =
    6265This version fixes bugs in the way Track Everything labels items.
    6366
    64 = 1.0 = 
     67= 1.0 =
    6568Initial release.
  • track-everything/trunk/index.php

    r633641 r636885  
    55Description: A plugin capable of adding Google Analytics Event Tracking to <em>everything</em> on a website.
    66Author: Ethoseo Internet Marketing
    7 Version: 1.0.1
     7Version: 1.0.2
    88Author URI: http://www.ethoseo.com/
    99License: MIT License
     
    3636
    3737// PRINT SETTINGS
    38 
    39 add_action('wp_head', 'ethoseo_te_print_options');
     38if((bool)get_option("ethoseo_te_infooter")){
     39    add_action('wp_footer', 'ethoseo_te_print_options');
     40}else{
     41    add_action('wp_head', 'ethoseo_te_print_options');
     42}
     43
    4044function ethoseo_te_print_options () {
    4145    global $ethoseo_te_version;
     46   
     47    // Change Special from "click" => on to 0 => "click"
     48    $special = get_option("ethoseo_te_special");
     49    foreach($special as $key => $value){
     50        if($value['events']){
     51            $special[$key]['events'] = array_keys($value['events']);
     52        }else{
     53            unset($special[$key]);
     54        }
     55    }
     56   
     57    // Create Options
    4258    $options = array(
    4359        "version" => $ethoseo_te_version,
    44         "special" => get_option("ethoseo_te_special"),
     60        "special" => $special,
    4561        "dictionary" => get_option("ethoseo_te_dictionary"),
    4662        "settings" => array(
  • track-everything/trunk/js/script.js

    r632511 r636885  
    6969        var events = [];
    7070        for (var j = $special.events.length - 1; j >= 0; j--) {
    71             events = $special.events[j] + ".jqte.jqtespecial";
     71            events.push($special.events[j] + ".jqte.jqtespecial");
    7272        }
    7373        $($special.selector).on(events.join(" "), function () {
  • track-everything/trunk/readme.txt

    r632517 r636885  
    44Requires at least: 3.0.1
    55Tested up to: 3.4.2
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77License: MIT
    88License URI: http://opensource.org/licenses/MIT
     
    3535A CSS selector is a way of referencing a specific object on a page. To find it we reccomend you use [Selector Gadget](http://www.selectorgadget.com/)
    3636
    37 = What are Category, Action , and Label?  =
    38 They are all ways to [define events in Google Analytics](https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#Anatomy).
    39 
    40 = Can you give me a more in depth explanation of Track Everything and how to use it? =
    41 Yeah! [Check out Track Everything on our website](http://www.ethoseo.com/tools/track-everything).
     37= What are `Category`, `Action` , and `Label`?  =
     38`Category`, `Action` , and `Label` are all ways to [define events in Google Analytics](https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#Anatomy).
    4239
    4340
     
    5047== Changelog ==
    5148
     49= 1.0.2 =
     50* Fixes to Specific Events
     51* Fixes to code in Footer
     52
    5253= 1.0.1 =
    53 * Fixed bug in the way events were labeled
    54 * Made clicking an email an interaction rather than a non-interaction
     54* Major Analytics Bug Fixes
    5555
    5656= 1.0 =
     
    5959== Upgrade Notice ==
    6060
     61= 1.0.2 =
     62This version allows for more accurate tracking of Specific Events and contains various bug fixes and improvements.
     63
    6164= 1.0.1 =
    6265This version fixes bugs in the way Track Everything labels items.
    6366
    64 = 1.0 = 
     67= 1.0 =
    6568Initial release.
Note: See TracChangeset for help on using the changeset viewer.