import React, { Component } from 'react' import Page from '../components/Page' import * as gtag from '../lib/gtag' export default class extends Component { state = { message: '' } handleInput = e => { this.setState({ message: e.target.value }) } handleSubmit = e => { e.preventDefault() gtag.event({ action: 'submit_form', category: 'Contact', label: this.state.message }) this.setState({ message: '' }) } render () { return (

This is the Contact page