Connecting to Sites on Tilda

Connecting to Sites on Tilda

You can connect sites on Tilda to AlterCPA and use them as a traffic source. Tilda sites support sending the order form together with the cart, and traffic analysis by Flow. Conversion-optimization pixels aren’t supported on Tilda’s end.

Preparing the Offer

Before you start working with the offer, you need to prepare it. In the offer’s technical settings, enable support for the Flow’s symbolic code.

If you don’t plan to accept shopping cart contents, just skip the next step.

  1. In the offer’s main settings, enable support for nested products.
  2. Create the same products in the offer as the ones used on your Tilda site.
  3. For each product, add a parameter named tilda with the value of the product’s SKU from Tilda. Instead of adding parameters, you can simply enter the SKU in the product settings field of the same name.

Important! SKUs must not repeat — you can’t create two different products with the same SKU.

Connecting a Site via Redirect

The Tilda site needs to be added to the offer as a redirect. If you’re just an affiliate, or you’re working with AlterCPA Moe, skip this step.

Adding a redirect site

Go to the “Sites” section of the selected offer. In the drop-down menu, instead of “Landing”, choose “Redirect”, and in the URL field, enter the address of the future site. This site’s URL should look like r.domain.com/offer-name, where r.domain.com is your site storage domain, and offer-name is a unique symbolic identifier for the site. This identifier can consist of lowercase Latin letters, digits, and a hyphen. It must not repeat across other sites, even if they use a different domain.

Redirect URL

In the Redirect URL field, enter an address like this:

https://tilda-site.com/?utm_content={id}

Where tilda-site.com is replaced with your Tilda site’s address. You can add several redirect sites pointing to nested pages by also adding the ?utm_content={id} tail to them. You can also enable deeplink support in the offer. Use utm_content={id} as the parameter list.

Preparing the Site in Tilda

The connection is made through a webhook. Webhooks are configured in the form management section (Sites – Edit site – Forms – Add WebHook). Enter the link in the Webhook URL field. Check the box “Send product data in the order as an array”. Click “Save” and “Connect the service to all forms on the site”. In the webhook, replace domain.com with your affiliate network’s domain.

Webhook for the Administrator

If you’re planning to connect the site to an offer and set up a redirect in the previous step, use a webhook like this. For the token, replace 123-abcd with the value of the “Token” parameter from the site you created.

https://domain.com/api/connect/tilda.json?token=123-abcd

Webhook for Companies on AlterCPA Moe

If you’re connecting a site for your affiliates in AlterCPA Moe, use a webhook like this. For the ID, instead of 12-abc, use the API ID and API key of any administrator in your company.

https://api.cpa.moe/connect/tilda.json?id=12-abc

Don’t forget to hand out the codes from the “Traffic Sources” subsection of the “Traffic” section to your affiliates. They need to specify them in the utm_term parameter when sending traffic.

Webhook for Affiliates

If you plan to use the site on your own and send traffic from it as a regular affiliate, use a webhook like this. For the ID, instead of 12-abc, use your own API ID and API key from your profile.

https://domain.com/api/connect/tilda.json?id=12-abc

Step-by-Step Webhook Setup Guide

Go to edit your site.
Step 1. Edit site
Open “Site settings”.
Step 2. Site settings
Open the “Forms” section and choose WebHook from the list of services (closer to the bottom of the page).
Step 3. Forms - Webhook
Enter the URL you chose in the previous step of the instructions.
Step 4. Enter the URL
Open the webhook settings and set products to be sent as an array.
Step 5. Sending products as an array
Save the settings and add the webhook to all forms on the site.
Step 6. Add to forms
Important! After adding the webhook, don’t forget to republish the site! Without publishing, the webhooks will stay inactive!

Sending Traffic Manually

Sometimes using redirects in an ad campaign isn’t possible, and a direct link is needed instead. You can send traffic using a link like this:

https://tilda-site.com/?utm_term=ABCD-E13

Where tilda-site.com is replaced with your Tilda site’s address. The odd-looking characters in the utm_term parameter are your Flow’s symbolic code, shown next to its link in the settings. If you work as an agency or as an AlterCPA Moe affiliate, check your symbolic code with support.