Skip to content

Commit

Permalink
Fixing measurement protocol breakage on random installs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Huereca committed Nov 3, 2017
1 parent 68878af commit a57704c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 28 deletions.
35 changes: 9 additions & 26 deletions README.txt
Expand Up @@ -2,8 +2,8 @@
Contributors: ronalfy, bigwing, nmarks
Tags: gravity forms, google analytics, google tag manager, event tracking
Requires at least:4.0
Tested up to: 4.8
Stable tag: 2.0.5
Tested up to: 4.9
Stable tag: 2.0.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -24,7 +24,7 @@ Looking for help setting things up? [Read Our Setup Guide](https://bigwing.com/n

= Minimum Requirements =
- PHP 5.3+
- Gravity Forms 1.8.20+
- Gravity Forms 2.0+
- Google Analytics Universal Analytics
- Google Tag Manager (optional)

Expand All @@ -47,7 +47,7 @@ For payment based forms, you can leave the value blank to convert using the tota

= Minimum Requirements =
- PHP 5.3+
- Gravity Forms 1.8.20+
- Gravity Forms 2.0+

= Using The WordPress Dashboard =

Expand Down Expand Up @@ -98,6 +98,10 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra

== Changelog ==

= 2.0.7 =
* Released 2017-11-03
* Bug fix: events were not being sent using the measurement protocol on some installations

= 2.0.5 =
* Released 2017-10-17
* Bug fix: events were not being sent using the measurement protocol
Expand Down Expand Up @@ -200,26 +204,5 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra

== Upgrade Notice ==

= 2.0.5 =
= 2.0.7 =
A fix to the measurement protocol. Please verify your conversions.

= 2.0.3 =
Numerous enhancements, including pagination tracking. See the Changelog for more information.

= 2.0.1 =
Numerous enhancements, including pagination tracking. See the Changelog for more information.

= 1.7.3 =
Bugfix - Some users were experiencing PHP fatal errors upon form submission. Reverting to previously used library.

= 1.7.1 =
Removing SSL requirement. Needs more testing.

= 1.7.0 =
Updates to measurement protocol. Friendly notices for incompatible PHP versions and no UA codes.

= 1.6.5 =
Ability to add multiple UA codes in the feed settings

= 1.6.4 =
WordPress 4.3 compatibility and better internationalization.
2 changes: 1 addition & 1 deletion gravity-forms-event-tracking.php
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Gravity Forms Event Tracking
* Plugin URI: https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/
* Description: Add Google Analytics event tracking to your Gravity Forms with ease.
* Version: 2.0.5
* Version: 2.0.7
* Author: Ronald Huereca
* Author URI: https://mediaron.com
* Text Domain: gravity-forms-google-analytics-event-tracking
Expand Down
2 changes: 1 addition & 1 deletion includes/GFGAET_Measurement_Protocol.php
Expand Up @@ -73,7 +73,7 @@ public function send( $ua_code ) {
$payload = add_query_arg( $mp_body, $this->endpoint );

// Perform the POST
$response = wp_safe_remote_get( $payload );
$response = wp_safe_remote_get( esc_url_raw( $payload ) );
}


Expand Down

0 comments on commit a57704c

Please sign in to comment.