Domains
Your own domains are needed for tracking links and landings. Without a connected domain the tracking links of Facebook campaigns do not work: the link in the ad goes through your domain, leads to the landing and on into the bot. Each domain is connected in one of two modes. The choice depends on where you keep DNS and who issues the SSL certificate.Manual (CNAME)
You create the CNAME record at your own DNS provider. You issue and maintain the certificate yourself. BotFlow checks the record and activates the domain. If your own proxy or CDN other than Cloudflare sits in front of the domain, BotFlow sees the proxy’s address instead of the visitor’s, and click country, unique clicks, Proxy / VPN and the data sent to Facebook CAPI become inaccurate.
CF API
BotFlow creates the zone and the DNS record through your Cloudflare API token. Cloudflare issues the certificate automatically. The token is connected once in “Settings → Integrations”.
Connecting a domain
Add the domain
Press “Add domain”, enter a root domain (for example,
example.com) or a subdomain (track.example.com) and choose the mode. The CF API mode is available only when a Cloudflare API token is connected.Set up DNS
In Manual mode expand the domain row: the panel shows the exact CNAME record with the Source, Type and Target fields. Create it at your DNS provider. In CF API mode BotFlow creates the record itself; for a new zone the panel tells you the NS servers to set at the domain registrar.
Check the status
Press “Check status”. The domain becomes active once DNS propagates. A CNAME propagates in 5-15 minutes, while changing NS servers at a registrar can take from a few minutes to a day.
Domain statuses
Every domain has one of three statuses.Subdomains are grouped under their root domain. Expand the root’s row to see the subdomains, their statuses and
the DNS instructions.
Cloudflare API token
The CF API mode creates zones and DNS records in your Cloudflare account automatically, so you don’t write every record by hand. For that, connect an API token with limited rights once in “Settings → Integrations”.Create the token
Open
dash.cloudflare.com/profile/api-tokens, press Create Token and choose Custom token.Grant the rights
The token needs permissions to manage zones and DNS:
•
•
•
•
In Account Resources choose
•
Zone / Zone / Read
•
Zone / Zone / Edit
•
Zone / Zone Settings / Edit
•
Zone / DNS / Edit
In Account Resources choose
Include / All accounts, and in Zone Resources Include / All zones.Paste the token
Copy the token and paste it into the field on the integration page. Press “Connect”. The token is used only to manage your domains and is never shown again.
One Cloudflare API token is connected per company. If you disconnect it, the domains already created in CF API
mode stop being managed through the API but remain in your Cloudflare account.
Proxies
The Facebook Conversions API (CAPI) does not accept events sent from server addresses. For conversion events to reach Facebook, the platform sends them through your proxy. A proxy is needed only by campaigns with the Facebook Ads source.Adding a proxy
Press “Add” and fill in the fields.Name
A clear name you will recognise the proxy by in the list. For example,
DE residential #1.Type
HTTP / HTTPS or SOCKS5.Host and port
The proxy address and a port from 1 to 65535.
Login and password
Optional. Fill them in if the proxy requires authorisation.
Checking a proxy
The check button in a proxy row sends a test request and shows the result. It tells you the proxy works before you launch a campaign.A disabled proxy is marked in the list and is not used for sending. The list is filtered by status, and the search
goes by name or host.
What’s next
Tracker: overview
Clicks, conversions, traffic metrics and creating Facebook campaigns.
Postbacks and affiliates
Receiving events from affiliate networks and passing them to Facebook CAPI.
Landings
Telegram clones and “Custom HTML” landings for Facebook traffic.
Team and settings
Roles, tracker access and connecting Cloudflare.