1. Login to your Store manager and proceed to Settings > Design > Header and Footer. Then, paste the code from below in the Global Footer. Make sure that the WYSIWIG mode is turned off and the enabled box is checked off.
<script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
<script type="text/javascript">
(function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
(t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
tap('create', 'YOUR ACCOUNT ID', { integration: "3dcart" });
tap('detect');
</script>
Don't forget to replace your account ID with an actual value from your Tapfiliate Profile settings.
2. Hit Save and go to Settings > Design > Titles&Content. Lookup the Checkout 4 form and click Edit. Paste the following code into the Footer box:
<script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
<script type="text/javascript">
(function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
(t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
tap('create', 'YOUR ACCOUNT ID', { integration: "3dcart" });
tap('conversion', '[invoice-prefix][invoice-number]', [total_noformat]);
</script>
Don't forget to replace your account ID with an actual value from your Tapfiliate Profile settings.
We advice testing your integration before starting workinging with your affiliates live.
You can also check out our 3dcart integration guide here.