Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
Merge pull request #294 from muffinresearch/dont-filter-qstring-for-t…
Browse files Browse the repository at this point in the history
…racking

Add back in tracking of query-string
  • Loading branch information
muffinresearch committed Sep 19, 2013
2 parents ced6b9d + 4ae0e58 commit 5f6620c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions media/js/lib/tracking.js
@@ -1,6 +1,3 @@
// Note: if updating this code be aware that currently webpay is not tracking
// the query string. See: get_url().

define('lib/tracking', ['settings'], function(settings) {

var enabled = settings.tracking_enabled;
Expand Down Expand Up @@ -44,7 +41,7 @@ define('lib/tracking', ['settings'], function(settings) {
}

function get_url() {
return window.location.pathname;
return window.location.pathname + window.location.search;
}

function actionWrap(func) {
Expand Down

0 comments on commit 5f6620c

Please sign in to comment.