Browse files

Configuration for insidegov engagement detail

  • Loading branch information...
1 parent dd15a75 commit 037919e194003479cbf300259525611fd76e319b @maxfliri maxfliri committed Jan 22, 2013
Showing with 19 additions and 0 deletions.
  1. +19 −0 lib/collectors/insidegov_weekly_content_engagement_detail.rb
View
19 lib/collectors/insidegov_weekly_content_engagement_detail.rb
@@ -0,0 +1,19 @@
+require_relative "../response/weekly_content_engagement_detail_response"
+
+module GoogleAnalytics
+ module Config
+ class InsideGovWeeklyContentEngagementDetail < Base
+ include WeeklyCollector
+
+ GOOGLE_ANALYTICS_URL_ID = "ga:53872948"
+ AMQP_TOPIC = "google_analytics.content_engagement.weekly"
+ SITE_KEY = "govuk"
+
+ DIMENSION = DIMENSION + ",ga:eventCategory,ga:eventAction,ga:eventLabel"
+ METRIC = "ga:totalEvents"
+ CATEGORY_PREFIX = "IG_"
+ FILTERS= "ga:eventCategory=~^#{CATEGORY_PREFIX}.*"
+ RESPONSE_TYPE = GoogleAnalytics::WeeklyContentEngagementDetailResponse
+ end
+ end
+end

0 comments on commit 037919e

Please sign in to comment.