function App() {
  return (
    <div className="App">
      <ForkMe url='https://github.com/DavidWells/analytics/tree/master/examples/using-perfumejs' />
      <h1>Using perfume.js with analytics</h1>
      <p>Perfume is a tiny, web performance monitoring library that reports field data back to your favorite analytics tool.</p>
      <p>Open the console to see perf metrics sending sent</p>
      <a href="https://zizzamia.github.io/perfume/">Read more about perfume.js</a>
      <br/><br/><br/>
      <div>
        <button onClick={() => analytics.track('buttonClicked', { color: 'blue' })}>
          Track
        </button>
        <button onClick={() => analytics.identify('user-xyz')}>
          Identify
        </button>
        <button onClick={() => analytics.page()}>
          Page View
        </button>
      </div>
    </div>
  )
}
Initialize analytics with perfumejs plugin and include any
third party analytics tool you'd like the perf data to be sent to