Skip to main content
Choose Hosted to upload an HTML page or ZIP file. Metricanic publishes the landing in your Cloudflare account. You can use a page you built, exported from a builder or created with an AI tool.

Connect Cloudflare and create a webspace

  1. Open Landings → Create, choose Hosted, then click Connect Cloudflare.
  2. Authorize access in Cloudflare. Return to the editor and choose Cloudflare account.
  3. Select a Webspace, or enter Webspace name and click Create webspace. If you already have webspaces, choose + Create webspace first.
  4. Wait for setup to finish. If Cloudflare asks you to activate R2 storage, enable it and click Retry setup.
Use an account where you can manage hosting and domains. Cloudflare bills usage to that account. See Cloudflare billing and limitations. A webspace groups landings that share domains. Create a separate webspace for a different set of domains or a landing at /.

Prepare and upload a page

Upload one .html or .htm file, or a ZIP with index.html at its root. Include local styles, scripts, images and fonts. Use UTF-8 for text files.
Upload a finished static page. Hosting supports HTML, CSS, JavaScript and assets, without server code or a build step. Before uploading:
  • Use relative links for local files, such as images/product.webp. URLs built in JavaScript are not adjusted to the landing’s path.
  • Remove <base href> and Content Security Policy meta tags.
  • Remove integrity from local stylesheets, including style preloads, so they can load. Keep it for CDN files.
Enter Name, choose Country, and click Choose HTML or ZIP.

Connect offer buttons

Use /click in each offer link:
Turn on Add Direct Tracking and select a Tracking domain. Metricanic adds the script when you publish. It tracks visits and connects /click links to your offers. For buttons added by JavaScript or events sent from the page, see Tracking script functions.

Choose an address and publish

  1. Choose Landing domain and enter Path & parameters, such as /summer/.
  2. To add a hostname, click Connect domain. Enter an unused Subdomain, choose its Zone, and click Connect domain. Wait for it to appear in Landing domain.
  3. Set Landing protection or Block known bots if needed. Click Publish & Save.
  4. Add the published landing and an offer to a campaign’s Landers & Offers path.
  5. Open the campaign’s Tracking link, or Traffic URL for Direct script. Check the visit and offer click in reports.
Cloudflare can take time to activate DNS and HTTPS. Check the published page’s images, styles and buttons before sending traffic. All domains in a webspace serve the same landings. For example, /summer/ opens the same page on each domain. Give each landing a non-overlapping path. A landing at / needs its own webspace. Use separate hostnames for hosting and tracking.

Pass values to the page

Add parameters after ? in Path & parameters. Use Macros for this URL to insert a supported macro:
Use macros in parameter values for Redirect. For Direct script, use the campaign’s generated Traffic URL. Click Save for parameter-only changes.

Landing protection

For a landing reached through Redirect, turn on Landing protection and click Publish & Save. Visitors must enter through a campaign link. No PHP file is needed. The plain page address is blocked, and protected links expire after 10 minutes. Protection applies to HTML. Images, scripts and styles remain accessible. Leave protection off for the first page of Direct script. See Landing protection.

Block known bots

Choose a custom Landing domain, turn on Block known bots, and click Save. The block applies to this landing on all custom domains in its webspace. This blocks verified bots, including search engines, link previews and ad platform crawlers. It does not block other automated traffic. Ad platforms can reject ads if they cannot check the landing.

Edit and restore

Use the arrow beside the main button to choose: Save does not publish an unpublished landing. Click Edit files to change a text file or replace an asset. Click Replace to upload another HTML file or ZIP. The current page stays live until you publish the replacement. Click Download ZIP to get the saved files. The download excludes unpublished edits and a replacement you have just selected. Preview in the list’s context menu opens the published page, including protected pages. Use a campaign’s Tracking link to test visits and clicks. To restore a publication, open Publication history, click Restore, then confirm Restore & publish. The saved files from that publication go live with the current saved address, parameters, tracking domain and protection settings. A connected AI agent with Read and write access can also create and edit landings. See Publish hosted landings.

Change or disconnect a domain

To change the address:
  • Select another connected Landing domain and click Save.
  • To change the path, edit Path & parameters and click Publish & Save.
Campaigns using the landing use the new address. The landing keeps its statistics and campaign connections. Update direct links after a path change. For Direct script, copy the updated Traffic URL to your ads and test it. Before disconnecting a custom domain, move its landings to another domain or unpublish them. Then click the trash icon in Landing domain.

Unpublish or archive

Remove the landing from rotators that use it. Click Unpublish at the bottom of the editor and confirm. The page goes offline, but its files and history remain. Another landing can then use its path. Click Publish & Save to put it online again. To archive a hosted landing, unpublish it first, then choose Archive in Landings. After Restore, review the address and click Publish & Save when you want it online.

Disconnect a Cloudflare account

When creating a landing, open Cloudflare account in Hosting. Click the trash icon beside the account, then confirm Disconnect. The confirmation lists all accounts that share the authorization and will be disconnected. Published pages and Block known bots stay active after disconnection. Cloudflare billing continues. Unpublish pages or turn off Block known bots first if needed. Your webspaces, domains and landings remain. Reconnect the same accounts to manage them again. Use + Connect another account to add a different account.