Version Description
Download this release
Release Info
Developer | yuvalo |
Plugin | WP Google Analytics Events |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.4.1
- css/style.css +5 -0
- ga-scroll-event.php +3 -3
- includes/admin.php +6 -1
- js/ga-scroll-events.js +1 -1
- readme.txt +3 -1
css/style.css
CHANGED
@@ -13,6 +13,11 @@
|
|
13 |
#ga_main li {
|
14 |
list-style-type: none;
|
15 |
}
|
|
|
|
|
|
|
|
|
|
|
16 |
.ga_events_sidebar {
|
17 |
float:right;
|
18 |
width: 250px;
|
13 |
#ga_main li {
|
14 |
list-style-type: none;
|
15 |
}
|
16 |
+
#ga_mainwrap{
|
17 |
+
width: 100%;
|
18 |
+
float: left;
|
19 |
+
}
|
20 |
+
|
21 |
.ga_events_sidebar {
|
22 |
float:right;
|
23 |
width: 250px;
|
ga-scroll-event.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Google Analytics Events
|
4 |
Plugin URI: http://wpflow.com
|
5 |
Description: Adds the Google Analytics code to your website and enables you to send events on scroll or click.
|
6 |
-
Version: 2.4
|
7 |
Author: Yuval Oren
|
8 |
Author URI: http://wpflow.com
|
9 |
License: GPLv2
|
@@ -81,7 +81,7 @@ add_action('init','ga_events_scripts');
|
|
81 |
|
82 |
function ga_events_scripts() {
|
83 |
wp_enqueue_script('jquery');
|
84 |
-
wp_enqueue_script('scrolldepth',plugins_url( '/js/ga-scroll-events.js', __FILE__) , array('jquery'), '2.4', false);
|
85 |
}
|
86 |
|
87 |
|
@@ -191,7 +191,7 @@ function ga_events_action_link( $actions, $plugin_file ) {
|
|
191 |
$plugin = plugin_basename(__FILE__);
|
192 |
if ($plugin == $plugin_file) {
|
193 |
$upgrade = array('upgrade' => '<a href="https://wpflow.com/upgrade/">' . __('Upgrade', 'General') . '</a>');
|
194 |
-
$settings = array('settings' => '<a href="?page=wp-google-analytics-events">' . __('Settings', 'General') . '</a>');
|
195 |
|
196 |
$actions = array_merge($upgrade, $actions);
|
197 |
$actions = array_merge($settings, $actions);
|
3 |
Plugin Name: WP Google Analytics Events
|
4 |
Plugin URI: http://wpflow.com
|
5 |
Description: Adds the Google Analytics code to your website and enables you to send events on scroll or click.
|
6 |
+
Version: 2.4.1
|
7 |
Author: Yuval Oren
|
8 |
Author URI: http://wpflow.com
|
9 |
License: GPLv2
|
81 |
|
82 |
function ga_events_scripts() {
|
83 |
wp_enqueue_script('jquery');
|
84 |
+
wp_enqueue_script('scrolldepth',plugins_url( '/js/ga-scroll-events.js', __FILE__) , array('jquery'), '2.4.1', false);
|
85 |
}
|
86 |
|
87 |
|
191 |
$plugin = plugin_basename(__FILE__);
|
192 |
if ($plugin == $plugin_file) {
|
193 |
$upgrade = array('upgrade' => '<a href="https://wpflow.com/upgrade/">' . __('Upgrade', 'General') . '</a>');
|
194 |
+
$settings = array('settings' => '<a href="admin.php?page=wp-google-analytics-events">' . __('Settings', 'General') . '</a>');
|
195 |
|
196 |
$actions = array_merge($upgrade, $actions);
|
197 |
$actions = array_merge($settings, $actions);
|
includes/admin.php
CHANGED
@@ -20,6 +20,7 @@ function ga_events_settings_page() {
|
|
20 |
|
21 |
?>
|
22 |
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
|
|
23 |
<div id="ga_main" class="wrap">
|
24 |
<?php screen_icon( 'plugins' ); ?>
|
25 |
<h2>GA Scroll Events Plugin</h2>
|
@@ -100,7 +101,11 @@ function ga_events_settings_page() {
|
|
100 |
</table>
|
101 |
|
102 |
</div>
|
103 |
-
<?php }
|
|
|
|
|
|
|
|
|
104 |
|
105 |
|
106 |
<?php
|
20 |
|
21 |
?>
|
22 |
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
23 |
+
<div id="ga_mainwrap">
|
24 |
<div id="ga_main" class="wrap">
|
25 |
<?php screen_icon( 'plugins' ); ?>
|
26 |
<h2>GA Scroll Events Plugin</h2>
|
101 |
</table>
|
102 |
|
103 |
</div>
|
104 |
+
<?php }
|
105 |
+
?>
|
106 |
+
</div> <!-- END #ga_mainwrap ->
|
107 |
+
<?php
|
108 |
+
} ?>
|
109 |
|
110 |
|
111 |
<?php
|
js/ga-scroll-events.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* WP Googel Analytics Events | v2.4
|
3 |
* Copyright (c) 2013 Yuval Oren (@yuvalo)
|
4 |
* License: GPLv2
|
5 |
*/
|
1 |
/*!
|
2 |
+
* WP Googel Analytics Events | v2.4.1
|
3 |
* Copyright (c) 2013 Yuval Oren (@yuvalo)
|
4 |
* License: GPLv2
|
5 |
*/
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: yuvalo, claconsay
|
3 |
Tags: analytics, google, events, ga, google analytics, tracking
|
4 |
Tested up to: 4.7.1
|
5 |
-
Stable tag: 2.4
|
6 |
License: GPLv2
|
7 |
Requires at least: 3.0
|
8 |
|
@@ -81,6 +81,8 @@ http://www.youtube.com/watch?v=UP8mfuV9huI
|
|
81 |
2. Google Analytics real time events screenshot-2.png
|
82 |
== Changelog ==
|
83 |
= Version 2.4 =
|
|
|
|
|
84 |
1. Added tooltips
|
85 |
2. Buttons for the plugins page
|
86 |
= Version 2.3 =
|
2 |
Contributors: yuvalo, claconsay
|
3 |
Tags: analytics, google, events, ga, google analytics, tracking
|
4 |
Tested up to: 4.7.1
|
5 |
+
Stable tag: 2.4.1
|
6 |
License: GPLv2
|
7 |
Requires at least: 3.0
|
8 |
|
81 |
2. Google Analytics real time events screenshot-2.png
|
82 |
== Changelog ==
|
83 |
= Version 2.4 =
|
84 |
+
1. Fix for a permissions problem when clicking the settings button
|
85 |
+
= Version 2.4 =
|
86 |
1. Added tooltips
|
87 |
2. Buttons for the plugins page
|
88 |
= Version 2.3 =
|