Open kevinb456 opened 10 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...
Won't do for upcoming compatibility release but should be high priority afterwards.
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."