Skip to content

Commit

Permalink
feat: remove plausible, add chat
Browse files Browse the repository at this point in the history
  • Loading branch information
darraghoriordan committed Sep 18, 2023
1 parent abf6bbd commit c2b4075
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions apps/frontend/src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Head, Html, Main, NextScript } from "next/document";
import * as React from "react";
import Script from "next/script";

export default function Document(props: any) {
return (
Expand All @@ -18,12 +19,14 @@ export default function Document(props: any) {
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lexend:wght@400;500&display=swap"
/>
<script
defer
data-domain="usemiller.dev"
data-api="/plaus/api/event"
src="/plaus/js/script.js"
></script>
<Script type="text/javascript">
{`window.$crisp=[];
window.CRISP_WEBSITE_ID="0c58d997-a702-4b2d-86be-e84db144747c";
(function(){d=document;s=d.createElement("script");
s.src="https://client.crisp.chat/l.js";
s.async=1;d.getElementsByTagName("head")[0].appendChild(s);
})();`}
</Script>{" "}
</Head>
<body>
<Main />
Expand Down

0 comments on commit c2b4075

Please sign in to comment.