← Back
Connect Your Akamai Website to Agent & LLM Analytics
Overview
This integration uses Akamai DataStream 2 to send analytics events to Dark Visitors from your Akamai CDN. Please contact us if you need help getting set up.
Step 1: Create a DataStream
- Sign in to Akamai Control Center
- Navigate to DataStream in the sidebar
- Click Create a stream
- Select your property and click Next
Step 2: Configure Your Data Set
Select the following fields for your data set:
- Log information
Request time
- Message exchange data
Request hostRequest methodRequest pathUser-AgentClient IP
- Request header data
Referer
Step 3: Configure the Destination
- From the Destination dropdown, select Custom HTTPS
- For the Display Name, choose something like
Dark Visitors Analytics - For Authentication, select BASIC
- Enter this Endpoint URL:
https://api.darkvisitors.com/logs/akamai
- Navigate to the Dark Visitors Projects page and open your project
- Copy your access token from the Settings page
- For Username, enter something like your company name (this field is not important)
- For Password, paste your access token
- Check Send compressed data
- Select JSON as the log format
- Choose 30 seconds as the push frequency
- Click Save stream
Step 4: Activate the Stream
- After creating the stream, click Proceed to Property Manager and select your property
- Click Edit a new version
- Navigate to Property Configuration Settings
- From the + Behavior dropdown, select Standard property behavior
- Search for DataStream and click Insert Behavior
- In the DataStream section, select DataStream 2 from the Stream Version dropdown
- Toggle Enable to On
- Select your stream in the Stream Name dropdown
- Set the sample rate to 100
Step 5: Configure Log Delivery
- In Property Manager, select Log Delivery from the sidebar
- Enable:
- Log Host Header
- Log Referer Header
- Log User-Agent Header
- Save the configuration and activate the new version
Step 6: Test Your Integration
- Navigate to the Projects page
- Select your project
- Click Settings
- Click Send a Test Visit
- Click Realtime
If your website is correctly connected, you should see visits from the Dark Visitor agent in the realtime timeline within a few minutes.