Virtual Merchant integration
Uma plataforma de pagamentos que se adapta ao seu negócio.
A integração é feita com o código de rastreamento inserido na sua página de agradecimento.
Adicionando o script de acompanhamento de vendas
O Virtual Merchant envia estas variáveis GET para o seu site:
- ssl_description -> pode ser usado como id de pedido
- ssl_amount -> representa o custo total
- ssl_invoice_number -> pode ser usado como ID do produto
Insira este código na sua página de agradecimento:
<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>
Isso é tudo o que você precisa fazer no caso desta integração.
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!
Overview of Post Affiliate Network
Discover the power of Post Affiliate Network for managing affiliate programs across multiple brands from a single account.