Skip to content

Commit

Permalink
chore(): optimize performance for SEO pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Hellemans authored and Nick Hellemans committed Oct 18, 2023
1 parent 1ae7693 commit 834fc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const MyApp = ({ Component, pageProps }: AppPropsWithLayout) => {
/>
<Script
id="intercom_2"
data-partytown-config
strategy="lazyOnload"
dangerouslySetInnerHTML={{
__html: `
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/yfwvlb21';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
Expand Down

1 comment on commit 834fc32

@vercel
Copy link

@vercel vercel bot commented on 834fc32 Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.