Skip to content

Instantly share code, notes, and snippets.

@jice-lavocat
jice-lavocat / googleAnalyticsCoinAlert.js
Last active July 31, 2020 21:41 — forked from error454/googleAnalyticsCoinAlert.js
Greasemonkey script that plays a sound every time you get a new active user in google analytics realtime view.
// ==UserScript==
// @name Google Analytics Realtime Alerts
// @namespace http://mobilecoder.wordpress.com
// @version 1.0
// @description Plays a sound when you get a new user, you can change the sound by hosting your own file on dropbox or other web location
// @match https://www.google.com/analytics/web/?hl=en#realtime*
// ==/UserScript==
// Your custom sound goes here
mCoinSound = new Audio("https://dl.dropbox.com/u/7079101/coin.mp3");