Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change snippet impressions tracking to use GET.

  • Loading branch information...
commit dc2082a7a82a9d69623c2a716532cfd810963515 1 parent cf280ac
Michael Kelly Osmose authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  standard_js/script.js
2  standard_js/script.js
View
@@ -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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.