burdapraha / oc_gtm_ecommerce
Opencart 2.x for ecommerce tracking via Google Tag Manager
Installs: 966
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
Open Issues: 1
Type:vqmod-plugin
Requires
- php: >=5.6.0
This package is not auto-updated.
Last update: 2025-01-05 21:56:23 UTC
README
note: developed on version 2.3.2, other versions can need some edits - fell free to contribute!
Installation
- Requiring installed vQmod because vQmod doesn't support installing via composer itself.
composer require burdapraha/oc_gtm_ecommerce
composer require sasedev/composer-plugin-filecopier
for files manipulating- Add this code to your composer.json project file, extra section:
"extra": {
"filescopier": [
{
"source": "vendor/burdapraha/oc_gtm_ecommerce/upload",
"destination": "upload",
"debug": "true"
}
]
}
It will move vQmod xml file to correct folder.
- setup your GTM (some tutorial here)
- optionally you can add row to your .gitignore file with path to gtm_ecommerce.xml (example: upload/vqmod/xml/gtm_ecommerce.xml)
- celebrate!