Skip to content

Commit 9e185cd

Browse files
author
anhnhu
committed
#: add code send log code
1 parent 08fb82f commit 9e185cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/assets/js/frontend.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
};
1313

1414
const sendEventGa = (category, link=null) => {
15-
console.log('sendEventGa', category)
15+
console.log('sendEventGa', category);
16+
gtag('event', category);
1617
if (link) {
1718
window.location.href = link;
1819
}

0 commit comments

Comments
 (0)