lib/sniffles/sniffers/analytics/google_analytics.rb in sniffles-0.1.2 vs lib/sniffles/sniffers/analytics/google_analytics.rb in sniffles-0.1.3
- old
+ new
@@ -17,10 +17,10 @@
end
end
private
def found?
- match?(/\.google\-analytics\.com|urchinTracker/i)
+ match?(/google\-analytics\.com\/ga\.js|urchinTracker/i)
end
def parse_google_analytics_ua
@output[:ua] = capture(/[\"|\'](UA\-[\d]+\-[\d])[\"|\']/)
end
\ No newline at end of file