2.20.21. The Sape code is not displayed on the main page

If you add the Sape code to your site, and it does not appear on all pages:

  1. Make sure in PHP settings there is a checkmark opposite "register_long_arrays".
  2. Open the Sape code and before the line
    $sape = new SAPE_client($o);

    add the line:

    $o['force_show_code'] = true;

    If it does not help, then you need to turn off redirects on the site so that the main page is displayed in the address bar of the browser.