Shopp (Modulo di carrello degli acquisti di WordPress) integration
Un plugin ecommerce flessibile per WordPress.
Il metodo di integrazione ha integrato la pagina di “ringraziamento” in Shopp.
Aggiungi il codice
Vai a /wp-content/themes/your_theme/shopp/ dove “your_theme” è il nome del tuo tema usato da WP e apri thanks.php per la modifica. Il codice di tracciamento javascript con le variabili appropriate è qui sotto:
<!--PAP sale tracking code starts here-->
<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 shopp('purchase','total'); ?>');
sale.setOrderID('<?php shopp('purchase','id'); ?>');
PostAffTracker.register();
</script>
<!--PAP sale tracking code ends here--->
Questo è tutto ciò che devi fare. Non dimenticarti di implementare anche il codice di tracciamento dei clic.
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!
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!