add analytics
This commit is contained in:
parent
2e568ab922
commit
a82a85ce30
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue