mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-21 12:12:44 +01:00
Remova old ga
This commit is contained in:
@@ -18,14 +18,6 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
||||||
|
|
||||||
ga('create', 'UA-61569164-1', 'auto');
|
|
||||||
ga('send', 'pageview');
|
|
||||||
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
|
||||||
@@ -33,7 +25,6 @@
|
|||||||
gtag('config', 'G-H9EVNH8GNZ');
|
gtag('config', 'G-H9EVNH8GNZ');
|
||||||
|
|
||||||
window.bitwiseCmdAnalyticsHandler = function(evt) {
|
window.bitwiseCmdAnalyticsHandler = function(evt) {
|
||||||
ga('send', Object.assign({hitType: 'event'}, evt));
|
|
||||||
gtag('event', evt.eventAction, evt);
|
gtag('event', evt.eventAction, evt);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import "./CookieDisclaimerFooter.css";
|
|||||||
import AppState from "../AppState";
|
import AppState from "../AppState";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { faCaretDown, faCaretUp, faCircleXmark, faCross } from "@fortawesome/free-solid-svg-icons";
|
import { faCaretDown, faCaretUp, faCircleXmark } from "@fortawesome/free-solid-svg-icons";
|
||||||
|
|
||||||
function CookieDisclaimerFooter(props: { appSate: AppState }): JSX.Element {
|
function CookieDisclaimerFooter(props: { appSate: AppState }): JSX.Element {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user