Re: Mailbeez After Sales Modules
Ok, I realized now that there should be google analytics tracking. We just sent out 9087 emails using Winback and it had index&1 in all of the emails instead of the tracking, even though all of that is configured properly.
Here is a hint to help you find the bug, on another website, I downloaded the version from Zen Cart downloads section first and then upgraded to 1.7 on top of that after receiving the notification in the Mailbeez admin. In that installation, the tracking info works properly.
In the installation where we installed the version from your site right off the bat, we get the &1 problem...
Re: Mailbeez After Sales Modules
hi numinix,
let me check this - I think the URL is generated by zencart just giving the FILENAME_DEFAULT.
You can always put a static customer URL into your template
cord
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
mailbeez
hi numinix,
let me check this - I think the URL is generated by zencart just giving the FILENAME_DEFAULT.
You can always put a static customer URL into your template
cord
For your function mh_href_link() I commented out:
PHP Code:
//$args[3] = true;
//$args[4] = true;
//$args[5] = true; // set static link
This stopped the &1 from being appended to the URL, but Google Analytics is still not rewriting the url to add the utm tracking even though it is enabled in configuration.
Note this website is using Magic SEO URLs.
Re: Mailbeez After Sales Modules
hi numinix,
Quote:
For your function mh_href_link() I commented out:
this will break mailbeez in other areas! had to put it in to make mailbeez compatible with zencart. Don't change it - it will break the system.
Code:
Note this website is using Magic SEO URLs.
guess the reason is located here?
You can try to debug the URL rewrite output in the google analytics class
mailhive\common\classes\googleanalytics.php
e.g. like this at the end of the "rewriteContent" method:
PHP Code:
// some quick-and-dirty debug:
echo $input;
echo $rewritten;
exit();
return $rewritten;
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
mailbeez
You can try to debug the URL rewrite output in the google analytics class
mailhive\common\classes\googleanalytics.php
e.g. like this at the end of the "rewriteContent" method:
PHP Code:
// some quick-and-dirty debug:
echo $input;
echo $rewritten;
exit();
return $rewritten;
Did that and there is no change. The debug output isn't even happening so for some reason this class function is not being invoked even though it is enabled...
Re: Mailbeez After Sales Modules
the GA URL rewrite is only triggered when you send an email e.g. through "send test" or "run module in production mode".
did you try that?
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
mailbeez
the GA URL rewrite is only triggered when you send an email e.g. through "send test" or "run module in production mode".
did you try that?
ywa, the problem is I receive only the text version in the test and it does not contain the utm tracking code.
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
numinix
ywa, the problem is I receive only the text version in the test and it does not contain the utm tracking code.
ok, that explains a lot ;-)
have a look at mailbeez com support FAQ how to receive html emails.
only links like <a href="url"> are rewritten, so no urls by itself.
This is because I somehow think it is "better" to hide the GA parameters from the user
cord
Re: Mailbeez After Sales Modules
Thanks for this awesome mod!!!
When I look at the emails in any of the modules, the popup comes up and is filled with tons of notice messages such as
Notice: Constant ENTRY_EMAIL_ADDRESS already defined in xxxxxxxx (the path to the file)
Also these mailbeez-specific messages are in those messages:
Notice: Undefined property: mailbeez_check::$additionalFields in xxxxxx/mailhive/common/classes/mailbeez.php on line 67
Any ideas why this is happening and what to do to fix it or turn off the notice messages? There are over 100 messages before I finally scroll down enough to see the actual email content.
Thanks again for this mod, it is totally what we needed!
Re: Mailbeez After Sales Modules
forgot to mention I'm using v1.7 and all of the latest modules from the mailbeez site.