With Data Collection, you can run your current analytics solution at the edge, 100% privacy-friendly, and without any data loss, whether it’s Google Analytics, Amplitude or any other analytics tool, and even if it’s your own first party analytics solution.

How does it work?

After creating your project and adding the SDK to your website, Edgee will start capturing all the analytics events at the edge.

First add your analytics technologies to your project. To do this, go to your project > Data Collection, and click on the “Add Component” button. Then select the component you want to add and follow the instructions.

Add your analytics SDK to Edgee and start capturing events at the edge.

Go to your project > Data Collection, then add your first component

Edgee intercepts the HTTP responses from your backend, and looks for the instructions you give it via the SDK. When it finds the instructions, it triggers the analytics events directly at the edge, without having to wait for the client to execute any code.

The first instruction is the presence of the SDK itself

<script id="__EDGEE_SDK__" src="<YOUR_SDK_URL>" async></script>

or in React:

import EdgeeSdk from "react-edgee";

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        {children}
        <EdgeeSdk src={"<YOUR_SDK_URL>"} />
      </body>
    </html>
  );
}

As long as this SDK isn’t installed in your pages, the Edgee proxy doesn’t perform any processing (except for the security services that run on each request).

Once the SDK is added, Edgee automatically captures page events (pageview) at the edge.

You will see in the next pages how to manage the page event, and how to manually trigger other events using Edgee SDK.

Bots

Unlike server-side analytics technology, Edgee is able to detect bots thanks to a proprietary challenge mechanism. Our strength lies in being present at the edge, but also on the client side, thanks to our SDK. This enables us to collect only data from real humans.