Skip to main content

Connecting to Traffic Analytics using Cloudflare Workers

Instructions on connecting to traffic analytics using Cloudflare Workers

Written by Alp Aysan
Updated over 4 months ago

Step 1: Access Traffic Analytics

Navigate to Traffic Analytics in your Cognizo dashboard and select Cloudflare Workers.


Step 2: Begin Deployment

On the setup page, click the "Deploy to Cloudflare" button to start the deployment process. Alternatively, you can deploy by clicking the below:
​


Step 3: Configure Your Deployment

Complete the following configuration steps:

  1. Connect your Git account when prompted

  2. Important: Select "Create private Git repository"

  3. Copy the environment variables provided by Cognizo

  4. Paste the environment variables into the designated fields

  5. Click "Create and deploy"
    ​


Step 4: Access Your Project

Once the deployment completes successfully, click "Continue to project" to proceed to your Cloudflare Workers dashboard.


Step 5: Configure Domain Routes

  1. Navigate to Settings in your Cloudflare Workers project

  2. Click "+Add" in the Domains & Routes section

  3. Select "Route" as the option type

  4. Enter your zone and route information

  5. Critical: Set Failure mode to "Fail open (proceed)"


Step 6: Verify Setup

Return to Cognizo and click "Verify" to complete your setup and confirm the integration is working correctly.

Did this answer your question?