Integrations
Connect CleanClicks seamlessly with third-party analytics and ad platforms to automate data flow and enhance performance.
// Listen for webhook
app.post('/cleanclicks-webhook', (req, res) => {
const cleanedData = req.body;
console.log('Cleaned conversions:', cleanedData.conversions);
res.status(200).send('OK');
});
curl -X POST https://your-webhook-url.com/cleanclicks-webhook \
-H "Authorization: Bearer YOUR_WEBHOOK_SECRET" \
-d '{"conversions": 150, "bot_traffic_removed": 23}'
Overview
CleanClicks integrates with popular analytics and advertising platforms to deliver cleaned traffic data automatically. You can set up connections via the dashboard or use webhooks for custom exports. This ensures accurate data flows to tools like Google Ads, Meta Ads, and GA4 without manual intervention.
Google Ads
Sync cleaned conversion data directly to your Google Ads campaigns.
Meta Ads
Improve ad performance with bot-free traffic insights.
GA4 & Analytics
Link events and send filtered data to your analytics stack.
All integrations require a CleanClicks API key. Generate one in your dashboard under Settings > API Keys.
Advertising Platform Integrations
Use the CleanClicks dashboard to connect ad platforms. Follow these steps for Google Ads and Meta Ads.
Enable Integration
Navigate to Integrations > Google Ads in your CleanClicks dashboard.
Authorize Access
Click "Connect Google Ads" and sign in with your Google account. Grant permissions for Ads API access.
Map Data Fields
Select campaigns and match CleanClicks metrics like cleaned_conversions to Google Ads fields.
Test Sync
Run a test sync to verify data flows correctly.
Enable Integration
Go to Integrations > Meta Ads.
Connect Account
Enter your Meta Business Manager ID and authorize via OAuth.
Configure Pixels
Link your Meta Pixel and select events to clean (e.g., purchases, leads).
Verify
Check the sync log for successful data transmission.
Analytics Tools (GA4 and More)
Link CleanClicks to GA4 or other tools by configuring measurement IDs or API endpoints.
// GA4 Setup - Add to gtag config
gtag('config', 'GA_MEASUREMENT_ID', {
'cleanclicks_api_key': 'YOUR_CLEANCLICKS_API_KEY',
'send_to_cleanclicks': true
});
// Segment Integration
analytics.load('CLEANCLICKS', {
apiKey: 'YOUR_CLEANCLICKS_API_KEY',
cleanTraffic: true
});
Your CleanClicks API key for authentication.
GA4 measurement ID for direct event forwarding.
Custom Data Export with Webhooks
For custom integrations, set up webhooks to push cleaned data to your endpoint.
Configure the webhook URL in your CleanClicks dashboard under Integrations > Webhooks.
Next Steps
Dashboard Setup
Complete your initial dashboard configuration.
Troubleshooting
Common integration issues and solutions.
Monitor sync status in the Integrations dashboard. Data typically updates every 15 minutes.
Last updated today
Built with Documentation.AI