Skip to content

Commit

Permalink
fixes #3. bumping version
Browse files Browse the repository at this point in the history
;
q
;q
  • Loading branch information
padams committed Dec 2, 2022
1 parent ae79f43 commit 97bb21c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ License: GPLv3
License URI: http://www.gnu.org/licenses/gpl.html
Requires at least: 5.2.0
Tested up to: 6.0.2
Stable tag: 2.1.4
Stable tag: 2.1.5

The official plugin for integrating Open Web Analytics with WordPress based web sites and applications.

Expand Down
14 changes: 6 additions & 8 deletions owa-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Plugin URI: http://www.openwebanalytics.com
Description: This plugin enables Wordpress blog owners to use the Open Web Analytics Framework.
Author: Peter Adams
Version: 2.1.4
Version: 2.1.5
Author URI: http://www.openwebanalytics.com
*/

Expand Down Expand Up @@ -916,15 +916,13 @@ function trackFeedRequest() {

if ( $owa ) {

$event = $owa->makeEvent();
// set event type
$event->setEventType( 'base.feed_request' );
// determine and set the type of feed
$event->set( 'feed_format', esc_attr( get_query_var( 'feed' ) ) );
$event->set( 'feed_subscription_id', esc_attr( get_query_var( $this->getOption( 'feed_subscription_param' ) ) ) );
//$event->set( 'feed_subscription_id', $_GET['owa_sid'] );
$feed_format = esc_attr( get_query_var( 'feed' ) );
$feed_subscription_id = esc_attr( get_query_var( $this->getOption( 'feed_subscription_param' ) ) );
// track
$owa->trackEvent( $event );
if (method_exists( $owa, 'trackSyndicationFeed') ) {
$owa->trackSyndicationFeed( $feed_format, $feedsyndication_id );
}
}
}
}
Expand Down

0 comments on commit 97bb21c

Please sign in to comment.