Oxid Eshop integration
Una potente soluzione ecommerce.
L’integrazione con Oxid Eshop è abbastanza semplice. Tutto quello che devi fare è integrare la pagina di ringraziamento del tuo negozio.
Aggiungi il codice di tracciamento delle vendite
Per prima cosa, accedi al tuo FTP e vai su out/theme_name/tpl/page/checkout/ dove “theme_name” è una directory del tema che stai utilizzando in questo momento.
Dovresti vedere un file thankyou.tpl – che è quello che andremo a modificare. Trova questa linea:
<div id="thankyouPage">
e incollaci sopra il codice dell’integrazione.
<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('[{$order->oxorder__oxtotalbrutsum->value}]');
sale.setOrderID('[{ $order->oxorder__oxordernr->value }]');
PostAffTracker.register();
</script>
Uno dei valori che verrà utilizzato per il costo totale nel codice di cui sopra, è il costo del prodotto con IVA. Se vuoi usare altri valori, puoi fare riferimento a questi:
[{$order->oxorder__oxtotalnetsum->value}]
- IVA esclusa
[{$order->oxorder__oxtotalbrutsum->value}]
- IVA inclusa
[{$order->oxorder__oxartvatprice1->value}]
- Valore IVA
[{$order->oxorder__oxtotalordersum->value}]
- prezzo pieno dell’ordine
[{$order->oxorder__oxcurrency->value}]
- codice valuta (USD, EUR, …)
[{$order->oxorder__oxcurrate->value}]
- tasso di conversione della valuta
Non dimenticarti di integrare le tue landing page con 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!