Version Description
Download this release
Release Info
Developer | tms_gac |
Plugin | Analytics |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- analytics-code-notice.js +1 -1
- analytics-code.css +5 -1
- analytics-code.php +7 -1
- page_options.php +2 -2
- readme.txt +6 -2
analytics-code-notice.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
jQuery( document ).ready(function() {
|
2 |
jQuery('#ga_tc_notice_get_pro').find('button.notice-dismiss').click(function() {
|
3 |
var data = {
|
4 |
-
'action': 'ga_tc_stop_notice_pro_get'
|
5 |
}
|
6 |
jQuery.post(ajaxurl, data, function (response) {
|
7 |
});
|
1 |
jQuery( document ).ready(function() {
|
2 |
jQuery('#ga_tc_notice_get_pro').find('button.notice-dismiss').click(function() {
|
3 |
var data = {
|
4 |
+
'action': 'ga_tc_stop_notice_pro_get'
|
5 |
}
|
6 |
jQuery.post(ajaxurl, data, function (response) {
|
7 |
});
|
analytics-code.css
CHANGED
@@ -128,6 +128,10 @@
|
|
128 |
text-align: center;
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
131 |
|
132 |
@media only screen and (max-width: 750px) {
|
133 |
.ga_tc_pro_chart {
|
@@ -138,7 +142,7 @@
|
|
138 |
}
|
139 |
|
140 |
.info {
|
141 |
-
min-width: auto
|
142 |
}
|
143 |
|
144 |
|
128 |
text-align: center;
|
129 |
}
|
130 |
|
131 |
+
#ga_tc_code_options {
|
132 |
+
margin-bottom: 25px;
|
133 |
+
}
|
134 |
+
|
135 |
|
136 |
@media only screen and (max-width: 750px) {
|
137 |
.ga_tc_pro_chart {
|
142 |
}
|
143 |
|
144 |
.info {
|
145 |
+
/*min-width: auto;*/
|
146 |
}
|
147 |
|
148 |
|
analytics-code.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Analytics Code Integration
|
4 |
Description: Easy integrate the Google Analytics Code on any WordPress website.
|
5 |
-
Version: 1.2.
|
6 |
License: GPLv2 or later
|
7 |
Domain Path: /languages
|
8 |
Text Domain: analytics-code
|
@@ -16,6 +16,12 @@ define("GA_TC_SERVER", 'http://www.toolsanalytics.com');
|
|
16 |
|
17 |
add_action('admin_menu', 'ga_tc_action_add_menu');
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
$ga_tc_code = get_option('ga_tc_code', '');
|
20 |
$ga_tc_id = get_option( 'ga_tc_id', '' );
|
21 |
$ga_tc_place = get_option( 'ga_tc_place', false);
|
2 |
/*
|
3 |
Plugin Name: Analytics Code Integration
|
4 |
Description: Easy integrate the Google Analytics Code on any WordPress website.
|
5 |
+
Version: 1.2.2
|
6 |
License: GPLv2 or later
|
7 |
Domain Path: /languages
|
8 |
Text Domain: analytics-code
|
16 |
|
17 |
add_action('admin_menu', 'ga_tc_action_add_menu');
|
18 |
|
19 |
+
add_action( 'init', 'ga_tc_load_textdomain' );
|
20 |
+
function ga_tc_load_textdomain() {
|
21 |
+
load_plugin_textdomain( 'analytics-code' );
|
22 |
+
}
|
23 |
+
|
24 |
+
|
25 |
$ga_tc_code = get_option('ga_tc_code', '');
|
26 |
$ga_tc_id = get_option( 'ga_tc_id', '' );
|
27 |
$ga_tc_place = get_option( 'ga_tc_place', false);
|
page_options.php
CHANGED
@@ -123,7 +123,7 @@
|
|
123 |
</tr>
|
124 |
<tr>
|
125 |
<td>
|
126 |
-
<b>Please,
|
127 |
</td>
|
128 |
<td>
|
129 |
<input type="text" name="ga_tc_id" value="<?php echo stripslashes($ga_tc_id);?>">
|
@@ -171,7 +171,7 @@
|
|
171 |
</tr>
|
172 |
|
173 |
<tr>
|
174 |
-
<td colspan="2" style="padding-top:10px;"><b>Please,
|
175 |
</tr>
|
176 |
<tr>
|
177 |
<td colspan="2">
|
123 |
</tr>
|
124 |
<tr>
|
125 |
<td>
|
126 |
+
<b>Please, paste your Google Analytics Tracking ID here:</b>
|
127 |
</td>
|
128 |
<td>
|
129 |
<input type="text" name="ga_tc_id" value="<?php echo stripslashes($ga_tc_id);?>">
|
171 |
</tr>
|
172 |
|
173 |
<tr>
|
174 |
+
<td colspan="2" style="padding-top:10px;"><b>Please, paste your Google Analytics code here:</b></td>
|
175 |
</tr>
|
176 |
<tr>
|
177 |
<td colspan="2">
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Analytics ===
|
2 |
-
Version: 1.2.
|
3 |
Plugin Name: Analytics Code Integration
|
4 |
Tags: Google Analytics, Analytics, Google Code, Code Integration, Analytics Code, Google Tracker Code, Tracker, Counter, website, web, page, Google, analytic, id, WordPress, site, automatic
|
5 |
Requires at least: 3.9
|
6 |
-
Tested up to: 4.7.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
Author: http://www.toolsanalytics.com/
|
@@ -30,6 +30,10 @@ Analytics of Google: analytics code integration on WordPress website
|
|
30 |
|
31 |
== Changelog ==
|
32 |
|
|
|
|
|
|
|
|
|
33 |
= Google Analytics Version 1.2.1 =
|
34 |
* Added the ability to select the place of the code on the page
|
35 |
* Bug fixes
|
1 |
=== Analytics ===
|
2 |
+
Version: 1.2.2
|
3 |
Plugin Name: Analytics Code Integration
|
4 |
Tags: Google Analytics, Analytics, Google Code, Code Integration, Analytics Code, Google Tracker Code, Tracker, Counter, website, web, page, Google, analytic, id, WordPress, site, automatic
|
5 |
Requires at least: 3.9
|
6 |
+
Tested up to: 4.7.4
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
Author: http://www.toolsanalytics.com/
|
30 |
|
31 |
== Changelog ==
|
32 |
|
33 |
+
= Google Analytics Version 1.2.2 =
|
34 |
+
* Tested up to 4.7.4
|
35 |
+
* Bug fixes
|
36 |
+
|
37 |
= Google Analytics Version 1.2.1 =
|
38 |
* Added the ability to select the place of the code on the page
|
39 |
* Bug fixes
|