Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burdapraha/oc_gtm_ecommerce
GTM ecommerce tracking
https://github.com/burdapraha/oc_gtm_ecommerce
czech-republic ecommerce ecommerce-tracking google-tag-manager opencart vqmod
Last synced: 20 days ago
JSON representation
GTM ecommerce tracking
- Host: GitHub
- URL: https://github.com/burdapraha/oc_gtm_ecommerce
- Owner: BurdaPraha
- License: mit
- Created: 2017-07-13T14:20:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-22T14:09:52.000Z (about 7 years ago)
- Last Synced: 2024-04-24T15:45:17.700Z (8 months ago)
- Topics: czech-republic, ecommerce, ecommerce-tracking, google-tag-manager, opencart, vqmod
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Tag Manager E-commerce tracking for [OpenCart 2.x](https://github.com/opencart/opencart)
note: developed on version 2.3.2, other versions can need some edits - **fell free to contribute!**
## Installation
1. Requiring installed [vQmod](https://github.com/vqmod/vqmod) because vQmod doesn't support installing via composer itself.
2. `composer require burdapraha/oc_gtm_ecommerce`
3. `composer require sasedev/composer-plugin-filecopier` for files manipulating
4. 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.5. setup your GTM (some tutorial [here](https://www.optimizesmart.com/implementing-e-commerce-tracking-google-tag-manager/))
![Screenshot 1](./docs/gtm_1.jpg)
![Screenshot 2](./docs/gtm_2.jpg)
6. optionally you can add row to your .gitignore file with path to gtm_ecommerce.xml (example: upload/vqmod/xml/gtm_ecommerce.xml)
7. celebrate!