Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

[EN-4135] feat(chat): install crisp widget #329

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ export default class MyDocument extends Document {
async
src={`https://www.googletagmanager.com/gtag/js?id=${process.env.GA_TRACKING_ID}`}
/>
<script
dangerouslySetInnerHTML={{
__html: `
window.$crisp=[];window.CRISP_WEBSITE_ID="26a368b7-ee62-40c8-b796-e64b26fac06d";(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
dangerouslySetInnerHTML={{
__html: `
Expand Down