Shopp (WordPress bevásárlókosár modul) integration
Rugalmas WordPress e-kereskedelmi bővítmény.
Az integrációs módszer integrálta a Shopp “köszönöm” oldalát.
A kód hozzáadása
Lépjen a /wp-content/themes/your_theme/shopp/ oldalra, ahol a “saját_téma” a WP által használt téma neve, és nyissa meg a Thanks.php fájlt szerkesztéshez. A JavaScript-követőkód megfelelő változókkal az alábbiakban található:
<!--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--->
Csak ennyit kell tennie. Ne feledkezzünk meg a kattintáskövető kódról sem.
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!