Mambo-ChargePlus integration
Rozwiązanie e-commerce dla systemu zarządzania treścią Mambo.
Integracji z Mambo-ChargePlus dokonuje się poprzez umieszczenie skryptu śledzenia sprzedaży na stronie potwierdzenia.
Znajdź plik
Znajdź i otwórz plik: /components/com_mambocharge_plus/mambocharge_plus_thankyou.php.
Integracja
Umieść następujący kod na samym dole tego pliku:
<?php
$aff_subtotal = $_POST['amount3'];
$aff_orderid = $_POST['invoice'];
?><script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('<?php echo $aff_subtotal ?>');
sale.setOrderID('<?php echo $aff_orderid ?>');
PostAffTracker.register();
</script>
I gotowe!
Integracja jest gotowa. Za każdym razem, gdy klient wejdzie na stronę potwierdzenia zamówienia, wywoływany zostanie kod śledzenia, który przypisze sprzedaż polecającemu partnerowi.
Discover seamless integration solutions with Post Affiliate Pro, the leading affiliate marketing software. Effortlessly connect with platforms like Authorize.net, Calendly, FormAssembly, and more to enhance your e-commerce and reporting capabilities. Enjoy free trials, 24/7 support, and maximize your marketing ROI with advanced tracking and flexible commission options. Visit now to revolutionize your affiliate marketing strategy!