Jump to content

cart abandonment pro error track visualize


Recommended Posts

Hola,

 

En dicho modulo no conseguimos que nos trackee cuando el cliente abre el email, si que recoge los eventos de click sobre el email pero no el evento de visualización.

 

Os envio funciones y tambien el codigo del email:

public static function visualize()
{
 
$wichRemind = Tools::getValue('wichRemind');
$id_cart = Tools::getValue('id_cart');
$token = Tools::getValue('token_cart');
 
if ($token == md5(_COOKIE_KEY_.'recover_cart_'.$id_cart)) {
$query = "UPDATE "._DB_PREFIX_."cartabandonment_remind SET visualize = 1 WHERE wich_remind = ".(int)$wichRemind." AND id_cart = ".(int)$id_cart;
Db::getInstance()->Execute($query);
}
 
header('Content-Type: image/png');
echo base64_decode('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=');
 
}

 

<img data-imagetype="External" src="https://datafeeds.baruwa.com/1x1spacer.gif" width="1" height="1" alt="Web Bug from https://devorpenguin.des1.net/module/cartabandonmentpro/FrontCartAbandonment?token_cart=fcab49012e98509f713329f2dc42e0bf&id_cart=1001&action=visualize&wichRemind=1">

 

 

Un saludo

 

P.D: SI la url la cargo en el navegador si que lanza la funciona y lo marca como visto.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...