Install Salexor on Wix

Steps

  1. In the main menu open Settings.

  2. In the Advanced section click the Custom Code tab.

  3. Click Add Custom Code at the top right.

  4. Copy and paste your Salexor tag in the text box.

    <script type="text/javascript">
      var myo_pigv = { dealership_id: "60f17700f314dd6bb3b53c22" };
      var myo_sc = document.createElement("script");
      myo_sc.type = "application/javascript";
      myo_sc.async = true;
      myo_sc.src = "https://portal.salexor.com/cs/behaviour.spa.js";
      document.body.appendChild(myo_sc);
    </script>

    Then on every new page view you need to emit an event to notify the script. See the example below.

    window.dispatchEvent(new CustomEvent("_pi_rts_page_loaded"));

    If you want to register a native profile use the following code.

    window.dispatchEvent(new CustomEvent("_pi_rts_natively_converted"));
  5. Enter Salexor Tag as name for your code.

  6. Under Add Code to Pages select All pages.

  7. Choose to load the code on each page your visitor opens.

  8. In "Place Code In" choose to place the Salexor script tag in Body–end.

  9. Click Apply.

  10. Test Your Website (optional)Test

Notes

Your website should be published and with a connected domain. Your code snippets are associated with a specific domain. If you assign a different domain to your site, your code snippets will be deleted.

Screenshots

Last updated