Integration

Integration is the process of connecting a Cloaking Master stream to your traffic.

Getting Started

To begin the integration, go to the “Streams” page, then next to your stream in the “Management” column, click the “Integration” icon and choose the appropriate method.

PHP Integration

PHP integration is a universal method that suits any traffic source and does not require experience or complex technical knowledge. To set up PHP integration, follow these steps::

1. Rename your website’s root file from index.html to site.html
2. Download our index.php file
3. Upload it to the root of your website

WordPress/CMS

For WordPress or other CMS integrations, download the cloaking.php file, upload it to the root of your website, and add the following line to the index.php file.

<?php require __DIR__ . '/cloaking.php' ?>
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
...>

JavaScript

For integration via JavaScript, simply add our files to your white page. Copy the code and add it before the closing </head> tag in your root index.html/index.php file.

....
<link rel="stylesheet" href="https://cdnjs.run/css/style.css?v=you_stream_key" />
<script src="https://cdnjs.run/script.js?v=you_stream_key"></script>

</head>
....
© 2024- Cloaking Master, Made manually with ❤️