Skip to content

Commit

Permalink
Change snippet impressions tracking to use GET.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kelly committed Jun 20, 2012
1 parent cf280ac commit dc2082a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard_js/script.js
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit dc2082a

Please sign in to comment.