Giter Site home page Giter Site logo

prestashop / ganalytics Goto Github PK

View Code? Open in Web Editor NEW
10.0 35.0 44.0 455 KB

Gain clear insights into important metrics about your customers, using Google Analytics in PrestaShop 1.6.

PHP 88.75% CSS 1.84% JavaScript 4.36% Smarty 5.05%
prestashop-module prestashop-1-6 obsolete

ganalytics's Introduction

alt tag

This module has been archived, it’s no longer maintained but you still can fork it if you need it for your shop.

About

Gain clear insights into important metrics about your customers, using Google Analytics.

Contributing

PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.

Google Analytics is compatible with all versions of PrestaShop 1.4, 1.5 and 1.6.

Requirements

Contributors must follow the following rules:

  • Make your Pull Request on the "dev" branch, NOT the "master" branch.
  • Do NOT update the module's version number.
  • Follow the coding standards.

Process in details

Contributors wishing to edit a module's files should follow the following process:

  1. Create your GitHub account, if you do not have one already.
  2. Fork the ganalytics project to your GitHub account.
  3. Clone your fork to your local machine in the /modules directory of your PrestaShop installation.
  4. Create a branch in your local clone of the module for your changes.
  5. Change the files in your branch. Be sure to follow the coding standards!
  6. Push your changed branch to your fork in your GitHub account.
  7. Create a pull request for your changes on the 'dev' branch of the module's project. Be sure to follow the commit message norm in your pull request. If you need help to make a pull request, read the Github help page about creating pull requests.
  8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.

That's it: you have contributed to this open-source project! Congratulations!

ganalytics's People

Contributors

alexcbz avatar alexeven avatar axometeam avatar casper-o avatar cedricfontaine avatar cippest avatar dgonzalez360 avatar dh42 avatar dunglas avatar emilien-puget avatar gaillafr avatar gehoo avatar groussac avatar julienbourdeau avatar kermes avatar lasseku avatar luigimassa avatar mathieuesteban avatar perfecticus avatar pierreavizou avatar pierrerambaud avatar piotrkaczor avatar prestaworks avatar quetzacoalt91 avatar tchauviere avatar touxten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ganalytics's Issues

error 500 when in product name there is | (pipe)

Hello
I got 500 error when try to add or delete product from cart products that have | in name
I've fixed with a str_replace

line 533
'name' => Tools::str2url(str_replace("|", "-", $product['name'])),

line 549
'name' => Tools::str2url(str_replace("|", "-", $product['name']))

line 798
$add_product['name'] = str_replace("|", "-", $add_product_object->name);

please fix new version :)
last update 2015 on addons store
thanks

Dynamic ads feed + remarketing

On productwrap function we can add:
'dynx_itemid' => $product['reference']
And after linking analytics to adwords we can use custom feed for dynamic ads. Feed can be uploaded in adwords business data -> dynamic list. After the first manual upload there is a schedule button. And on analytics->admin->property->audiences->dynamic attributes->we can use custom business type to be able to create remarketing campaigns in countries where merchant service is not available.

No Data (at all)

Hello,

I would like to ask, what should I do if I see only some visits in my GA account (do not know which ones, but it can be arround 5% at the moment - based on the fact I do some ads which show a lot more visitors as my GA account and also I visit the website myself - in that moment I do not "see me" in GA in real time). I have set the module, but there are no data transfered into the account. Could you please help me? I tried to uninstall and install the module again, turn on the "anonymize IP" button, but nothing worked. The module worked fine by the end of last month as you can see, but then suddenly it stoped to work without me doing anything.

image

image

Thanks, Jakub

Old orders are sent to Google Analytics if module is not installed from start

With this code in hookBackOfficeHeader, each time you consult order and this order is not in the database ps_ganalytics, a record is created and send old transaction.It should not send orders made before the module installation


