Wix
Wix allows to create a website using the variety of templates and a website builder.
Tracking Set Up
- 1
- Create an Offer the regular way in Scaleo.
- 2
- Select that Offer, go to Goals. Select Edit a Goal and scroll to Tracking Methods section.
- 3
- Select: Tracking Method > IMG Pixel. Copy that code.
- 4
-
Go to your Wix Dashboard.
If you have CPA goal (fixed payout)
- Go to Settings > Tracking Tools. And insert the pixel the following way:
If you have CPS goal (% from an order amount)
- Enable Corvid Dev Mode
- Select Thank You Page, click on Add Element, select Embed, HTML iframe
- Add the following code for that Element
<script type="text/javascript"> window.onmessage = (event) => { if (event.data) { var order = event.data; var img = document.createElement('img'); img.src = 'https://demo.scaletrk.com/track/img?goal_id=1&amount='+order.totals.total; img.height = "1"; img.width = "1"; document.getElementById('body').appendChild(img); } } </script>
Note: Please make sure you change your platform URL and Goal ID.
- Add the following code to the Code field at the bottom
$w.onReady(function () { $w('#thankYouPage1').getOrder() .then( (order) => { $w('#html1').postMessage(order); } ) .catch( (error) => { } ); });
Note: Please make sure you have the same elements IDs (#thankYouPage1 and #html1).
- Go to Settings > Tracking Tools. And insert the pixel the following way:
Click on Publish. Everything is set now. Affiliate can use Offer Tracking Link to drive the traffic to your Magento store. Once the order will be placed, we will get the conversion into Scaleo platform and Affiliate will be credited.