Vende fácilmente tanto productos digitales como físicos con este plugin.
Este método de integración integra la página de recibos de Cart66 (plugin de WordPress).
Seguimiento de las ventas
La integración es bastante fácil. El único paso que tienes que dar es editar el archivo wp-content/plugins/cart66/views/receipt.php y encontrar una línea con este código:
if(Cart66Setting::getValue('enable_google_analytics') == 1 && $order->viewed == 0)
Ahora, copia el código de abajo y pégalo justo sobre la línea mencionada:
<!-- Post Affiliate Pro integration snippet -->
<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('<?php echo number_format($order->total, 2, ".", ""); ?>');
sale.setOrderID('<?php echo $order->trans_id; ?>');
sale.setProductID('<?php echo get_bloginfo("name"); ?>');
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->
Eso es todo. Guarda los cambios. Ahora tu sistema está integrado.
Seguimiento por producto
Si quieres hacer un seguimiento de tus pedidos por producto, por favor utiliza este código:
<!-- Post Affiliate Pro integration snippet -->
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
<?php
$i = 1;
foreach ($order->getItems() as $item) {
?>
echo "var sale$i = PostAffTracker.createSale();";
echo "sale$i.setTotalCost('".$item->product_price * $item->quantity."');";
echo "sale$i.setOrderID('".$order->trans_id."(".$i.")');";
echo "sale$i.setProductID('".$item->product_id."');";
<?php
$i++;
}
?>
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->
Seguimiento de los cupones
En caso de que quieras apoyar el seguimiento de cupones, añade este código a tu código de seguimiento de ventas:
<?php
if (!empty($order->coupon) && !empty($couponCodeUsed)) {
$coupons = explode(" (",$couponCodeUsed, 2);
echo "sale.setCoupon('".$coupons[0]."');\n";
}
?>
Si quieres utilizar el importe del descuento en tu código de seguimiento de la venta de algo, puedes utilizar esta variable:
$order->discount_amount
Cart66 en la nube
En caso de que tengas el Cart66 basado en la nube, la integración también es posible. No podrás hacer un seguimiento de los pedidos por producto, pero sí podrás hacer un seguimiento del subtotal del pedido y del ID del mismo. Añade el siguiente código de seguimiento HTML a tu página de agradecimiento:
<img src="//URL_TO_PostAffiliatePro/scripts/{$ImageTrackUrl}&TotalCost={{order_subtotal}}&OrderID={{order_number}}" width="1" height="1" />
Eso es todo. Guarda tu trabajo y listo.
No olvides integrar tu WordPress con el código de seguimiento de clics.
The article discusses how to integrate Post Affiliate Pro with the OpenCart e-commerce solution. It provides instructions on editing the confirmation and success pages as well as setting up the cart as one transaction or one transaction per product. The article also mentions a free trial offer and highlights the positive review ratings.
The article discusses Post Affiliate Pro, a tool for affiliate marketing that integrates with various resources such as aMember, Recurly, and Iono. It provides instructions for successful integration and also mentions other relevant resources such as Payrexx and Instamojo. The article also covers the Gravity Forms affiliate program, clear terms and conditions, and the importance of following campaign rules. The text concludes with mentions of Recurly, its features, and customer support options.
The text discusses Post Affiliate Pro, a tool for affiliate marketing that allows users to create their own subdomain to track sales. It also provides detailed instructions on how to integrate this tool with Iono, highlighting some of Iono's features such as billing, customer management, and email marketing. The text also includes links to related resources such as aMember and Recurly. Additionally, the text provides information on sales integrations and registration forms available in Post Affiliate Pro, with a focus on the integration with aMember and instructions for integrating recurring sales with PayPal. The company behind the tool is Quality Unit, LLC, and information on pricing, features, support, and the affiliate program can be found on their website.
Post Affiliate Pro is a software ideal for all affiliate marketing needs. It offers tools to improve affiliate programs, with 24/7 customer support and a 14-day free trial. The platform can be integrated with various e-commerce platforms such as SquirrelCart and eCartSoft, with resources provided for additional integrations. The article also includes a free account offer and mentions the platform's privacy policy.