Integrations

Learn how to integrate TollBit with various CDN and cloud platforms for analytics and bot paywall.

Integrations

We provide integrations with a variety of different platforms to enable analytics and bot forwarding to your TollBit subdomain.

Integrating Analytics with TollBit

We provide a way for you to forward logs to our platform so that we can provide analytics on bot traffic and more. This provides a great way to consolidate your logs and gain fast insights about what your bot traffic looks like. It is essential that the logs forwarded to us are server side logs from your CDN/edge, as client side javascript plugins are only triggered if the javascript is run, which most bots do not do. Server side logs will ensure that we have the cleanest view of the traffic hitting your site.

Setting up Bot Paywall with TollBit

Once you have TollBit set up for your website, you are now able to set up bot deterrence settings on your existing cloud cybersecurity platform to forward known bot traffic to your new tollbit subdomain.

At a high level, you are simply modifying your existing bot blocking solution to, instead of returning an error response if it detects a bad bot, to instead forward that traffic over to us through your tollbit subdomain.

The example solutions we provide here assume that you currently do not have bot detection and blocking in place. It should be straightforward to use these examples to understand how you can update your current blocking solutions to instead forward detected bots to your tollbit subdomain. Forwarded bots will see a message like the following:

{
  "message": "You are not authorized to access this content without a valid TollBit Token. Please follow this URL to find out more.",
  "url": "https://tollbit.com"
}

Available Integrations

Choose your platform below to view detailed integration instructions. Each integration guide includes step-by-step instructions for setting up both analytics and bot paywall features.

CDN & Edge Platforms

  • Fastly - CDN integration with UI-based setup and VCL script options
  • CloudFlare - Worker-based integration available for all plans (Free, Pro, Business, Enterprise)
  • Akamai - DataStream 2 for analytics and Cloudlets for bot paywall
  • Vercel - Log drains for analytics and WAF rules for bot paywall

Cloud Providers

  • Amazon (AWS) - ALB, CloudFront, and WAF integration options
  • Google (GCP) - Cloud Load Balancer for analytics and Cloud Armor for bot paywall
  • Microsoft (Azure) - Front Door integration for both analytics and bot paywall

Security & Platform Integrations

  • Datadome - Bot paywall integration (analytics via other methods)
  • WordPress VIP - Platform integration for bot paywall
  • Imperva - Log forwarding and bot paywall configuration

Other Methods

  • Other Methods - Log sink API endpoint and file storage (S3, R2, GCS) options