Skip to content

Commit e799977

Browse files
committed
Fix the tracking code for local dev
1 parent a0addef commit e799977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Merci.";
132132

133133
// try to get an estimate of the number of emails sent
134134
// nothing more than that is tracked
135-
ga && ga('send', 'event', 'hacking', 'mails', 'sent', lastRepresentativeEmails.length);
135+
window.ga && window.ga('send', 'event', 'hacking', 'mails', 'sent', lastRepresentativeEmails.length);
136136

137137
// simulate click
138138
var event = document.createEvent('HTMLEvents');

0 commit comments

Comments
 (0)