Permalink
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...
1 parent c65baec commit 5ae52e522ba2b8229f4f766ca049561560ad1d7e @gtrogers gtrogers committed Dec 18, 2012
@@ -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
@@ -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

0 comments on commit 5ae52e5

Please sign in to comment.