diff --git a/app/black_box/google_analytics.rb b/app/black_box/google_analytics.rb index d81a9045a..0c602977d 100644 --- a/app/black_box/google_analytics.rb +++ b/app/black_box/google_analytics.rb @@ -24,7 +24,7 @@ class GoogleAnalytics def get_feed_impression_info requests = @article_ids.map do |id| - make_report_request("ga:eventAction=~^featured-feed-impression,ga:eventLabel=~^articles-#{id}", + make_report_request("ga:eventAction=~featured-feed-impression,ga:eventLabel==articles-#{id}", "ga:totalEvents") end results = fetch_all_results(requests) @@ -33,7 +33,7 @@ class GoogleAnalytics def get_feed_click_info requests = @article_ids.map do |id| - make_report_request("ga:eventAction=~^featured-feed-click,ga:eventLabel=~^articles-#{id}", + make_report_request("ga:eventAction=~featured-feed-click,ga:eventLabel==articles-#{id}", "ga:totalEvents") end results = fetch_all_results(requests)