Skip to content

Commit cd0f312

Browse files
authored
remove custom customer id
1 parent 8ffee8a commit cd0f312

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

desktop-metrics.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<title>Desktop Metrics logger with Google Analytics</title>
66
<script>
77
let gaReady = false;
8-
function installGoogleAnalytics(analyticsID, customUserID) {
9-
if(!analyticsID || !customUserID || gaReady){
8+
function installGoogleAnalytics(analyticsID) {
9+
if(!analyticsID || gaReady){
1010
return ;
1111
}
1212
// ga primer scripts
@@ -31,7 +31,7 @@
3131
async function processRequest(event) {
3232
const payload = event.payload;
3333
if(!gaReady) {
34-
installGoogleAnalytics(payload.analyticsID, payload.customUserID);
34+
installGoogleAnalytics(payload.analyticsID);
3535
}
3636

3737
for(let eventPayload of payload.events) {

0 commit comments

Comments
 (0)