# Javascript Integration

JavaScript integration is primarily intended for use with third-party services like Shopify, Blogspot, or Tilda, where you don't have the ability to upload a PHP file for PHP integration. The traffic flow scheme is similar to reverse PHP integration: visitors initially land on a white page, unwanted ones remain there, and the targeted ones are shown the content.

You will also need to upload and place our PHP script server.php on your server, but its specific location doesn't matter because the file will be connected to the white page via the HTML <script> tag.

It's important to use HTTPS to connect the server.php file if the site you are integrating with operates over HTTPS (the vast majority of modern websites use HTTPS). Attempting to connect server.php to an HTTPS site using a regular HTTP link will result in a mixed content error, and cloaking won't work.

Please note that the "White Page" setting in the stream is ignored in JavaScript integration since the visitor initially lands on the white page, which is the page where our <script> tag is placed.