add analytics

This commit is contained in:
lingdocs 2022-09-16 17:46:06 +04:00
parent 2e568ab922
commit a82a85ce30
2 changed files with 2439 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import BookInfoInput from "../components/BookInfoInput";
import DocReceiver from "../components/DocReceiver"; import DocReceiver from "../components/DocReceiver";
import { bookRequest } from "../lib/fetchers"; import { bookRequest } from "../lib/fetchers";
import FormatGuideModal from "../components/FormatGuideModal"; import FormatGuideModal from "../components/FormatGuideModal";
import Script from "next/script";
// TODO: Make Title Required // TODO: Make Title Required
// TODO: Have author field in there // TODO: Have author field in there
@ -52,6 +53,17 @@ const Home: NextPage = () => {
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
</Head> </Head>
<Script
src="https://www.googletagmanager.com/gtag/js?id=G-4L08QX2FXM"
strategy="afterInteractive"
/>
<Script id="google-analytics" strategy="afterInteractive">{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-4L08QX2FXM', { 'anonymize_ip': true });
`}</Script>
<h1 className="mt-3">RTL EPUB Maker 📚</h1> <h1 className="mt-3">RTL EPUB Maker 📚</h1>
<p className="lead mb-4">Easily create EPUB e-book files with proper RTL support</p> <p className="lead mb-4">Easily create EPUB e-book files with proper RTL support</p>
<h4 className="mb-3">Book Content</h4> <h4 className="mb-3">Book Content</h4>

2427
yarn.lock Normal file

File diff suppressed because it is too large Load Diff