Version Description
Download this release
Release Info
Developer | tms_gac |
Plugin | Analytics |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.1.1
- analytics-code-notice.css +4 -0
- analytics-code.css +7 -0
- analytics-code.php +5 -26
- notice_pro_get.php +10 -0
- notice_pro_screenshots.php +9 -1
- page_options.php +3 -46
- pro.php +1 -0
- pro_get.php +7 -1
- readme.txt +1 -5
analytics-code-notice.css
CHANGED
@@ -127,6 +127,7 @@
|
|
127 |
text-shadow: 1px 1px 15px #929292;
|
128 |
font-weight: bold;
|
129 |
float: left;
|
|
|
130 |
border-radius: 15px;
|
131 |
margin-right: 25px;
|
132 |
margin-top: -5px;
|
@@ -134,6 +135,7 @@
|
|
134 |
|
135 |
.acp_pro_banner_buttons, .acp_pro_banner_buttons2 {
|
136 |
text-align: center;
|
|
|
137 |
width: 100%;
|
138 |
float: left;
|
139 |
background-color: transparent;
|
@@ -146,6 +148,7 @@
|
|
146 |
|
147 |
#acp_pro_banner_screenshots {
|
148 |
max-width: 780px;
|
|
|
149 |
margin-left: 20px;
|
150 |
}
|
151 |
|
@@ -156,6 +159,7 @@
|
|
156 |
height: 50px;
|
157 |
margin-right: 10px;
|
158 |
overflow-y: hidden;
|
|
|
159 |
margin-bottom: -1px;
|
160 |
}
|
161 |
|
127 |
text-shadow: 1px 1px 15px #929292;
|
128 |
font-weight: bold;
|
129 |
float: left;
|
130 |
+
/*padding-bottom: 10px;*/
|
131 |
border-radius: 15px;
|
132 |
margin-right: 25px;
|
133 |
margin-top: -5px;
|
135 |
|
136 |
.acp_pro_banner_buttons, .acp_pro_banner_buttons2 {
|
137 |
text-align: center;
|
138 |
+
/*max-width: 600px;*/
|
139 |
width: 100%;
|
140 |
float: left;
|
141 |
background-color: transparent;
|
148 |
|
149 |
#acp_pro_banner_screenshots {
|
150 |
max-width: 780px;
|
151 |
+
/*padding-bottom: 20px;*/
|
152 |
margin-left: 20px;
|
153 |
}
|
154 |
|
159 |
height: 50px;
|
160 |
margin-right: 10px;
|
161 |
overflow-y: hidden;
|
162 |
+
/*border-bottom: 1px solid gray;*/
|
163 |
margin-bottom: -1px;
|
164 |
}
|
165 |
|
analytics-code.css
CHANGED
@@ -124,13 +124,20 @@
|
|
124 |
|
125 |
|
126 |
.acp_pro_button {
|
|
|
127 |
max-width: 550px;
|
128 |
text-align: center;
|
129 |
}
|
130 |
|
131 |
|
132 |
@media only screen and (max-width: 750px) {
|
|
|
|
|
|
|
|
|
133 |
.ga_tc_pro_chart {
|
|
|
|
|
134 |
}
|
135 |
|
136 |
#acp_get_pro_btn {
|
124 |
|
125 |
|
126 |
.acp_pro_button {
|
127 |
+
/*float: right;*/
|
128 |
max-width: 550px;
|
129 |
text-align: center;
|
130 |
}
|
131 |
|
132 |
|
133 |
@media only screen and (max-width: 750px) {
|
134 |
+
/*.acp_pro_button {*/
|
135 |
+
/*float: none;*/
|
136 |
+
/*margin-left: 40%;*/
|
137 |
+
/*}*/
|
138 |
.ga_tc_pro_chart {
|
139 |
+
/*padding-top: 40px;*/
|
140 |
+
/*display: inherit;*/
|
141 |
}
|
142 |
|
143 |
#acp_get_pro_btn {
|
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.
|
6 |
License: GPLv2 or later
|
7 |
Domain Path: /languages
|
8 |
Text Domain: analytics-code
|
@@ -16,24 +16,7 @@ define("GA_TC_SERVER", 'http://www.toolsanalytics.com');
|
|
16 |
|
17 |
add_action('admin_menu', 'ga_tc_action_add_menu');
|
18 |
|
19 |
-
|
20 |
-
$ga_tc_id = get_option( 'ga_tc_id', '' );
|
21 |
-
$ga_tc_place = get_option( 'ga_tc_place', false);
|
22 |
-
|
23 |
-
if (!$ga_tc_place) {
|
24 |
-
if (empty($ga_tc_code) && empty($ga_tc_id)) {
|
25 |
-
$ga_tc_place = 'head';
|
26 |
-
} else {
|
27 |
-
$ga_tc_place = 'footer';
|
28 |
-
}
|
29 |
-
}
|
30 |
-
|
31 |
-
|
32 |
-
if ($ga_tc_place == 'footer') {
|
33 |
-
add_action('wp_footer', 'ga_tc_insert_code');
|
34 |
-
} else {
|
35 |
-
add_action('wp_head', 'ga_tc_insert_code');
|
36 |
-
}
|
37 |
|
38 |
|
39 |
|
@@ -48,7 +31,7 @@ if(get_option('ga_tc_pro')) {
|
|
48 |
add_action( 'admin_notices', 'ga_tc_notice_pro_update' );
|
49 |
}
|
50 |
|
51 |
-
function
|
52 |
wp_register_style( 'analytics-code-notice', plugins_url('analytics-code-notice.css' , __FILE__) );
|
53 |
wp_enqueue_style( 'analytics-code-notice' );
|
54 |
|
@@ -60,10 +43,7 @@ function ga_tc_load_scripts() {
|
|
60 |
|
61 |
wp_register_script( 'responsive-lightbox', plugins_url('assets/responsive-lightbox/jquery.lightbox.min.js' , __FILE__) );
|
62 |
wp_enqueue_script( 'responsive-lightbox' );
|
63 |
-
}
|
64 |
|
65 |
-
function ga_tc_notice_pro_get() {
|
66 |
-
ga_tc_load_scripts();
|
67 |
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'notice_pro_get.php';
|
68 |
}
|
69 |
|
@@ -113,14 +93,13 @@ if(!function_exists('ga_tc_pageOptions')) {
|
|
113 |
wp_register_style( 'analytics-code-fonts', '//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Slabo+27px' );
|
114 |
wp_enqueue_style( 'analytics-code-fonts' );
|
115 |
|
116 |
-
ga_tc_load_scripts();
|
117 |
|
118 |
require 'page_options.php';
|
119 |
}
|
120 |
}
|
121 |
|
122 |
-
if(!function_exists('
|
123 |
-
function
|
124 |
$ga_tc_type = get_option( 'ga_tc_type', 'id' );
|
125 |
$ga_tc_code = get_option('ga_tc_code', '');
|
126 |
$ga_tc_id = get_option( 'ga_tc_id', '' );
|
2 |
/*
|
3 |
Plugin Name: Analytics Code Integration
|
4 |
Description: Easy integrate the Google Analytics Code on any WordPress website.
|
5 |
+
Version: 1.1.1
|
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('wp_footer', 'ga_tc_insert_code');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
|
22 |
|
31 |
add_action( 'admin_notices', 'ga_tc_notice_pro_update' );
|
32 |
}
|
33 |
|
34 |
+
function ga_tc_notice_pro_get() {
|
35 |
wp_register_style( 'analytics-code-notice', plugins_url('analytics-code-notice.css' , __FILE__) );
|
36 |
wp_enqueue_style( 'analytics-code-notice' );
|
37 |
|
43 |
|
44 |
wp_register_script( 'responsive-lightbox', plugins_url('assets/responsive-lightbox/jquery.lightbox.min.js' , __FILE__) );
|
45 |
wp_enqueue_script( 'responsive-lightbox' );
|
|
|
46 |
|
|
|
|
|
47 |
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'notice_pro_get.php';
|
48 |
}
|
49 |
|
93 |
wp_register_style( 'analytics-code-fonts', '//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Slabo+27px' );
|
94 |
wp_enqueue_style( 'analytics-code-fonts' );
|
95 |
|
|
|
96 |
|
97 |
require 'page_options.php';
|
98 |
}
|
99 |
}
|
100 |
|
101 |
+
if(!function_exists('ga_tc_action_wp_footer')) {
|
102 |
+
function ga_tc_action_wp_footer() {
|
103 |
$ga_tc_type = get_option( 'ga_tc_type', 'id' );
|
104 |
$ga_tc_code = get_option('ga_tc_code', '');
|
105 |
$ga_tc_id = get_option( 'ga_tc_id', '' );
|
notice_pro_get.php
CHANGED
@@ -35,6 +35,9 @@
|
|
35 |
<?php require dirname(__FILE__) . DIRECTORY_SEPARATOR . "notice_pro_screenshots.php"; ?>
|
36 |
|
37 |
|
|
|
|
|
|
|
38 |
|
39 |
<div style="clear: both"></div>
|
40 |
|
@@ -85,10 +88,13 @@
|
|
85 |
jQuery('#acp_pro_banner_list_features').show('slow');
|
86 |
jQuery('.acp_pro_banner_buttons').hide('slow');
|
87 |
|
|
|
88 |
jQuery('#ga_tc_notice_get_pro').css('overflow-y', 'none');
|
89 |
jQuery('#ga_tc_notice_get_pro').css('height', 'auto');
|
90 |
|
91 |
jQuery('#acp_pro_banner_screenshots div.screenshot').addClass("screenshot_opened");
|
|
|
|
|
92 |
|
93 |
jQuery('.screenshot a').attr('href', jQuery('.screenshot a').attr('data-href'));
|
94 |
|
@@ -103,10 +109,14 @@
|
|
103 |
function acp_pro_banner_hide_description() {
|
104 |
jQuery('#acp_pro_banner_list_features').hide('slow');
|
105 |
jQuery('.acp_pro_banner_buttons').show('s8low');
|
|
|
106 |
jQuery('#ga_tc_notice_get_pro').css('overflow-y', 'hidden');
|
107 |
jQuery('#ga_tc_notice_get_pro').css('height', '97px');
|
108 |
|
109 |
jQuery('#acp_pro_banner_screenshots div.screenshot').removeClass("screenshot_opened");
|
|
|
|
|
|
|
110 |
jQuery('#ga_tc_notice_get_pro').addClass('acp_pro_backgroundAnimated');
|
111 |
jQuery('#ga_tc_notice_get_pro .notice-dismiss').addClass('acp_pro_backgroundAnimated');
|
112 |
|
35 |
<?php require dirname(__FILE__) . DIRECTORY_SEPARATOR . "notice_pro_screenshots.php"; ?>
|
36 |
|
37 |
|
38 |
+
<!-- <div class="acp_pro_banner_buttons">-->
|
39 |
+
<!-- <a href="javascript:void(0)" onclick="acp_pro_banner_show_description()">Show details <img style="margin-bottom: -5px;" src="--><?php //echo plugins_url('down.png', __FILE__); ?><!--"></a>-->
|
40 |
+
<!-- </div>-->
|
41 |
|
42 |
<div style="clear: both"></div>
|
43 |
|
88 |
jQuery('#acp_pro_banner_list_features').show('slow');
|
89 |
jQuery('.acp_pro_banner_buttons').hide('slow');
|
90 |
|
91 |
+
// jQuery('#acp_pro_banner_screenshots div.screenshot').addClass('screenshot_shadow');
|
92 |
jQuery('#ga_tc_notice_get_pro').css('overflow-y', 'none');
|
93 |
jQuery('#ga_tc_notice_get_pro').css('height', 'auto');
|
94 |
|
95 |
jQuery('#acp_pro_banner_screenshots div.screenshot').addClass("screenshot_opened");
|
96 |
+
// jQuery('#ga_tc_notice_get_pro .notice-dismiss').addClass("notice-dismiss-opened");
|
97 |
+
// jQuery('#ga_tc_notice_get_pro').addClass("opened");
|
98 |
|
99 |
jQuery('.screenshot a').attr('href', jQuery('.screenshot a').attr('data-href'));
|
100 |
|
109 |
function acp_pro_banner_hide_description() {
|
110 |
jQuery('#acp_pro_banner_list_features').hide('slow');
|
111 |
jQuery('.acp_pro_banner_buttons').show('s8low');
|
112 |
+
// jQuery('#acp_pro_banner_screenshots div.screenshot').removeClass('screenshot_shadow');
|
113 |
jQuery('#ga_tc_notice_get_pro').css('overflow-y', 'hidden');
|
114 |
jQuery('#ga_tc_notice_get_pro').css('height', '97px');
|
115 |
|
116 |
jQuery('#acp_pro_banner_screenshots div.screenshot').removeClass("screenshot_opened");
|
117 |
+
// jQuery('#ga_tc_notice_get_pro .notice-dismiss').removeClass("notice-dismiss-opened");
|
118 |
+
// jQuery('#ga_tc_notice_get_pro').removeClass("opened");
|
119 |
+
|
120 |
jQuery('#ga_tc_notice_get_pro').addClass('acp_pro_backgroundAnimated');
|
121 |
jQuery('#ga_tc_notice_get_pro .notice-dismiss').addClass('acp_pro_backgroundAnimated');
|
122 |
|
notice_pro_screenshots.php
CHANGED
@@ -15,4 +15,12 @@
|
|
15 |
<?php endforeach; ?>
|
16 |
|
17 |
</div>
|
18 |
-
<div style="clear: both"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
<?php endforeach; ?>
|
16 |
|
17 |
</div>
|
18 |
+
<div style="clear: both"></div>
|
19 |
+
|
20 |
+
|
21 |
+
<script>
|
22 |
+
|
23 |
+
jQuery( document ).ready(function($) {
|
24 |
+
// $('#acp_pro_banner_screenshots a').lightbox();
|
25 |
+
});
|
26 |
+
</script>
|
page_options.php
CHANGED
@@ -9,16 +9,6 @@
|
|
9 |
$ga_tc_type = get_option( 'ga_tc_type', 'id' );
|
10 |
|
11 |
|
12 |
-
$ga_tc_place = get_option( 'ga_tc_place', false);
|
13 |
-
if (!$ga_tc_place) {
|
14 |
-
if (empty($ga_tc_code) && empty($ga_tc_id)) {
|
15 |
-
$ga_tc_place = 'head';
|
16 |
-
} else {
|
17 |
-
$ga_tc_place = 'footer';
|
18 |
-
}
|
19 |
-
}
|
20 |
-
|
21 |
-
|
22 |
if((mb_strtolower($_SERVER['REQUEST_METHOD']) == 'post')) {
|
23 |
check_admin_referer( GA_TC_PLUGIN_NAME );
|
24 |
}
|
@@ -28,21 +18,17 @@
|
|
28 |
update_option( 'ga_tc_id', '' );
|
29 |
update_option( 'ga_tc_code', '' );
|
30 |
update_option( 'ga_tc_type', 'id' );
|
31 |
-
update_option( 'ga_tc_place', 'head' );
|
32 |
$ga_tc_deactivated = true;;
|
33 |
}
|
34 |
|
35 |
|
36 |
if (isset($_POST['ga_tc_submit_id']) && isset( $_POST['ga_tc_id'] )) {
|
37 |
$ga_tc_id = trim(filter_input( INPUT_POST, 'ga_tc_id', FILTER_SANITIZE_STRING ));
|
38 |
-
$ga_tc_place = trim(filter_input( INPUT_POST, 'ga_tc_place', FILTER_SANITIZE_STRING ));
|
39 |
-
$ga_tc_place = ($ga_tc_place == 'footer') ? 'footer' : 'header';
|
40 |
$ga_tc_type = 'id';
|
41 |
|
42 |
if (empty($ga_tc_id) || preg_match( "/^UA\-[0-9]+\-[0-9]+$/i", $ga_tc_id)) {
|
43 |
update_option('ga_tc_id', $ga_tc_id);
|
44 |
update_option('ga_tc_type', 'id');
|
45 |
-
update_option('ga_tc_place', $ga_tc_place);
|
46 |
if (empty($ga_tc_id)) {
|
47 |
$ga_tc_deactivated = true;
|
48 |
} else {
|
@@ -56,16 +42,12 @@
|
|
56 |
if (isset($_POST['ga_tc_submit_code']) && isset($_POST['ga_tc_code'])) {
|
57 |
$ga_tc_code = trim((strval($_POST['ga_tc_code'])));
|
58 |
|
59 |
-
$ga_tc_place = trim(filter_input( INPUT_POST, 'ga_tc_place', FILTER_SANITIZE_STRING ));
|
60 |
-
$ga_tc_place = ($ga_tc_place == 'footer') ? 'footer' : 'header';
|
61 |
-
|
62 |
$regex = "/^\<script(.*?)?\>(.|\\n)*?\<\/script\>$/i";
|
63 |
$ga_tc_type = 'code';
|
64 |
|
65 |
if (empty($ga_tc_code) || preg_match( $regex, $ga_tc_code)) {
|
66 |
update_option('ga_tc_code', $ga_tc_code);
|
67 |
update_option('ga_tc_type', 'code');
|
68 |
-
update_option('ga_tc_place', $ga_tc_place);
|
69 |
|
70 |
if (empty($ga_tc_code)) {
|
71 |
$ga_tc_deactivated = true;
|
@@ -109,18 +91,6 @@
|
|
109 |
<form method="post">
|
110 |
<?php wp_nonce_field( GA_TC_PLUGIN_NAME ); ?>
|
111 |
<table>
|
112 |
-
<tr>
|
113 |
-
<td style="text-align: right">
|
114 |
-
<b>Please, select the place to insert the code:</b>
|
115 |
-
</td>
|
116 |
-
<td>
|
117 |
-
<select style="width: 100%;" name="ga_tc_place">
|
118 |
-
<option value="head">Page header (recommended)</option>
|
119 |
-
<option value="footer" <?php if($ga_tc_place == 'footer'){echo 'selected';} ?>>Page footer</option>
|
120 |
-
</select>
|
121 |
-
|
122 |
-
</td>
|
123 |
-
</tr>
|
124 |
<tr>
|
125 |
<td>
|
126 |
<b>Please, past your Google Analytics Tracking ID here:</b>
|
@@ -151,27 +121,14 @@
|
|
151 |
<div id="ga_tc_code_options" <?php if ($ga_tc_type == 'id') {echo 'style="display: none"';}?>>
|
152 |
<div class="postbox">
|
153 |
<div style="padding-left: 10px; border-bottom: 1px solid #e5e5e5">
|
154 |
-
<h2>Manually
|
155 |
</div>
|
156 |
<div style="padding: 10px;">
|
157 |
<form method="post">
|
158 |
<?php wp_nonce_field( GA_TC_PLUGIN_NAME ); ?>
|
159 |
<table>
|
160 |
-
<tr>
|
161 |
-
<td style="width: 50px; white-space: nowrap">
|
162 |
-
<b>Please, select the place to insert the code:</b>
|
163 |
-
</td>
|
164 |
-
<td>
|
165 |
-
<select style="width: 100%;" name="ga_tc_place">
|
166 |
-
<option value="head">Page header (recommended)</option>
|
167 |
-
<option value="footer" <?php if($ga_tc_place == 'footer'){echo 'selected';} ?>>Page footer</option>
|
168 |
-
</select>
|
169 |
-
|
170 |
-
</td>
|
171 |
-
</tr>
|
172 |
-
|
173 |
<tr>
|
174 |
-
<td colspan="2"
|
175 |
</tr>
|
176 |
<tr>
|
177 |
<td colspan="2">
|
@@ -191,7 +148,7 @@
|
|
191 |
</td>
|
192 |
</tr>
|
193 |
<tr>
|
194 |
-
<td
|
195 |
<p>More information about tracking code you can read on <a href="https://support.google.com/analytics/answer/1008080">Google Analytics support</a> pages.</p>
|
196 |
If you have not yet created a google analytics account for this site, <a href='https://analytics.google.com/analytics/web/#management/Settings//%3Fm.page%3DNewAccount/' class='btn btn-xs btn-success'>create it</a>.
|
197 |
</td>
|
9 |
$ga_tc_type = get_option( 'ga_tc_type', 'id' );
|
10 |
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
if((mb_strtolower($_SERVER['REQUEST_METHOD']) == 'post')) {
|
13 |
check_admin_referer( GA_TC_PLUGIN_NAME );
|
14 |
}
|
18 |
update_option( 'ga_tc_id', '' );
|
19 |
update_option( 'ga_tc_code', '' );
|
20 |
update_option( 'ga_tc_type', 'id' );
|
|
|
21 |
$ga_tc_deactivated = true;;
|
22 |
}
|
23 |
|
24 |
|
25 |
if (isset($_POST['ga_tc_submit_id']) && isset( $_POST['ga_tc_id'] )) {
|
26 |
$ga_tc_id = trim(filter_input( INPUT_POST, 'ga_tc_id', FILTER_SANITIZE_STRING ));
|
|
|
|
|
27 |
$ga_tc_type = 'id';
|
28 |
|
29 |
if (empty($ga_tc_id) || preg_match( "/^UA\-[0-9]+\-[0-9]+$/i", $ga_tc_id)) {
|
30 |
update_option('ga_tc_id', $ga_tc_id);
|
31 |
update_option('ga_tc_type', 'id');
|
|
|
32 |
if (empty($ga_tc_id)) {
|
33 |
$ga_tc_deactivated = true;
|
34 |
} else {
|
42 |
if (isset($_POST['ga_tc_submit_code']) && isset($_POST['ga_tc_code'])) {
|
43 |
$ga_tc_code = trim((strval($_POST['ga_tc_code'])));
|
44 |
|
|
|
|
|
|
|
45 |
$regex = "/^\<script(.*?)?\>(.|\\n)*?\<\/script\>$/i";
|
46 |
$ga_tc_type = 'code';
|
47 |
|
48 |
if (empty($ga_tc_code) || preg_match( $regex, $ga_tc_code)) {
|
49 |
update_option('ga_tc_code', $ga_tc_code);
|
50 |
update_option('ga_tc_type', 'code');
|
|
|
51 |
|
52 |
if (empty($ga_tc_code)) {
|
53 |
$ga_tc_deactivated = true;
|
91 |
<form method="post">
|
92 |
<?php wp_nonce_field( GA_TC_PLUGIN_NAME ); ?>
|
93 |
<table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
<tr>
|
95 |
<td>
|
96 |
<b>Please, past your Google Analytics Tracking ID here:</b>
|
121 |
<div id="ga_tc_code_options" <?php if ($ga_tc_type == 'id') {echo 'style="display: none"';}?>>
|
122 |
<div class="postbox">
|
123 |
<div style="padding-left: 10px; border-bottom: 1px solid #e5e5e5">
|
124 |
+
<h2>Manually past Google Analytics Code</h2>
|
125 |
</div>
|
126 |
<div style="padding: 10px;">
|
127 |
<form method="post">
|
128 |
<?php wp_nonce_field( GA_TC_PLUGIN_NAME ); ?>
|
129 |
<table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
<tr>
|
131 |
+
<td colspan="2"><b>Please, past your Google Analytics code here:</b></td>
|
132 |
</tr>
|
133 |
<tr>
|
134 |
<td colspan="2">
|
148 |
</td>
|
149 |
</tr>
|
150 |
<tr>
|
151 |
+
<td>
|
152 |
<p>More information about tracking code you can read on <a href="https://support.google.com/analytics/answer/1008080">Google Analytics support</a> pages.</p>
|
153 |
If you have not yet created a google analytics account for this site, <a href='https://analytics.google.com/analytics/web/#management/Settings//%3Fm.page%3DNewAccount/' class='btn btn-xs btn-success'>create it</a>.
|
154 |
</td>
|
pro.php
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<div class="acp_get_pro">
|
2 |
<?php
|
3 |
if (isset($_GET['pay']) && $_GET['pay'] == 'success') {
|
1 |
+
<!--<hr style="margin-bottom: 0px;">-->
|
2 |
<div class="acp_get_pro">
|
3 |
<?php
|
4 |
if (isset($_GET['pay']) && $_GET['pay'] == 'success') {
|
pro_get.php
CHANGED
@@ -21,7 +21,10 @@
|
|
21 |
<input type="hidden" name="user_email" value="<?php echo get_option('admin_email'); ?>">
|
22 |
<input type="hidden" name="user_site" value="<?php echo home_url(); ?>">
|
23 |
<input type="hidden" name="refer" value="<?php echo 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . rtrim($_SERVER['HTTP_HOST'], '/')."/" . ltrim($_SERVER['REQUEST_URI'], '/'); ?>">
|
|
|
24 |
<input type="submit" class="acp_get_pro_btn" id="acp_get_pro_btn" value="Get PRO" style="margin-right: 20px;">
|
|
|
|
|
25 |
|
26 |
</form>
|
27 |
</div>
|
@@ -36,7 +39,10 @@
|
|
36 |
<input type="hidden" name="user_email" value="<?php echo get_option('admin_email'); ?>">
|
37 |
<input type="hidden" name="user_site" value="<?php echo home_url(); ?>">
|
38 |
<input type="hidden" name="refer" value="<?php echo 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . rtrim($_SERVER['HTTP_HOST'], '/')."/" . ltrim($_SERVER['REQUEST_URI'], '/'); ?>">
|
39 |
-
<
|
|
|
|
|
|
|
40 |
|
41 |
</form>
|
42 |
</div>
|
21 |
<input type="hidden" name="user_email" value="<?php echo get_option('admin_email'); ?>">
|
22 |
<input type="hidden" name="user_site" value="<?php echo home_url(); ?>">
|
23 |
<input type="hidden" name="refer" value="<?php echo 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . rtrim($_SERVER['HTTP_HOST'], '/')."/" . ltrim($_SERVER['REQUEST_URI'], '/'); ?>">
|
24 |
+
<!-- <div class="acp_pro_banner_buttons">-->
|
25 |
<input type="submit" class="acp_get_pro_btn" id="acp_get_pro_btn" value="Get PRO" style="margin-right: 20px;">
|
26 |
+
<!-- <a href="javascript:void(0)" onclick="jQuery(this).hide(); jQuery('#acp_pro_description').show('slow'); ">Show details <img style="margin-bottom: -5px;" src="--><?php //echo plugins_url('down.png', __FILE__); ?><!--"></a>-->
|
27 |
+
<!-- </div>-->
|
28 |
|
29 |
</form>
|
30 |
</div>
|
39 |
<input type="hidden" name="user_email" value="<?php echo get_option('admin_email'); ?>">
|
40 |
<input type="hidden" name="user_site" value="<?php echo home_url(); ?>">
|
41 |
<input type="hidden" name="refer" value="<?php echo 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . rtrim($_SERVER['HTTP_HOST'], '/')."/" . ltrim($_SERVER['REQUEST_URI'], '/'); ?>">
|
42 |
+
<!-- <div class="acp_pro_banner_buttons">-->
|
43 |
+
<input type="submit" class="acp_get_pro_btn" id="acp_get_pro_btn" value="Get PRO" style="margin-right: 20px;">
|
44 |
+
<!-- <a href="javascript:void(0)" onclick="jQuery(this).hide(); jQuery('#acp_pro_description').show('slow'); ">Show details <img style="margin-bottom: -5px;" src="--><?php //echo plugins_url('down.png', __FILE__); ?><!--"></a>-->
|
45 |
+
<!-- </div>-->
|
46 |
|
47 |
</form>
|
48 |
</div>
|
readme.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
=== Analytics ===
|
2 |
-
Version: 1.
|
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
|
@@ -30,10 +30,6 @@ 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
|
36 |
-
|
37 |
= Google Analytics Version 1.1.0 =
|
38 |
* Tested up to 4.7.2
|
39 |
* Bug fixes
|
1 |
=== Analytics ===
|
2 |
+
Version: 1.1.1
|
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
|
30 |
|
31 |
== Changelog ==
|
32 |
|
|
|
|
|
|
|
|
|
33 |
= Google Analytics Version 1.1.0 =
|
34 |
* Tested up to 4.7.2
|
35 |
* Bug fixes
|