Avactis integration
Software PHP gratuito per carrelli acquisti e soluzione commerciale open source per carrelli acquisti.
Questo menu di integrazione utilizza l’interfaccia di Avactis per impostare l’integrazione con Post Affiliate Pro.
1. Integrazione del tracciamento dei clic
Prima di tutto, è necessario inserire il codice di tracciamento dei clic nel codice del footer del negozio. Vai a Gestione pagine, seleziona la pagina che vuoi integrare con il codice di tracciamento dei clic (tutte le pagine di destinazione del banner) e clicca sul link Modifica nella sezione Copyright basso. Aggiungiamo il codice di tracciamento dei clic nella sezione “Blocca contenuto” e facciamo clic sul pulsante Salva. Quindi cliccare anche sul pulsante inferiore “Salva modifiche“.
2. Tracciamento delle vendite nella versione hosted di Avactis
Vai a Gestione pagine e seleziona “order_placed.php” da modificare. Cliccare sul link “modifica” nella sezione center_column del blocco Ultimo Ordine Effettuato.
Aggiungiamo il seguente codice prima di “?>“:
// Post Affiliate Pro Tracking code snippet
$order_id = modApiFunc("Checkout", "getLastPlacedOrderID");
if(!empty($order_id)) {
$orderInfo = modApiFunc("Checkout", "getOrderInfo", $order_id, modApiFunc("Localization", "whichCurrencySendOrderToPaymentShippingGatewayIn", $order_id, GET_PAYMENT_MODULE_FROM_ORDER));
echo '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">';
$i = 0;
foreach($orderInfo['Products'] as $product_info) {
$SKU = $product_info['SKU'];
$total = $product_info['SalePrice'] * $product_info['qty'];
$prod_name = $product_info['name'];
echo 'var sale'.$i.' = PostAffTracker.createSale();
sale'.$i.'.setTotalCost(\''.$total.'\');
sale'.$i.'.setOrderID(\''.$order_id.'\');
sale'.$i.'.setProductID(\''.$SKU.'\');
sale'.$i.'.setData1(\''.$prod_name.'\');';
$i++;
}
echo 'PostAffTracker.register();
</script>';
}
Salva il tuo lavoro e hai fatto.
3. Avactis con PayPal
Nel caso in cui tu voglia integrare direttamente PayPal, che utilizzi come gateway di pagamento, nel tuo Avactis, devi eseguire alcuni passaggi speciali e, inoltre, è possibile solo con la versione Owned di Avactis. Il problema è che bisogna modificare alcuni file.
Per prima cosa, devi aggiungere il campo “personalizzato” e lo script di tracciamento nel tuo modulo paypal – puoi farlo nel file:
/avactis-themes/_your_theme_/checkout/checkout-sequence/default/confirmation_redirect_to_payment_gateway.tpl.html
Il codice di reindirizzamento IPN (cURL) va a:
/avactis-system/modules/payment_module_paypal_cc/payment_module_paypal_cc_api.php
Utilizza i codici del metodo di integrazione PayPal originale: è lo stesso.
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!
Discover the power of DirectLink tracking, an advanced feature that lets affiliates link directly to your site without URL parameters, boosting SEO and trust. Perfect for increasing backlinks and avoiding parameter removal, but note: it's incompatible with Facebook/Instagram and requires click tracking on landing pages. Ensure security by approving affiliate URLs manually. Visit to learn more!
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!
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!
Moving installation of PostAffiliatePro to another domain or directory
Easily move PostAffiliatePro to a new domain or directory. Follow our step-by-step guide to ensure a smooth transition without license issues.