Permalink
Browse files

Change snippet impressions tracking to use GET.

  • Loading branch information...
1 parent cf280ac commit dc2082a7a82a9d69623c2a716532cfd810963515 @Osmose Osmose committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 standard_js/script.js
View
2 standard_js/script.js
@@ -33,7 +33,7 @@ function send_impression(id) {
if (Math.random() <= sample_rate) {
var r = XMLHttpRequest();
- r.open('POST', url + '?snippet_name=' + id);
+ r.open('GET', url + '?snippet_name=' + id);
r.send();
}
}

0 comments on commit dc2082a

Please sign in to comment.