Skip to content

mstellaris/betta.io

 
 

Repository files navigation

betta.io

Netlify Status

The site and content for betta.io.

Screenshot

Development

Run npm run start to start the local development server.

Deployment

Deployment of the master branch is automatic via Netlify.

Analytics (GA4)

This site uses gatsby-plugin-google-gtag for Google Analytics 4. Analytics is enabled only when a GA4 Measurement ID is provided via environment variable.

  • Set GATSBY_GA_MEASUREMENT_ID to your GA4 ID (format G-XXXXXXXXXX).
    • Local (temporary): export GATSBY_GA_MEASUREMENT_ID=G-XXXXXXXXXX && npm run start
    • Local (build): GATSBY_GA_MEASUREMENT_ID=G-XXXXXXXXXX npm run build
    • Netlify: Site settings → Build & deploy → Environment → add GATSBY_GA_MEASUREMENT_ID

Privacy defaults

  • IP anonymization enabled (anonymize_ip: true)
  • Respects Do Not Track (respectDNT: true)
  • Excludes the offline shell route from tracking

Robots.txt

The site generates robots.txt via gatsby-plugin-robots-txt.

  • Default policy allows all: User-agent: * and Allow: /.
  • Sitemap is advertised at /sitemap-index.xml.

Security Headers

Security headers are configured in netlify.toml (applied by Netlify):

  • HSTS, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy
  • CSP is currently in Report-Only mode; adjust or enforce as needed
    • Edit the Content-Security-Policy-Report-Only value in netlify.toml
    • Switch to Content-Security-Policy to enforce once validated

License

This library is released under the MIT License.

About

betta.io upgrade

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 60.1%
  • SCSS 36.0%
  • CSS 3.9%