Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changes the policy entires query to use eventCategory

 - We were previously using customVar2 (format) which could
   potentialy lead to false positives.

- @gtrogers
  • Loading branch information...
commit 5ae52e522ba2b8229f4f766ca049561560ad1d7e 1 parent c65baec
@gtrogers gtrogers authored
View
2  lib/collectors/insidegov_weekly_policy_entries.rb
@@ -12,7 +12,7 @@ class InsideGovWeeklyPolicyEntries < Base
SITE_KEY = "insidegov"
METRIC = "ga:totalEvents"
DIMENSION = "ga:week,ga:eventAction"
- FILTERS = "ga:customVarValue2==policy;ga:eventLabel==Entry"
+ FILTERS = "ga:eventCategory==IG_policy;ga:eventLabel==Entry"
RESPONSE_TYPE = GoogleAnalytics::InsideGovWeeklyPolicyEntriesResponse
end
end
View
2  spec/unit/config/insidegov_weekly_policy_entries_spec.rb
@@ -35,7 +35,7 @@
end
it "should have filters for entries to policy formats" do
- @p["filters"].should == "ga:customVarValue2==policy;ga:eventLabel==Entry"
+ @p["filters"].should == "ga:eventCategory==IG_policy;ga:eventLabel==Entry"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.