JavaScript-integration is typically used when the white page is hosted on third party web services that do not support PHP code processing. For example, Tilda, Shopify, Wix, Blogspot, Github.
To configure JavaScript integration, you need to
- Select the JavaScript integration type;
- Select one of the supported black page action types;
- Download the PHP file from the flow and upload it to any intermediate server;
- Generate a special script and add it to the white page HTML source code;
The intermediate server for the PHP file must have:
• PHP 7.1 or newer;
• СURL library and php-curl extension;
For JavaScript integration cloaking to work, both the intermediate domain and the black page domain must be HTTPS-based
Let's take a closer look at configuring JavaScript integration using the Tilda website builder as an example.
- After initial flow setup, go to the Configuring Integration block and select the JavaScript integration type:

- Select one of the available black page action types for this integration type or leave the default JavaScript redirect type:

- Download the
query.php
integration file:

- Upload it to the server in any directory of the parked domain (the server must have PHP 7.1 or newer, the CURL library and the php-curl extension installed):

- Specify a link to the query.php file in absolute format (the domain must be SSL certified (https)):

- Generate and copy an integration script:

- In the Tilda block editor, add a new Embed HTML Code block:



- Paste the copied code and save:

- Publish the page:

- Setup complete:

Before starting traffic, make sure the settings are correct.