Skip to content

Commit

Permalink
chore: add gtag and correct clipboard copy value for installation (#50)
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Gupta <[email protected]>
  • Loading branch information
nehagup authored Jul 1, 2024
1 parent b566973 commit c116470
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default function RootLayout({ children, metadata }: RootLayoutProps) {
`,
}}
/>
<script dangerouslySetInnerHTML={{__html:`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P7DBR4PH');`,}}></script>
<script
dangerouslySetInnerHTML={{
__html: `
Expand Down Expand Up @@ -76,6 +77,14 @@ export default function RootLayout({ children, metadata }: RootLayoutProps) {
<script type="text/javascript" id="hs-script-loader" async defer src="//js-na1.hs-scripts.com/43912677.js"></script>
</head>
<body className={`${inter.variable} font-inter antialiased bg-white text-gray-900 tracking-tight`}>
<noscript>
<iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-P7DBR4PH"
height="0"
width="0"
style={{ display: 'none', visibility: 'hidden' }}
/>
</noscript>
<div className="flex flex-col overflow-hidden supports-[overflow:clip]:overflow-clip">
<Header />
{children}
Expand Down
2 changes: 1 addition & 1 deletion components/installation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Installation = () => {
switch (index) {
case 0:
codeToCopy =
"curl -O https://raw.githubusercontent.com/keploy/keploy/main/keploy.sh && source";
"curl --silent -O -L https://keploy.io/install.sh && source install.sh";
break;
case 1:
codeToCopy = "keploy record -c CMD_TO_RUN_APP";
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c116470

Please sign in to comment.