Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Commit

Permalink
Fix google event tracking value
Browse files Browse the repository at this point in the history
  • Loading branch information
Duarte Henriques committed Jan 25, 2013
1 parent d489ab5 commit 6c24f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/analytical/modules/google.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def init_javascript(location)

def event(*args) # name, options, callback
<<-JS.gsub(/^ {10}/, '')
_gaq.push(['_trackEvent', 'Event', name, options && options.value]);
_gaq.push(['_trackEvent', 'Event', name, '', options && options.value]);
JS
end

Expand Down

0 comments on commit 6c24f75

Please sign in to comment.