text: require("dotenv").config({
    path: `.env`,
  })
  module.exports = {
    siteMetadata: {
      title: `Collin & Kirk Optometrists`,
      description: `Your local small business optometrists. We provide professional personalised eye care using state of the art equipment. Book an eye test online today.`,
      author: `@kirky1423`,
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      `gatsby-plugin-styled-components`,
      {
        resolve: `gatsby-source-contentful`,
        options: {
          spaceId: process.env.CONTENTFUL_SPACE_ID,
          accessToken: process.env.CONTENTFUL_TOKEN,
        },
      },
      {
        resolve: `gatsby-plugin-google-gtag`,
        options: {
          trackingIds: [
            process.env.GA_TRACKING_ID,
            //"AW-CONVERSION_ID", // Google Ads / Adwords / AW
            //"DC-FLOODIGHT_ID", // Marketing Platform advertising products (Display & Video 360, Search Ads 360, and Campaign Manager)
          ],
          gtagConfig: {
            // optimize_id: "OPT_CONTAINER_ID",
            anonymize_ip: true,
            cookie_expires: 0,
          },
          pluginConfig: {
            head: true,
          },
        },
      },
      // `gatsby-plugin-graphql-codegen`,
      `gatsby-plugin-typegen`,
      `gatsby-plugin-image`,
      {
        resolve: `gatsby-plugin-typography`,
        options: {
          pathToConfigModule: `src/utils/typography`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `colin-and-kirk`,
          short_name: `colin-and-kirk-optometrists`,
          start_url: `/`,
          background_color: `#FFFFFF`,
          theme_color: `#FFFFFF`,
          display: `minimal-ui`,
          icon: `src/images/icon.png`, // This path is relative to the root of the site.
        },
      },
      `gatsby-plugin-offline`,
    ],
  }
  