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.
Discover the essentials of clicks (referrals) tracking with our comprehensive guide. Learn about the importance of click tracking code, explore various code examples including simple, asynchronous, and PHP versions, and dive into advanced tracking options. Optimize your affiliate marketing strategy with expert tips on setting account IDs, managing cookies, and customizing tracking parameters. Visit now to enhance your click tracking implementation!
Discover the power of the Lifetime Commissions plugin! Ensure lifetime referral tracking with unique customer identifiers, allowing affiliates to earn commissions on future sales without repeated clicks. Easily manage customer-affiliate relations and configure settings to suit your needs. Boost your affiliate program's efficiency with customizable options and ensure commissions for affiliates, even across different devices or channels. Explore seamless integration with eCommerce systems and enhance your marketing strategy today!