Go to WiX admin panel: https://www.wix.com/dashboard
Then go to "Manage Website", select your website:
Then got to "Settings" → "Tracking & Analytics":
Select "New Tool" → "Custom":
Put the following code into "Paste the code snippet here":
Tracking pixel for Wix
<!--S.L.I.C.E. Digital tracking pixel :: Begin-->
<script language="JavaScript" type="text/javascript">
var afid = document.querySelector('[data-hook="order-id-value"]').textContent.replace(/[^0-9]/g, ''); // (required) unique order or sale ID
var afgoal = 'sale'; // (required) goal name. Can be 'lead', 'sale', 'signup' or other
var afprice = document.querySelector('[data-hook="total-value"]').textContent.replace(/[^0-9\.]/g, ''); // (required) total order sum. Sale programs - required, lead programs - optional
var afsecure = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; // (required) security hash provided by S.L.I.C.E. Digital manager
var afcomment = ''; // (optional) any comments for this order
</script>
<script language="JavaScript" type="text/javascript" src="//track.slice.digital/track.js"></script>
<!--S.L.I.C.E. Digital tracking pixel :: End-->
- then fill the name input: "S.L.I.C.E. Digital tracking pixel"
- For the "Add Code to Pages" select "Choose specific pages" → "Thank you page"
- Select "Body - end" for "Place code in" section