React merge metrics

A library to help you pass down properties, dimensions, whatever you want to call them to whatever nested events you want to send - to whatever analytics service you use.

Events with more data

Your react app is deeply nested, and there are properties you will want to track that you don't want to pass down as props.

<App />
  <Auth>
    <Router>
      <Route>
        /* ... */
        <button 
          onClick={() => track({
            /** 
             * Information from...
             * Some cookie from <App />
             * The user in <Auth />
             * The page and slug from <Route />
             * ... and more
             */
          })}
        >
          Submit
        </button>
      </Route>
    </Router>
  </Auth>
</App>