Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Fixed GA event.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed May 10, 2018
1 parent 937f5f0 commit 7bc5c67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speedtest-for-digitalocean",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"description": "Run speed tests for all DigitalOcean datacenters faster than ever.",
"homepage": "http://speedtest-do.marcomontalbano.com/",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
var isProd = location.hostname === 'speedtest-do.marcomontalbano.com';
window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date;
ga('create', isProd ? 'UA-50467643-6' : 'UA-50467643-7', 'auto');
ga('create', isProd ? 'UA-50467643-9' : 'UA-50467643-7', 'auto');
ga('send', 'pageview');
})();
</script>
Expand Down
3 changes: 2 additions & 1 deletion src/app/class/Speedtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export default class Speedtest extends SpeedtestDigitalocean {
hitType: 'event',
eventCategory: this.currentTest.name,
eventAction: key,
eventLabel: value
//eventLabel: value,
eventValue: value
});
}

Expand Down

0 comments on commit 7bc5c67

Please sign in to comment.