Changeset 636885
- Timestamp:
- 12/11/2012 04:20:56 AM (13 years ago)
- Location:
- track-everything
- Files:
-
- 4 edited
- 3 copied
-
tags/1.0.2 (copied) (copied from track-everything/trunk)
-
tags/1.0.2/index.php (copied) (copied from track-everything/trunk/index.php) (2 diffs)
-
tags/1.0.2/js/script.js (modified) (1 diff)
-
tags/1.0.2/readme.txt (copied) (copied from track-everything/trunk/readme.txt) (4 diffs)
-
trunk/index.php (modified) (2 diffs)
-
trunk/js/script.js (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
track-everything/tags/1.0.2/index.php
r633641 r636885 5 5 Description: A plugin capable of adding Google Analytics Event Tracking to <em>everything</em> on a website. 6 6 Author: Ethoseo Internet Marketing 7 Version: 1.0. 17 Version: 1.0.2 8 8 Author URI: http://www.ethoseo.com/ 9 9 License: MIT License … … 36 36 37 37 // PRINT SETTINGS 38 39 add_action('wp_head', 'ethoseo_te_print_options'); 38 if((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 40 44 function ethoseo_te_print_options () { 41 45 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 42 58 $options = array( 43 59 "version" => $ethoseo_te_version, 44 "special" => get_option("ethoseo_te_special"),60 "special" => $special, 45 61 "dictionary" => get_option("ethoseo_te_dictionary"), 46 62 "settings" => array( -
track-everything/tags/1.0.2/js/script.js
r632511 r636885 69 69 var events = []; 70 70 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"); 72 72 } 73 73 $($special.selector).on(events.join(" "), function () { -
track-everything/tags/1.0.2/readme.txt
r632517 r636885 4 4 Requires at least: 3.0.1 5 5 Tested up to: 3.4.2 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: MIT 8 8 License URI: http://opensource.org/licenses/MIT … … 35 35 A 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/) 36 36 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). 42 39 43 40 … … 50 47 == Changelog == 51 48 49 = 1.0.2 = 50 * Fixes to Specific Events 51 * Fixes to code in Footer 52 52 53 = 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 55 55 56 56 = 1.0 = … … 59 59 == Upgrade Notice == 60 60 61 = 1.0.2 = 62 This version allows for more accurate tracking of Specific Events and contains various bug fixes and improvements. 63 61 64 = 1.0.1 = 62 65 This version fixes bugs in the way Track Everything labels items. 63 66 64 = 1.0 = 67 = 1.0 = 65 68 Initial release. -
track-everything/trunk/index.php
r633641 r636885 5 5 Description: A plugin capable of adding Google Analytics Event Tracking to <em>everything</em> on a website. 6 6 Author: Ethoseo Internet Marketing 7 Version: 1.0. 17 Version: 1.0.2 8 8 Author URI: http://www.ethoseo.com/ 9 9 License: MIT License … … 36 36 37 37 // PRINT SETTINGS 38 39 add_action('wp_head', 'ethoseo_te_print_options'); 38 if((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 40 44 function ethoseo_te_print_options () { 41 45 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 42 58 $options = array( 43 59 "version" => $ethoseo_te_version, 44 "special" => get_option("ethoseo_te_special"),60 "special" => $special, 45 61 "dictionary" => get_option("ethoseo_te_dictionary"), 46 62 "settings" => array( -
track-everything/trunk/js/script.js
r632511 r636885 69 69 var events = []; 70 70 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"); 72 72 } 73 73 $($special.selector).on(events.join(" "), function () { -
track-everything/trunk/readme.txt
r632517 r636885 4 4 Requires at least: 3.0.1 5 5 Tested up to: 3.4.2 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: MIT 8 8 License URI: http://opensource.org/licenses/MIT … … 35 35 A 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/) 36 36 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). 42 39 43 40 … … 50 47 == Changelog == 51 48 49 = 1.0.2 = 50 * Fixes to Specific Events 51 * Fixes to code in Footer 52 52 53 = 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 55 55 56 56 = 1.0 = … … 59 59 == Upgrade Notice == 60 60 61 = 1.0.2 = 62 This version allows for more accurate tracking of Specific Events and contains various bug fixes and improvements. 63 61 64 = 1.0.1 = 62 65 This version fixes bugs in the way Track Everything labels items. 63 66 64 = 1.0 = 67 = 1.0 = 65 68 Initial release.
Note: See TracChangeset
for help on using the changeset viewer.