Changeset 921821
- Timestamp:
- 05/27/2014 06:49:36 PM (12 years ago)
- Location:
- google-universal-analytics
- Files:
-
- 35 added
- 4 deleted
- 5 edited
-
tags/2.3 (deleted)
-
tags/2.3.0.1 (deleted)
-
tags/2.3.0.2 (deleted)
-
tags/2.3.2 (added)
-
tags/2.3.2/assets (added)
-
tags/2.3.2/assets/gua-main.css (added)
-
tags/2.3.2/assets/gua-main.js (added)
-
tags/2.3.2/bootstrap (added)
-
tags/2.3.2/bootstrap/css (added)
-
tags/2.3.2/bootstrap/css/bootstrap-switch.min.css (added)
-
tags/2.3.2/bootstrap/css/bootstrap.min.css (added)
-
tags/2.3.2/bootstrap/fonts (added)
-
tags/2.3.2/bootstrap/fonts/glyphicons-halflings-regular.eot (added)
-
tags/2.3.2/bootstrap/fonts/glyphicons-halflings-regular.svg (added)
-
tags/2.3.2/bootstrap/fonts/glyphicons-halflings-regular.ttf (added)
-
tags/2.3.2/bootstrap/fonts/glyphicons-halflings-regular.woff (added)
-
tags/2.3.2/bootstrap/js (added)
-
tags/2.3.2/bootstrap/js/bootstrap-switch.min.js (added)
-
tags/2.3.2/bootstrap/js/bootstrap.min.js (added)
-
tags/2.3.2/classic (added)
-
tags/2.3.2/classic/classic-analytics.php (added)
-
tags/2.3.2/classic/custom-analytics.php (added)
-
tags/2.3.2/googleanalytics.php (added)
-
tags/2.3.2/langs (added)
-
tags/2.3.2/langs/gua-es_ES.mo (added)
-
tags/2.3.2/langs/gua-es_ES.pot (added)
-
tags/2.3.2/langs/gua-lt_LT.mo (added)
-
tags/2.3.2/langs/gua-lt_LT.pot (added)
-
tags/2.3.2/options.php (added)
-
tags/2.3.2/readme.txt (added)
-
tags/2.3.2/screenshot-1.png (added)
-
tags/2.3.2/screenshot-2.png (added)
-
tags/2.3.2/tracking-code.php (added)
-
trunk/classic/classic-analytics.php (modified) (4 diffs)
-
trunk/classic/custom-analytics.php (modified) (4 diffs)
-
trunk/googleanalytics.php (modified) (8 diffs)
-
trunk/langs (added)
-
trunk/langs/gua-es_ES.mo (added)
-
trunk/langs/gua-es_ES.pot (added)
-
trunk/langs/gua-lt_LT.mo (added)
-
trunk/langs/gua-lt_LT.pot (added)
-
trunk/options.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/woo_code.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
google-universal-analytics/trunk/classic/classic-analytics.php
r919368 r921821 1 1 <div class="wrap"> 2 <h2> Google Classic Analytics<em> (ga.js)</em></h2>2 <h2><?php echo __('Google Classic Analytics', 'gua'); ?><em> <?php echo __('(ga.js)', 'gua'); ?></em></h2> 3 3 <br /> 4 <em> This is an older version of Google Analytics. Use this version only if you have not upgraded to Universal Analytics yet or want to use both trackers (which is totally fine!).</em> <br />4 <em><?php echo __('This is an older version of Google Analytics. Use this version only if you have not upgraded to Universal Analytics yet or want to use both trackers (which is totally fine!).', 'gua'); ?></em> <br /> 5 5 <br /> 6 6 <div class="col-lg-6 row"> … … 8 8 <?php settings_fields('google-universal-settings-classic'); ?> 9 9 <div class="form-group"> 10 <label for="web_property_id" class="col-sm- 3 control-label">Status</label>11 <div class="col-sm- 9">10 <label for="web_property_id" class="col-sm-4 control-label"><?php echo __('Status', 'gua'); ?></label> 11 <div class="col-sm-8"> 12 12 <input id="classic_plugin_switch" type="checkbox" name="classic_plugin_switch" <?php if(get_option('classic_plugin_switch')=='on'): ?> checked="checked" <?php endif; ?>> 13 13 </div> 14 14 </div> 15 15 <div class="form-group"> 16 <label for="classic_web_property_id" class="col-sm- 3 control-label">Tracking ID</label>17 <div class="col-sm- 9">16 <label for="classic_web_property_id" class="col-sm-4 control-label"><?php echo __('Tracking ID', 'gua'); ?></label> 17 <div class="col-sm-8"> 18 18 <input type="text" class="form-control" name="classic_web_property_id" id="classic_web_property_id" placeholder="Tracking code example: UA-23710779-7" value="<?php echo get_option('classic_property_id'); ?>"> 19 <span class="error hide"><strong> Error! </strong> match your code with this forma: UA-41335660-1</span> </div>19 <span class="error hide"><strong><?php echo __('Error!', 'gua'); ?> </strong> <?php echo __('match your code with this forma: UA-41335660-1', 'gua'); ?></span> </div> 20 20 </div> 21 21 <div class="form-group"> 22 <div class="col-sm-offset- 3 col-sm-9">22 <div class="col-sm-offset-4 col-sm-8"> 23 23 <div class="checkbox"> 24 24 <label> 25 25 <input type="checkbox" name="classic_in_footer" id="classic_in_footer" <?php if(get_option('classic_in_footer')=='on'): ?> checked="checked" <?php endif; ?>> 26 Place code in footer</label>26 <?php echo __('Place code in footer', 'gua'); ?> </label> 27 27 </div> 28 28 </div> 29 29 </div> 30 30 <div class="form-group"> 31 <div class="col-sm-offset- 3 col-sm-9">31 <div class="col-sm-offset-4 col-sm-8"> 32 32 <?php global $wp_roles; 33 33 … … 36 36 <label> 37 37 <input type="checkbox" name="classic_tracking_off_for_role" id="classic_tracking_off_for_role" <?php if(get_option('classic_tracking_off_for_role')=='on'): ?> checked="checked" <?php endif; ?>> 38 Disable Tracking For38 <?php echo __('Disable Tracking For', 'gua'); ?> 39 39 <select id="classic_tracking_off_for_this_role"> 40 40 <?php foreach($roles as $role) { ?> … … 47 47 </div> 48 48 <div class="form-group"> 49 <div class="col-sm-offset- 3 col-sm-9">49 <div class="col-sm-offset-4 col-sm-8"> 50 50 <input type="hidden" id="ajax_url" name="ajax_url" value="<?php echo admin_url('admin-ajax.php'); ?>" /> 51 51 <input type="submit" class="button-primary" value="<?php _e('Save Changes'); ?>" /> 52 52 <!--<button type="button" class="button button-primary" id="save-classic-settings">Save Changes</button>--> 53 <span class="alert alert-success hide"><strong>Options Saved</strong></span></div>53 </div> 54 54 </div> 55 55 </form> 56 56 </div> 57 57 <div class="clearfix"></div> 58 <div class="row col-lg-6"> Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.3.1&utm_content=Google%20Classic%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>58 <div class="row col-lg-6"><?php echo __('Have a question? Drop us a question at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.3.2&utm_content=Google%20Classic%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div> 59 59 </div> 60 60 </br> -
google-universal-analytics/trunk/classic/custom-analytics.php
r919368 r921821 1 1 <div class="wrap"> 2 <h2> Custom Google Analytics</h2>2 <h2><?php echo __('Custom Google Analytics', 'gua'); ?></h2> 3 3 <br /> 4 <em> This is a place to customize your tracking code.</em> <br />4 <em><?php echo __('This is a place to customize your tracking code.', 'gua'); ?> </em> <br /> 5 5 <br /> 6 6 <div class="col-lg-6 row"> … … 8 8 <?php settings_fields('google-universal-settings-custom'); ?> 9 9 <div class="form-group"> 10 <label for="web_property_id" class="col-sm- 3 control-label">Status</label>11 <div class="col-sm- 9">10 <label for="web_property_id" class="col-sm-4 control-label"><?php echo __('Status', 'gua'); ?></label> 11 <div class="col-sm-8"> 12 12 <input id="custom_plugin_switch" type="checkbox" name="custom_plugin_switch" <?php if(get_option('custom_plugin_switch')=='on'): ?> checked="checked" <?php endif; ?>> 13 13 </div> 14 14 </div> 15 15 <div class="form-group"> 16 <label for="web_property_id" class="col-sm- 3 control-label">Tracking Code</label>17 <div class="col-sm- 9">16 <label for="web_property_id" class="col-sm-4 control-label"><?php echo __('Tracking Code', 'gua'); ?></label> 17 <div class="col-sm-8"> 18 18 <textarea class="form-control" name="custom_web_property_id" id="custom_web_property_id" rows="6" placeholder="Past your custom google tracking code here"><?php echo get_option('custom_web_property_id'); ?></textarea> 19 19 </div> 20 20 </div> 21 21 <div class="form-group"> 22 <div class="col-sm-offset- 3 col-sm-9">22 <div class="col-sm-offset-4 col-sm-8"> 23 23 <div class="checkbox"> 24 24 <label> 25 25 <input type="checkbox" name="custom_in_footer" id="custom_in_footer" <?php if(get_option('custom_in_footer')=='on'): ?> checked="checked" <?php endif; ?>> 26 Place code in footer</label>26 <?php echo __('Place code in footer', 'gua'); ?> </label> 27 27 </div> 28 28 </div> 29 29 </div> 30 30 <div class="form-group"> 31 <div class="col-sm-offset- 3 col-sm-9">31 <div class="col-sm-offset-4 col-sm-8"> 32 32 <?php global $wp_roles; 33 33 … … 36 36 <label> 37 37 <input type="checkbox" name="custom_tracking_off_for_role" id="custom_tracking_off_for_role" <?php if(get_option('custom_tracking_off_for_role')=='on'): ?> checked="checked" <?php endif; ?>> 38 Disable Tracking For38 <?php echo __('Disable Tracking For', 'gua'); ?> 39 39 <select id="custom_tracking_off_for_this_role"> 40 40 <?php foreach($roles as $role) { ?> … … 47 47 </div> 48 48 <div class="form-group"> 49 <div class="col-sm-offset- 3 col-sm-9">49 <div class="col-sm-offset-4 col-sm-8"> 50 50 <input type="hidden" id="ajax_url" name="ajax_url" value="<?php echo admin_url('admin-ajax.php'); ?>" /> 51 51 <input type="submit" class="button-primary" value="<?php _e('Save Changes'); ?>" /> 52 52 <!--<button type="button" class="button button-primary" id="save-custom-settings">Save Changes</button>--> 53 <span class="alert alert-success hide"><strong>Options Saved</strong></span></div>53 </div> 54 54 </div> 55 55 </form> 56 56 </div> 57 57 <div class="clearfix"></div> 58 <div class="row col-lg-6"> Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.3.1&utm_content=Google%20Custom%20Analytics&utm_campaign=WordPress%20plugins">OnlineAds.lt</a> </div>58 <div class="row col-lg-6"><?php echo __('Have a question? Drop us a question at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.3.2&utm_content=Google%20Custom%20Analytics&utm_campaign=WordPress%20plugins">OnlineAds.lt</a> </div> 59 59 </div> 60 60 </br> -
google-universal-analytics/trunk/googleanalytics.php
r919368 r921821 6 6 Plugin URI: http://wordpress.org/extend/plugins/google-universal-analytics/ 7 7 Description: Adds <a href="http://www.google.com/analytics/">Google Analytics</a> tracking code on all pages. 8 Version: 2.3. 18 Version: 2.3.2 9 9 Author: Audrius Dobilinskas 10 10 Author URI: http://onlineads.lt/ … … 28 28 define('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins'); 29 29 30 add_action( 'plugins_loaded', 'myplugin_load_textdomain' ); 31 /** 32 * Load plugin textdomain. 33 * 34 * @since 1.0.0 35 */ 36 function myplugin_load_textdomain() { 37 load_plugin_textdomain( 'gua', false, dirname( plugin_basename( __FILE__ ) ) . '/langs' ); 38 } 30 39 31 40 register_deactivation_hook(__FILE__, 'deactive_google_universal_analytics'); … … 42 51 register_setting('google-universal-settings','enable_display'); 43 52 register_setting('google-universal-settings','anonymize_ip'); 44 register_setting('google-universal-settings','woo_tracking');45 53 register_setting('google-universal-settings','set_domain'); 46 54 register_setting('google-universal-settings','set_domain_domain'); … … 71 79 72 80 73 $woo_code_path = get_template_directory().'/woo_code.php'; 74 if(!file_exists($woo_code_path)){ 75 copy(plugin_dir_path( __FILE__ ).'woo_code.php', $woo_code_path); 76 } 81 77 82 } 78 83 function deactive_google_universal_analytics() { … … 83 88 delete_option('enable_display'); 84 89 delete_option('anonymize_ip'); 85 delete_option('woo_tracking');86 90 delete_option('set_domain'); 87 91 delete_option('set_domain_domain'); … … 106 110 delete_option('custom_tracking_off_for_this_role'); 107 111 108 //delete woo code file 109 $woo_code_path = get_template_directory().'/woo_code.php'; 110 if(file_exists($woo_code_path)){ 111 unlink($woo_code_path); 112 } 113 $var1 = 'require "woo_code.php";'; 114 $get_func_file_path = get_template_directory().'/functions.php'; 115 $contents = file_get_contents($get_func_file_path); 116 $contents = str_replace($var1, '', $contents); 117 file_put_contents($get_func_file_path, $contents); 112 118 113 } 119 114 … … 128 123 129 124 130 $settings_page = add_menu_page( 'Google Universal Analytics', 'Google Universal Analytics', 'manage_options', 'google_universal_analytics', 'options_page_google_universal_analytics' );125 $settings_page = add_menu_page( __('Google Universal Analytics', 'gua'), __('Google Universal Analytics', 'gua'), 'manage_options', 'google_universal_analytics', 'options_page_google_universal_analytics' ); 131 126 132 127 add_submenu_page('google_universal_analytics','','','manage_options','google_universal_analytics','options_page_google_universal_analytics'); 133 128 134 $settings_page1 = add_submenu_page( 'google_universal_analytics', 'Universal Analytics', 'Universal Analytics', 'manage_options', 'google_universal_analytics', 'options_page_google_universal_analytics' );135 136 $classic_page = add_submenu_page( 'google_universal_analytics', 'Classic Analytics', 'Classic Analytics', 'manage_options', 'classic_analytics', 'classic_analytics_page_google_universal_analytics' );129 $settings_page1 = add_submenu_page( 'google_universal_analytics', __('Universal Analytics', 'gua'), __('Universal Analytics', 'gua'), 'manage_options', 'google_universal_analytics', 'options_page_google_universal_analytics' ); 130 131 $classic_page = add_submenu_page( 'google_universal_analytics', __('Classic Analytics', 'gua'), __('Classic Analytics', 'gua'), 'manage_options', 'classic_analytics', 'classic_analytics_page_google_universal_analytics' ); 137 132 138 133 139 134 140 $cutom_page = add_submenu_page( 'google_universal_analytics', 'Custom Tracker', 'Custom Tracker', 'manage_options', 'custom_analytics', 'custom_analytics_page_google_universal_analytics' );135 $cutom_page = add_submenu_page( 'google_universal_analytics', __('Custom Tracker', 'gua'), __('Custom Tracker', 'gua'), 'manage_options', 'custom_analytics', 'custom_analytics_page_google_universal_analytics' ); 141 136 142 137 … … 449 444 450 445 } 451 452 453 454 } 455 //adding woo tracking 456 457 //$var1 = 'require "woo_code.php";'; 458 459 $var1 = 'function ia_wc_ga_integration( $order_id ) { 460 $order = new WC_Order( $order_id ); ?> 461 462 <script type="text/javascript"> 463 ga("require", "ecommerce", "ecommerce.js"); // Load The Ecommerce Tracking Plugin 464 465 // Transaction Details 466 ga("ecommerce:addTransaction", { 467 "id": "<?php echo $order_id;?>", 468 "affiliation": "<?php echo get_option( "blogname" );?>", 469 "revenue": "<?php echo $order->get_total();?>", 470 "shipping": "<?php echo $order->get_total_shipping();?>", 471 "tax": "<?php echo $order->get_total_tax();?>", 472 "currency": "<?php echo get_woocommerce_currency();?>" 473 }); 474 475 476 <?php 477 //Item Details 478 if ( sizeof( $order->get_items() ) > 0 ) { 479 foreach( $order->get_items() as $item ) { 480 $product_cats = get_the_terms( $item["product_id"], "product_cat" ); 481 if ($product_cats) { 482 $cat = $product_cats[0]; 483 } ?> 484 ga("ecommerce:addItem", { 485 "id": "<?php echo $order_id;?>", 486 "name": "<?php echo $item["name"];?>", 487 "sku": "<?php echo get_post_meta($item["product_id"], "_sku", true);?>", 488 "category": "<?php echo $cat->name;?>", 489 "price": "<?php echo $item["line_subtotal"];?>", 490 "quantity": "<?php echo $item["qty"];?>", 491 "currency": "<?php echo get_woocommerce_currency();?>" 492 }); 493 <?php 494 } 495 } ?> 496 ga("ecommerce:send"); 497 </script> 498 <?php } 499 add_action( "woocommerce_thankyou", "ia_wc_ga_integration" );'; 500 501 $get_func_file_path = get_template_directory().'/functions.php'; 502 if(get_option('woo_tracking')=='on'){ 503 if(strpos(file_get_contents($get_func_file_path),$var1) !== false){ 504 }else{ 505 $data = sprintf("%s\n", $var1); 506 file_put_contents($get_func_file_path, $data, FILE_APPEND); 507 } 508 }elseif(get_option('woo_tracking')=='off'){ 509 $contents = file_get_contents($get_func_file_path); 510 $contents = str_replace($var1, '', $contents); 511 file_put_contents($get_func_file_path, $contents); 512 } 513 446 } -
google-universal-analytics/trunk/options.php
r919368 r921821 1 1 <div class="wrap"> 2 <h2> Google Universal Analytics</h2>2 <h2><?php echo __('Google Universal Analytics', 'gua'); ?></h2> 3 3 <br /> 4 4 <div class="col-lg-6 row"> … … 6 6 <?php settings_fields('google-universal-settings'); ?> 7 7 <div class="form-group"> 8 <label for="web_property_id" class="col-sm- 3 control-label">Status</label>9 <div class="col-sm- 9">8 <label for="web_property_id" class="col-sm-4 control-label"><?php echo __('Status', 'gua'); ?></label> 9 <div class="col-sm-8"> 10 10 <input id="plugin_switch" type="checkbox" name="plugin_switch" <?php if(get_option('plugin_switch')=='on'): ?> checked="checked" <?php endif; ?>> 11 11 </div> 12 12 </div> 13 13 <div class="form-group"> 14 <label for="web_property_id" class="col-sm- 3 control-label">Tracking ID</label>15 <div class="col-sm- 9">14 <label for="web_property_id" class="col-sm-4 control-label"><?php echo __('Tracking ID', 'gua'); ?></label> 15 <div class="col-sm-8"> 16 16 <input type="text" class="form-control" name="web_property_id" id="web_property_id" placeholder="Tracking code example: UA-23710711-7" value="<?php echo get_option('web_property_id'); ?>"> 17 <span class="error hide" id="code-error"><strong> Error! </strong> match your code with this format: UA-41115660-1</span> </div>17 <span class="error hide" id="code-error"><strong><?php echo __('Error!', 'gua'); ?> </strong><?php echo __('match your code with this format: UA-41115660-1', 'gua'); ?> </span> </div> 18 18 </div> 19 19 <div class="form-group"> 20 <label for="web_property_id" class="col-sm- 3control-label"></label>21 <div class="col-sm- 9"> <i>Advanced settings:</i> </div>20 <label for="web_property_id" class="col-sm-4 control-label"></label> 21 <div class="col-sm-8"> <i><?php echo __('Advanced settings:', 'gua'); ?></i> </div> 22 22 </div> 23 23 <div class="form-group"> 24 <div class="col-sm-offset- 3 col-sm-9">24 <div class="col-sm-offset-4 col-sm-8"> 25 25 <div class="checkbox"> 26 26 <label> 27 27 <input type="checkbox" name="in_footer" id="in_footer" <?php if(get_option('in_footer')=='on'): ?> checked="checked" <?php endif; ?>> 28 Place code in footer</label>28 <?php echo __('Place code in footer', 'gua'); ?> </label> 29 29 </div> 30 30 </div> 31 31 </div> 32 32 <div class="form-group"> 33 <div class="col-sm-offset- 3 col-sm-9">33 <div class="col-sm-offset-4 col-sm-8"> 34 34 <div class="checkbox"> 35 35 <label> 36 36 <input type="checkbox" name="track_links" id="track_links" <?php if(get_option('track_links')=='on'): ?> checked="checked" <?php endif; ?>> 37 Track events (Downloads, Mailto & Outbound URLs)</label>37 <?php echo __('Track events (Downloads, Mailto & Outbound URLs)', 'gua'); ?> </label> 38 38 </div> 39 39 </div> 40 40 </div> 41 41 <div class="form-group"> 42 <div class="col-sm-offset- 3 col-sm-9">42 <div class="col-sm-offset-4 col-sm-8"> 43 43 <div class="checkbox"> 44 44 <label> 45 45 <input type="checkbox" name="enable_display" id="enable_display" <?php if(get_option('enable_display')=='on'): ?> checked="checked" <?php endif; ?>> 46 Enable Display Advertising</label>46 <?php echo __('Enable Display Advertising', 'gua'); ?> </label> 47 47 </div> 48 48 </div> 49 49 </div> 50 50 <div class="form-group"> 51 <div class="col-sm-offset- 3 col-sm-9">51 <div class="col-sm-offset-4 col-sm-8"> 52 52 <div class="checkbox"> 53 53 <label> 54 54 <input type="checkbox" name="anonymize_ip" id="anonymize_ip" <?php if(get_option('anonymize_ip')=='on'): ?> checked="checked" <?php endif; ?>> 55 Anonymize IP</label>55 <?php echo __('Anonymize IP', 'gua'); ?> </label> 56 56 </div> 57 57 </div> 58 58 </div> 59 59 <div class="form-group"> 60 <div class="col-sm-offset- 3 col-sm-9">60 <div class="col-sm-offset-4 col-sm-8"> 61 61 <div class="checkbox"> 62 62 <label> 63 <input type="checkbox" name=" woo_tracking" id="woo_tracking" <?php if(get_option('woo_tracking')=='on'): ?> checked="checked" <?php endif; ?>>64 Enable Woocommerce e-commerce tracking <span style="color:green;">New!</span></label>63 <input type="checkbox" name="set_domain" id="set_domain" <?php if(get_option('set_domain')=='on'): ?> checked="checked" <?php endif; ?>> 64 <?php echo __('Set Domain', 'gua'); ?> <span style="color:green;">New!</span> <input type="" name="set_domain_domain" id="set_domain_domain" placeholder="nexsuad.com" <?php if(get_option('set_domain')=='on'): ?> value="<?php echo get_option('set_domain_domain'); ?>" <?php endif; ?> /></label> 65 65 </div> 66 66 </div> 67 67 </div> 68 68 <div class="form-group"> 69 <div class="col-sm-offset-3 col-sm-9"> 70 <div class="checkbox"> 71 <label> 72 <input type="checkbox" name="set_domain" id="set_domain" <?php if(get_option('set_domain')=='on'): ?> checked="checked" <?php endif; ?>> 73 Set Domain <span style="color:green;">New!</span> <input type="" name="set_domain_domain" id="set_domain_domain" placeholder="nexsuad.com" <?php if(get_option('set_domain')=='on'): ?> value="<?php echo get_option('set_domain_domain'); ?>" <?php endif; ?> /></label> 74 </div> 75 </div> 76 </div> 77 <div class="form-group"> 78 <div class="col-sm-offset-3 col-sm-9"> 69 <div class="col-sm-offset-4 col-sm-8"> 79 70 <?php global $wp_roles; 80 71 … … 83 74 <label> 84 75 <input type="checkbox" name="tracking_off_for_role" id="tracking_off_for_role" <?php if(get_option('tracking_off_for_role')=='on'): ?> checked="checked" <?php endif; ?>> 85 Disable Tracking For76 <?php echo __('Disable Tracking For', 'gua'); ?> 86 77 <select id="tracking_off_for_this_role"> 87 78 <?php foreach($roles as $role) { ?> … … 94 85 </div> 95 86 <div class="form-group"> 96 <div class="col-sm-offset- 3 col-sm-9">87 <div class="col-sm-offset-4 col-sm-8"> 97 88 <input type="submit" class="button-primary" value="<?php _e('Save Changes'); ?>" /> 98 89 <!--<button type="button" class="button button-primary" id="save-gua-settings">Save Changes</button>--> 99 <span class="alert alert-success hide"><strong>Options Saved</strong></span></div>90 </div> 100 91 </div> 101 92 </form> 102 93 </div> 103 94 <div class="clearfix"></div> 104 <div class="row col-lg-6"> Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.3.1&utm_content=Google%20Universal%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>95 <div class="row col-lg-6"><?php echo __('Have a question? Drop us a question at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.3.2&utm_content=Google%20Universal%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div> 105 96 </div> 106 97 </br> -
google-universal-analytics/trunk/readme.txt
r919368 r921821 5 5 Requires at least: 3.0 6 6 Tested up to: 3.9.1 7 Stable tag: 2.3. 17 Stable tag: 2.3.2 8 8 License: GPLv2 or later 9 9 10 Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website. Now supports WooCommerce!10 Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website. Many options! 11 11 12 12 == Description == … … 63 63 == Changelog == 64 64 65 = 2.3.2 = 66 * Google Universal Analytics plugin now supports Lithuanian and Spanish languages! 67 * Due to compatibility issues WooCommerce tracking has been removed. 68 65 69 = 2.3.1 = 66 70 * Now it is possible to set domain manually. … … 111 115 == Upgrade Notice == 112 116 117 = 2.3.2 = 118 * Spanish and Lithuanian language support 119 113 120 = 2.3.1 = 114 121 * New feature: set domain manually
Note: See TracChangeset
for help on using the changeset viewer.