Skip to content

Commit

Permalink
Merge pull request #4 from skimcom/feature/add-guid
Browse files Browse the repository at this point in the history
Always send guid=ON
  • Loading branch information
jgallen23 committed Dec 11, 2012
2 parents c67167b + fbef890 commit 285f5ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ga.js
Expand Up @@ -26,6 +26,7 @@ GoogleAnalytics.prototype._makeRequest = function(obj, cb) {
var today = new Date().getTime().toString();
obj.utmac = this.ua;
obj.utmn = today;
obj.guid = "ON";
obj.utmv = "1";
obj.utmr= "-";
obj.utmcc = "__utma="+userId+"."+Math.round(Math.random()*1000000)+"."+today+"."+today+"."+today+".3; __utmz="+userId+"."+today+".1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);";
Expand Down

0 comments on commit 285f5ca

Please sign in to comment.