import Script from 'next/script'
import '../style.css'

export default function App({ Component, pageProps }) {
  return (
    <>
      <Script
        src="//cdn.carbonads.com/carbon.js?serve=CWYI623E&placement=wwwreacttours&format=responsive"
        id="_carbonads_js"
      />
      <Component {...pageProps} />
      <Script src="https://www.googletagmanager.com/gtag/js?id=G-ZQ9SP2F9PW" />
      <Script id="google-analytics">
        {`
          window.dataLayer = window.dataLayer || [];
          function gtag(){dataLayer.push(arguments);}
          gtag('js', new Date());
 
          gtag('config', 'G-ZQ9SP2F9PW');
        `}
      </Script>
    </>
  )
}
