# Integration

Cloakify supports several integration options:

  • Direct PHP integration (you upload the index.php file to your server).
  • Reverse PHP integration (you include a PHP file in your website's code).
  • JS integration (You include a JavaScript script in your website's code and also upload a file to the server for processing JS script requests).

For your convenience, integration is done in the quickest and easiest way possible, but it still requires minimal technical knowledge from you to connect to the server and work with domains.

If you encounter any issues or have questions during the integration, feel free to reach out to our support team.

To work with Cloakify, you will need a VPS or Shared Hosting where your websites and the Cloakify script will be hosted.

If you are using platforms like Shopify, Wix, Tilda, or other website builders and plan to use JS integration, you will still require Shared Hosting or a VPS to host the Cloakify script.

If you are using a CDN, such as Cloudflare, to determine the user's IP address, your CDN should pass the real IP of the visitor in one of the following headers: X-Forwarded-For, X-Real-IP, Real-IP, or CF-Connecting-IP.

Cloudflare typically passes this information by default, and you don't need to take any specific actions for this to happen.

A typical scenario for using Cloakify would involve the following steps:

  1. Create a campaign in Cloakify.
  2. Choose your preferred integration method and follow the instructions.
  3. Test the script's functionality in "All Money" and "All Safe" modes.
  4. Switch the campaign to "Review" mode.
  5. Submit your ad campaign for moderation in ad network.
  6. Once your content passes moderation, enable the "Filter" mode.
  7. Monitor the campaign's statistics in the "Reports" section.