OptimizePress e tabelas de preços com links do PayPal integration
Um plugin e tema para criar landing pages e sites de assinaturas, sem precisar saber codificar.
OptimizePress (módulo WordPress) é a nova maneira de criar páginas de destino, páginas de vendas e portais de assinatura de alta conversão.
Se você usa o recurso de Tabela de Preços do OptmizePress e nessas tabelas de preços você usa links de pagamento que levam ao PayPal (links diretos que levam ao PayPal, incluindo o ID do botão do PayPal hospedado), siga as etapas de integração abaixo.
Adicionando ID especial aos links de pagamento da tabela de preços
Em um arquivo “wp-content/plugins/optimizePressPlugin/lib/assets/tpls/pricing_table/style_X.php” (X pode ser 1, 2 ou 3) adicione esta linha:
$i=0;
logo acima da linha de:
foreach($tabs as $tab){
E em:
<a href="<?php echo $tab['order_button_url']; ?>" class="css-button"><?php echo $tab['order_button_text']; ?></a>
logo antes da tag href adicione:
id="ptPayPalLink<?php echo $i++;?>" name="ptPayPalLink"
para que o código fique assim:
<a id="ptPayPalLink<?php echo $i++;?>" name="ptPayPalLink" href="<?php echo $tab['order_button_url']; ?>" class="css-button"><?php echo $tab['order_button_text']; ?></a>
Implementação do código de rastreamento de cliques e de um script anexando o cookie aos links de pagamento
Agora, em “WP ADMIN > Optmizepress > Dashboard > Analytics e Rastreamento > Analytics e Rastreamento > Outros códigos de rastreamento” adicione o seguinte kod que é o seu código de rastreamento de cliques junto com o script que anexará o cookie a todos os links de pagamento do preço tabela:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript"><!--
PostAffTracker.setAccountId('default1');
try {
PostAffTracker.track();
} catch (err) { }
//-->
</script>
<script type="text/javascript">
var PayPalLinkCount = document.getElementsByName('ptPayPalLink').length;
for (var i=0; i < PayPalLinkCount;i ) {
PostAffTracker.writeCookieToLink('ptPayPalLink' i, 'custom');
}
</script>
Unlock endless customization with HTML banners, enhancing interactivity and click-through rates. Effortlessly design with WYSIWYG or HTML editors, and seamlessly integrate affiliate links using dynamic variables. Explore Post Affiliate Pro's advanced banner features to elevate your affiliate marketing strategy.
Overview of Plugins and Features
Discover the limitless potential of Post Affiliate Pro with its powerful plugin system, enabling you to enhance your account with a wide range of features. Learn how to activate features like Action Commissions, Banner Rotator, and Multiple Currencies, and explore integration options through our plugin directory. Visit now to transform your affiliate marketing strategy!
How can I charge my affiliates a signup fee?
Charge affiliates a signup fee with Post Affiliate Pro using Amember or PayPal integration. Learn how to set it up easily!
9. Integrate the affiliate software with your website
Integrate your affiliate software seamlessly with your website for effective tracking of referrals and commissions. Set it up right!
How to integrate Post Affiliate Pro (Network) with 3rd party affiliate systems?
Learn how to integrate Post Affiliate Pro with 3rd-party affiliate systems. Follow our step-by-step guide to streamline your affiliate tracking!