Install Salexor on Wix
Steps
In the main menu open Settings.
In the Advanced section click the Custom Code tab.
Click Add Custom Code at the top right.
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"));
Enter Salexor Tag as name for your code.
Under Add Code to Pages select All pages.
Choose to load the code on each page your visitor opens.
In "Place Code In" choose to place the Salexor script tag in Body–end.
Click Apply.
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