SquirrelCart integration
Um software de carrinho de compras fácil de usar, acessível e personalizável.
Este método de integração foi testado para SquirrelCart v2.4.3
Abrir modelo
Abra o arquivo: themes/{your_theme}/thanks_for_order.tpl.php
Integração
Adicione o seguinte código no final do arquivo:
<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 $SC['order']['product_total'] ?>');
sale.setOrderID('<?php echo $SC['order']['number'] ?>');
PostAffTracker.register();
</script>
Isso é tudo o que é necessário. Agora sempre que houver venda, o script saletracking sale.php é chamado, e vai gerar comissão para o afiliado.
9. Integrate the affiliate software with your website
Integrate your affiliate software seamlessly with your website for effective tracking of referrals and commissions. Set it up right!
How to integrate Post Affiliate Pro (Network) with 3rd party affiliate systems?
Learn how to integrate Post Affiliate Pro with 3rd-party affiliate systems. Follow our step-by-step guide to streamline your affiliate tracking!
0. Let us setup Post Affiliate Pro for you
Get a free $399 Post Affiliate Pro setup with your new account. Focus on personalization while we handle the technical setup!
Cookies created by Post Affiliate Pro
Discover the various cookies created by Post Affiliate Pro, including tracking and interface cookies, designed to optimize your affiliate and merchant panel experiences. Learn about their functions, lifetimes, and how they enhance tracking and authentication processes. Visit now to explore detailed insights and manage your cookie settings effectively!