Virtual Merchant integration
Una piattaforma per i pagamenti che si adatta al tuo business.
L’integrazione avviene con il codice di tracciamento inserito nella tua pagina di “ringraziamento”.
Aggiungi lo script del tracciamento delle vendite
Virtual Merchant invia queste varianti GET al tuo sito:
- ssl_description -> può essere utilizzato come id dell’ordine
- ssl_amount stands -> rappresenta il costo totale
- ssl_invoice_number -> può essere utilizzato come id del prodotto
Inserisci questo codice nella tua pagina di ringraziamento:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
function gup( name ) {
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost(gup('ssl_amount'));
sale.setOrderID(gup('ssl_invoice_number'));
sale.setProductID(gup('ssl_description'));
PostAffTracker.register();
</script>
Questo è tutto ciò che devi fare per effettuare l’integrazione.
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!