mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-09-01 08:17:16 +02:00
update some other logging stuff
Some checks are pending
Docker - learnGitBranching image / build-and-push-image (push) Waiting to run
Some checks are pending
Docker - learnGitBranching image / build-and-push-image (push) Waiting to run
This commit is contained in:
parent
f2459edc04
commit
3b6a54b5de
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
||||||
|
|
||||||
var log = function(category, action, label) {
|
var log = function(category, action, label) {
|
||||||
window._gaq = window._gaq || [];
|
window.gtag = window.gtag || function() {};
|
||||||
window._gaq.push(['_trackEvent', category, action, label]);
|
window.gtag('event', action, {
|
||||||
|
'event_category': category,
|
||||||
|
'event_label': label
|
||||||
|
});
|
||||||
//console.log('just logged ', [category, action, label].join('|'));
|
//console.log('just logged ', [category, action, label].join('|'));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue