Skip to content

Commit

Permalink
feat: add hotjar fix #700
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Apr 9, 2019
1 parent ecc9c22 commit feae6ba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/code-du-travail-frontend/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ export default class MyDocument extends Document {
crossOrigin="anonymous"
src="https://polyfill.io/v3/polyfill.min.js?flags=gated&features=default%2CArray.prototype.find%2CArray.prototype.findIndex%2CObject.setPrototypeOf%2CNumber.isFinite%2Cfetch%2CWeakMap%2CSymbol%2CSymbol.hasInstance%2CSymbol.isConcatSpreadable%2CSymbol.iterator%2CSymbol.unscopables%2CSymbol.toStringTag%2CSymbol.toPrimitive%2CSymbol.split%2CSymbol.search%2CSymbol.species%2CSymbol.replace%2CSymbol.match%2CSet%2CMap"
/>
<script
dangerouslySetInnerHTML={{
__html: `
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:1244076,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');`
}}
/>
</Head>
<body>
<noscript>
Expand Down

0 comments on commit feae6ba

Please sign in to comment.