InaneCoding / Piwik-OpenCart-Ecommerce-VQMod

A repository for the Piwik Ecommerce mod for Open Cart using VQmod.
22 stars 17 forks source link

Multiple Piwik site IDs based on store / domain #24

Open kevinb456 opened 10 years ago

kevinb456 commented 10 years ago

From comment on opencart.com extension store;

"P.S. I have more than one store using the same opencart / piwik installation. It will be great if piwik_site_id can be configured per store and/or per domain instead of per installation."

kevinb456 commented 9 years ago

Would use the code $this->config->get('config_store_id') to get current store ID. Possibly could have a 'multi-store' enabled/disabled setting and then if enabled it uses consecutive numbers after the entered site_id e.g. if site_id is entered as '6' then opencart store No.1 uses '6' for site_id piwik tracking, opencart store No.2 uses '7', store No.3 uses '8' etc...

kevinb456 commented 7 years ago

Won't do for upcoming compatibility release but should be high priority afterwards.