if ($this->context->controller->controller_name == 'AdminOrders')
            {
                if (Tools::getValue('id_order'))
                {
                    $ga_order_sent = Db::getInstance()->getValue('SELECT id_order FROM `'._DB_PREFIX_.'ganalytics` WHERE id_order = '.(int)Tools::getValue('id_order'));
                    if ($ga_order_sent === false)
                        Db::getInstance()->Execute('INSERT IGNORE INTO `'._DB_PREFIX_.'ganalytics` (id_order, id_shop, sent, date_add) VALUES ('.(int)Tools::getValue('id_order').', '.(int)$this->context->shop->id.', 0, NOW())');
                }
                else

Duplicate transactions

Hello,
around 50% of the transactions in my store are sent twice to Google Analytics and screw up all my conversion measuring. The problem occurs for all payment methods.

My setup: PS 1.6.0.8, transformer 3.0.9, ganalytics 2.0.8 (module was permanently updated throughout the last weeks).

Several pages (such as this one: http://www.lunametrics.com/blog/2014/07/07/duplicate-transactions/) indicate that this is an issue which is to be fixed on the sender-side.

Any help would be appreciated. Also I can prevent all kind of additional information, if needed.

About the bug in google analytics version 2.3.4:

Please follow it for the future version too

About the bug in google analytics version 2.3.4:

Problem 1 (fixed):
Payment error wrongly send to the google analytics as a successful case.

Modules:
modules/ganalytics/ganalytics.php

Situation:

Payment error should not send to the google analytics, since it has a checking code when buyers click the “pay” in payment side. After the checking, the data which insert to the database table “ps_ganalytics” will send to google analytics. And the first time checking, payment error can be correctly rejected to insert to the database table “ps_ganalytics”

Problem:

In some special case, payment error also insert to the database table “ps_ganalytics”. It leads google analytics show the wrong information.

For example, I have a payment error record in 10:00am and this record is correctly showed in the admin url > orders > orders. This record does not insert to the database table “ps_ganalytics”, everything is still fine.

However, once our employees who view the record in the admin url > orders > orders, and click the “View” for more details in this payment error at 5:00pm.

The module of ganalytics will be double checked the record to send to google analytics or not, if not, module will send again.

Line716:
if ($this->context->controller->controller_name == 'AdminOrders')
{
if (Tools::getValue('id_order'))
{
$order = new Order((int)Tools::getValue('id_order'));
if (Validate::isLoadedObject($order) && strtotime('+1 day', strtotime($order->date_add)) > time()) {
$ga_order_sent = Db::getInstance()->getValue('SELECT id_order FROM '._DB_PREFIX_.'ganalytics WHERE id_order = '.(int)Tools::getValue('id_order'));

As you see, the red font is line716.
Here will not check the record which is payment error or not.
Then this error record will insert to the database table “ps_ganalytics” and the time is 5:00pm.

Finally, it means that if our employees check the reason of payment in admin url, this record will also be sent to google analytics as a successful case.

Solution:

Edit the line 716 to check payment error:

if (Validate::isLoadedObject($order) && strtotime('+1 day', strtotime($order->date_add)) > time() && $order->getCurrentState() != (int)Configuration::get('PS_OS_ERROR')) {

Problem 2 (not fixed):
Some of payment record missing by double orders references.

Situation:
Since some product are special cases, they are limited in some regions.
For the shipping of these products, they have specialized shipping method.

However, some buyers may buy more than one products which include special products and normal products. It will become a two shipping for this payment.

For this case, prestashop will combine two shipping cost as one order.
For the admin url > orders > orders, this payment record will become two different orders but same order reference.

For the modules of ganalytics.php, it will only insert one order reference record and ignore another one to the database table “ps_ganalytics”.

In the end, google analytics will miss some payment record.

Weird issue - tag assistant telling me No HTTP response detected

Hi there

I been trying for hours to solve a issue
according to the tag assistant, some of my pages on http://www.dyrefoder.dk is not correctly set up
It tells me: No HTTP response detected

I tried to find a pattern and first I thought it was special chars like æøå that messed something up, but nope. That wasnt the case.

My latest discovery is that it might be related to the number of shown
products shown on the page. And then again im not sure, cause on one page (http://www.dyrefoder.dk/produkter/hund/godbidder) the issue starts when i have more than 12 products, and on another page (http://www.dyrefoder.dk/produkter/hund/hundefoder) i need 13 products to recreate the issue. I wonder whats really the issue an I would appresiate some help, thanks.

Thanks in advance

PS 1.6.0.9
latest updated ganalytics module installed

Capture successful order

Hello All,

I use Prestashop V1.6.1.11, and PayU payment module. I have configured the Google Analytics module.
Currently the successful order is not captured in analytics.
I think this is because the payment module, on successful payment is redirecting to order-detail page when logged in or guest-tracking page for guest users instead of order-confirmation page.
In the goal url's i have added /order-detail and /guest-tracking as goals but it doesn't help.
Is there a way to capture order confirmation in this case?

Thanks for your help.

Uncaught ReferenceError: jQuery is not defined at ordine:2354

Hi ganalytics.php at line 650:
$runjs_code .= ' <script type="text/javascript"> jQuery(document).ready(function(){ var MBG = GoogleAnalyticEnhancedECommerce; MBG.setCurrency(\''.Tools::safeOutput($this->context->currency->iso_code).'\'); '.$js_code.' }); </script>';
but in checkout form it show this error: Uncaught ReferenceError: jQuery is not defined at ordine:2354

Czech characters at products in GA reports with strange strings

Hello,

in my GA report of products sold the czech characters are replaced with for ex.:
letter "é" is like "\u00e9"

Product sold: Ocelov\u00e9 n\u00e1u\u0161nice - kuli\u010dky
Should be as: Ocelové náušnice - kuličky

analytics

Can somebody help with this?

Thank you ,
Daniel

ganalytics affecting PayPal currency during checkbox

Hi guys,

When checking out an order with a different currency currency, the currency gets changed to the default but the amount is unchanged. For example, an order of $15.41 should convert to £9.99 in PayPal, but instead converts to £15.41.

I know this seems completely unrelated, but I have found this issue only goes away and reoccurs when enabling / disabling ganalytics 2.x.

I believe this has something to do with the PayPal module updating the customers cart before payment, which in turn triggers a hook Google Analytics uses, overwriting the currency change. I'm not sure though, I have not been able to pinpoint the issue.

I replied to a post about this in April, and there are others who are having the same issue:
https://www.prestashop.com/forums/topic/402148-paypal-europe-issue-with-currency-after-update-from-1609-to-11/?p=2033247

Is this a known issue that can be resolved?

Error on large category pages with over 100 products "No HTTP Response"

Hello,

With the latest update their seems to be a issue with large product category pages showing many products (~100+ product categories only). Google tag manage shows "No HTTP Response Detected" as well as google analytics directly shows another error for missing analytics code on these specific pages only. Other smaller categories and all other pages work fine. Possibly something to do with the length of the "MBG.add" string in the Jquery being too much data?

Error 500 at ajax cart update

(1/1) ContextErrorExceptionWarning: Illegal string offset 'quantity'

in ps_googleanalytics.php line 905
at Ps_Googleanalytics->hookactionCartSave(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 924
at HookCore::coreCallHook(object(Ps_Googleanalytics), 'hookactionCartSave', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 328
at HookCore::callHookOn(object(Ps_Googleanalytics), 'actionCartSave', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 860
at HookCore::exec('actionCartSave')in Cart.php line 294
at CartCore->update()in Cart.php line 1421
at CartCore->updateQty(1, 11, 0, 0, 'up', '69', object(Shop), true, true)in CartController.php line 486
at CartControllerCore->processChangeProductInCart()in CartController.php line 232
at CartControllerCore->updateCart()in CartController.php line 221
at CartControllerCore->postProcess()in Controller.php line 244
at ControllerCore->run()in Dispatcher.php line 428
at DispatcherCore->dispatch()in index.php line 28

no http response

Hello,

I'm having trouble making this module work on Prestashop 1.6.1.4 fresh install.

The module it's not recording anything, no mather on the type of page. The tag assistant shows there is no http response. No adblock on the browser, no js errors.
I've managed to make it work only by adding "ga('send', 'pageview');" to the code in gabalytics.php, but if it wasn't there I presume it shouldn't be.

So do you have any ideea could be the problem?

Price format and json encoded texts?

Hello,

I was going through the code of v. 2.3.4 after we saw wrong data in GA Conversions and I saw this:
'price' => number_format($product['price'], 2, ',') I belive this is the wrong format for GA because this will return for example this: 1,000.00 and GA iterpret this as 1 instead of 1000. According to Google the correct format would be 1000.00 so without the comma because GA does not respect currency formatting.

Can you please tell why you choose this formating for the price?

And at the same place I don't really understand why are the names json encoded. This will result in unreadable names if you have UTF-8 chars in your names like: í,é,á,ő,ű,ú etc..

Is there a reason for json encodeing?

1.7.5

Is there any plans for 1.7.5 release ?

anonymizeIp Feature

Is someone working on an implementation of the google analytics anonymizeIp-Feature?

If not, i'd like to implement that and push to the official module as new config option.

SQL error when adding to card

Prestashop 1.7.6.1
Module version: 3.1.3
Php: 7.2

Steps:
add products to basket.

*ERROR* 	v1.7.6.1	2019/08/28 - 19:34:09: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Paczkomaty 24\/7');","56288":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","562' at line 1<br /><br /><pre>INSERT INTO `ps_ganalytics_data` (id_cart, id_shop, data) VALUES('308111','1','{"56189":{"id":"56189","name":"lassig-zestaw-sliniakow-wodoodpornych-0m-more-magic-jednorozec-2-szt","category":"sliniaki","brand":"lassig","variant":false,"type":"typical","position":"0","quantity":1,"list":"cart","url":"","price":43.089431},"56286":{"id":"56286","name":"smart-trike-hulajnoga-scooter-t3-swiecace-kola-led-torba-niebieska","category":"rowerki-jezdziki-i-inne-na-kolkach","brand":"smart-trike","variant":false,"type":"typical","position":"0","quantity":2,"list":"cart","url":"","price":243.089431},"56287":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56288":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56289":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56290":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56291":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56292":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56293":"MBG.addCheckoutOption(2,'');"}') ON DUPLICATE KEY UPDATE data ='{"56189":{"id":"56189","name":"lassig-zestaw-sliniakow-wodoodpornych-0m-more-magic-jednorozec-2-szt","category":"sliniaki","brand":"lassig","variant":false,"type":"typical","position":"0","quantity":1,"list":"cart","url":"","price":43.089431},"56286":{"id":"56286","name":"smart-trike-hulajnoga-scooter-t3-swiecace-kola-led-torba-niebieska","category":"rowerki-jezdziki-i-inne-na-kolkach","brand":"smart-trike","variant":false,"type":"typical","position":"0","quantity":2,"list":"cart","url":"","price":243.089431},"56287":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56288":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56289":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56290":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56291":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56292":"MBG.addCheckoutOption(2,'Paczkomaty 24\/7');","56293":"MBG.addCheckoutOption(2,'');"}' ;</pre> at line 769 in file classes/db/Db.php

javascript from product page

				<script type="text/javascript">
					document.addEventListener('DOMContentLoaded', function() {
						var MBG = GoogleAnalyticEnhancedECommerce;
						MBG.setCurrency('PLN');
						MBG.addProductDetailView({"id":56286,"name":"smart-trike-hulajnoga-scooter-t3-swiecace-kola-led-torba-niebieska","category":"rowerki-jezdziki-i-inne-na-kolkach","brand":"","variant":false,"type":"typical","position":"0","quantity":1,"list":"product","url":"http%3A%2F%2Ffw.local%2F56286-smart-trike-hulajnoga-scooter-t3-swiecace-kola-led-torba-niebieska.html","price":"299,00\u00a0z\u0142"});MBG.addProductClickByHttpReferal({"id":56286,"name":"smart-trike-hulajnoga-scooter-t3-swiecace-kola-led-torba-niebieska","category":"rowerki-jezdziki-i-inne-na-kolkach","brand":"","variant":false,"type":"typical","position":"0","quantity":1,"list":"product","url":"http%3A%2F%2Ffw.local%2F56286-smart-trike-hulajnoga-scooter-t3-swiecace-kola-led-torba-niebieska.html","price":"299,00\u00a0z\u0142"});
					});
				</script>

[QUESTION] : Translations files

there are two translation files locations on this (and some other) module .. the root dir and the translations dir. The first being older ...

fr.php is present in both locations and seems to be a duplicate (not in sync) ..

Am I missing something or translations should all being grouped in the relative folder?

Thank you

PHP Error id_product and Name and Category

Hello,

Since some time I have errors in my apache logs, this with the last version 2.4 of the module, here are the errors:

[Fri Aug 09 07:54:52.913289 2019] [proxy_fcgi:error] [pid 21105:tid 140486531852032] [client ] AH01071: Got error 'PHP message: PHP Notice: Undefined index: id_product in /var/www/clients/client1/web21/web/modules/ganalytics/ganalytics.php on line 474\nPHP message: PHP Notice: Undefined index: name in /var/www/clients/client1/web21/web/modules/ganalytics/ganalytics.php on line 519\nPHP message: PHP Notice: Undefined index: category in /var/www/clients/client1/web21/web/modules/ganalytics/ganalytics.php on line 520\n'

I have exactly the same errors on prestashop product pages only in debug mode.

thank you in advance for your help
Entre-Copines.be

ERROR 500 adding to cart

PS 1.7.4.2, PHP 7.2
[PrestaShopDatabaseException]
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Naivia');","13":"MBG.addCheckoutOption(2,'Naivia');","14":"MBG.addCheckoutOption' at line 1

INSERT INTO ps_ganalytics_data (id_cart, id_shop, data) VALUES('214','1','{"5":{"id":"5-20","name":"rochie-imprimata-de-vara","category":"rochii-de-vara","brand":"ana-dragan","variant":false,"type":"virtual","position":"0","quantity":-1,"list":"cart","url":"https%3A%2F%2Fstaging.naivia.ro%2Fro%2Frochii-de-vara%2F5-rochie-imprimata-de-vara","price":28.980000000000000426325641456060111522674560546875},"6":"MBG.addCheckoutOption(2,'');","7":"MBG.addCheckoutOption(2,'');","8":"MBG.addCheckoutOption(2,'');","9":"MBG.addCheckoutOption(2,'');","10":"MBG.addCheckoutOption(2,'');","11":"MBG.addCheckoutOption(2,'');","12":"MBG.addCheckoutOption(2,'Naivia');","13":"MBG.addCheckoutOption(2,'Naivia');","14":"MBG.addCheckoutOption(2,'Naivia');","15":"MBG.addCheckoutOption(2,'Naivia');","16":"MBG.addCheckoutOption(2,'Naivia');","17":"MBG.addCheckoutOption(2,'Naivia');","18":"MBG.addCheckoutOption(2,'Naivia');","19":"MBG.addCheckoutOption(2,'Naivia');","20":"MBG.addCheckoutOption(2,'Naivia');","21":"MBG.addCheckoutOption(2,'Naivia');","22":"MBG.addCheckoutOption(2,'Naivia');","23":"MBG.addCheckoutOption(2,'Naivia');","24":"MBG.addCheckoutOption(2,'Naivia');","25":"MBG.addCheckoutOption(2,'Naivia');","26":"MBG.addCheckoutOption(2,'Naivia');","27":"MBG.addCheckoutOption(2,'Naivia');","28":"MBG.addCheckoutOption(2,'Naivia');","29":"MBG.addCheckoutOption(2,'Naivia');","30":"MBG.addCheckoutOption(2,'Naivia');","31":"MBG.addCheckoutOption(2,'Naivia');","32":"MBG.addCheckoutOption(2,'My carrier');","33":"MBG.addCheckoutOption(2,'My carrier');","34":"MBG.addCheckoutOption(2,'My carrier');","35":"MBG.addCheckoutOption(2,'My carrier');","36":"MBG.addCheckoutOption(2,'My carrier');","37":"MBG.addCheckoutOption(2,'My carrier');","38":"MBG.addCheckoutOption(2,'My carrier');","39":"MBG.addCheckoutOption(2,'My carrier');"}') ON DUPLICATE KEY UPDATE data ='{"5":{"id":"5-20","name":"rochie-imprimata-de-vara","category":"rochii-de-vara","brand":"ana-dragan","variant":false,"type":"virtual","position":"0","quantity":-1,"list":"cart","url":"https%3A%2F%2Fstaging.naivia.ro%2Fro%2Frochii-de-vara%2F5-rochie-imprimata-de-vara","price":28.980000000000000426325641456060111522674560546875},"6":"MBG.addCheckoutOption(2,'');","7":"MBG.addCheckoutOption(2,'');","8":"MBG.addCheckoutOption(2,'');","9":"MBG.addCheckoutOption(2,'');","10":"MBG.addCheckoutOption(2,'');","11":"MBG.addCheckoutOption(2,'');","12":"MBG.addCheckoutOption(2,'Naivia');","13":"MBG.addCheckoutOption(2,'Naivia');","14":"MBG.addCheckoutOption(2,'Naivia');","15":"MBG.addCheckoutOption(2,'Naivia');","16":"MBG.addCheckoutOption(2,'Naivia');","17":"MBG.addCheckoutOption(2,'Naivia');","18":"MBG.addCheckoutOption(2,'Naivia');","19":"MBG.addCheckoutOption(2,'Naivia');","20":"MBG.addCheckoutOption(2,'Naivia');","21":"MBG.addCheckoutOption(2,'Naivia');","22":"MBG.addCheckoutOption(2,'Naivia');","23":"MBG.addCheckoutOption(2,'Naivia');","24":"MBG.addCheckoutOption(2,'Naivia');","25":"MBG.addCheckoutOption(2,'Naivia');","26":"MBG.addCheckoutOption(2,'Naivia');","27":"MBG.addCheckoutOption(2,'Naivia');","28":"MBG.addCheckoutOption(2,'Naivia');","29":"MBG.addCheckoutOption(2,'Naivia');","30":"MBG.addCheckoutOption(2,'Naivia');","31":"MBG.addCheckoutOption(2,'Naivia');","32":"MBG.addCheckoutOption(2,'My carrier');","33":"MBG.addCheckoutOption(2,'My carrier');","34":"MBG.addCheckoutOption(2,'My carrier');","35":"MBG.addCheckoutOption(2,'My carrier');","36":"MBG.addCheckoutOption(2,'My carrier');","37":"MBG.addCheckoutOption(2,'My carrier');","38":"MBG.addCheckoutOption(2,'My carrier');","39":"MBG.addCheckoutOption(2,'My carrier');"}' ;

at line 746 in file classes/db/Db.php
741. if ($webservice_call && $errno) {
742. $dbg = debug_backtrace();
743. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
744. } elseif (PS_DEBUG_SQL && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
745. if ($sql) {
746. throw new PrestaShopDatabaseException($this->getMsgError().'

'.$sql.'
');
747. }
748.
749. throw new PrestaShopDatabaseException($this->getMsgError());
750. }
751. }
DbCore->displayError - [line 378 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 554 - classes/db/Db.php] - [1 Arguments]
DbCore->execute - [line 733 - modules/ps_googleanalytics/ps_googleanalytics.php] - [1 Arguments]
Ps_Googleanalytics->_manageData - [line 904 - modules/ps_googleanalytics/ps_googleanalytics.php] - [2 Arguments]
Ps_Googleanalytics->hookactionCartSave - [line 924 - classes/Hook.php] - [1 Arguments]
HookCore::coreCallHook - [line 328 - classes/Hook.php] - [3 Arguments]
HookCore::callHookOn - [line 860 - classes/Hook.php] - [3 Arguments]
HookCore::exec - [line 294 - classes/Cart.php] - [1 Arguments]
CartCore->update - [line 1673 - classes/Cart.php]
CartCore->deleteProduct - [line 327 - controllers/front/CartController.php] - [4 Arguments]
CartControllerCore->processDeleteProductInCart - [line 234 - controllers/front/CartController.php]
CartControllerCore->updateCart - [line 221 - controllers/front/CartController.php]
CartControllerCore->postProcess - [line 244 - classes/controller/Controller.php]
ControllerCore->run - [line 428 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]

No products and quantities from BackOfffice

When a transaction is sent from the back office, there are no items and quantities sent.

It's easy to set up, but I wanted to understand why wait 30 minutes before sending the information?

Is it not better to send transactions one by one? On Monday morning I can send more than 25 transactions once.

Regards

Hard to read products name with jsonEncode

I have a site, where products contains local chars like Æ Ø Å. it seems to me like the jsonEncode of product names is wrong.
Our site have a product named "salmer på dansk og tysk" - this is now located in our analytics reports like the following including the "" tags.

"Salmer p\u00e5 dansk og tysk"

v2.3.0 issue with controller:AdminOrders

With the last update there is a huge problem when loading Orders list in BackOffice. With thousands of orders the module creates a lag ranging from 30 to 120 seconds in page load time. Then adding additional load time with every ajax query regarding customers orders. I'm not a developer, just a Prestashop user. If you need additional details regarding this issue, please ask. I had to revert to version 2.2.0 to be able to use my shop.

Tested on Prestashop 1.6.1.0

UPDATE: After further investigation of damages I found it pretty much messed Google Analytics Statistics for E-commerce in Aquisition section. For those two days the updated module was active, we have exactly 28x increase in reported revenue (for every order placed in that period) I wish was true :) The 28 multiplier might be (or not) the number of times I tried to load the Admin/Orders section. I didn't count. Since the module is no longer active, I can't confirm if the multiplier would rise.

Enhanced ecommerce steps no longer working

Hello,

Since the last update (version 2.3.2), checkout steps are no longer tracked. In Analytics, in the "purchase behavior analysis" section, all transactions go directly from "step 0" to "transaction". See file attached.

EDIT : Our PrestaShop version is 1.6.0.11.

capture d ecran 2015-11-09 a 14 48 26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.