Skip to content

Commit f1a2f5f

Browse files
committed
Merge branch 'feature/ga-update'
2 parents 3986584 + 9fa75a4 commit f1a2f5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require("path");
33
const fetch = require("electron-fetch").default;
44
const Analytics = require("electron-google-analytics").default;
55

6-
const analytics = new Analytics("UA-37217525-9");
6+
const analytics = new Analytics("UA-37217525-11");
77

88
let mainWindow;
99

@@ -173,8 +173,9 @@ function createWindow() {
173173
}, 10000);
174174

175175
analytics
176-
.pageview("https://ericwstout.com", "/android-messages", "Android Messages")
176+
.event("Application", "launched", { evLabel: "Launched", evValue: 1 })
177177
.then(response => {
178+
console.log(response);
178179
return response;
179180
})
180181
.catch(err => {

0 commit comments

Comments
 (0)