{"id":28256044,"url":"https://github.com/playfulsparkle/oc3_gtm","last_synced_at":"2026-02-27T20:03:04.741Z","repository":{"id":259935156,"uuid":"879797543","full_name":"playfulsparkle/oc3_gtm","owner":"playfulsparkle","description":"Playful Sparkle - Google Tag Manager for OpenCart 3","archived":false,"fork":false,"pushed_at":"2025-05-14T11:58:27.000Z","size":121,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T13:53:12.048Z","etag":null,"topics":["google","google-tag-manager","googletagmanager","gtm","opencart","opencart3"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playfulsparkle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-28T15:07:25.000Z","updated_at":"2025-05-14T11:54:35.000Z","dependencies_parsed_at":"2024-10-28T18:47:45.511Z","dependency_job_id":"8f14cc7d-5cb2-42b9-b9d7-41114de444c6","html_url":"https://github.com/playfulsparkle/oc3_gtm","commit_stats":null,"previous_names":["playfulsparkle/oc3_gtm"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/playfulsparkle/oc3_gtm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulsparkle%2Foc3_gtm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulsparkle%2Foc3_gtm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulsparkle%2Foc3_gtm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulsparkle%2Foc3_gtm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playfulsparkle","download_url":"https://codeload.github.com/playfulsparkle/oc3_gtm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulsparkle%2Foc3_gtm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278289499,"owners_count":25962356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google","google-tag-manager","googletagmanager","gtm","opencart","opencart3"],"created_at":"2025-05-19T22:15:22.704Z","updated_at":"2026-02-27T20:03:04.715Z","avatar_url":"https://github.com/playfulsparkle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playful Sparkle - Google Tag Manager for OpenCart 3\n\nThe **Playful Sparkle - Google Tag Manager** extension for OpenCart 3.x+ seamlessly integrates **Google Tag Manager (GTM)** into your OpenCart eCommerce store without requiring any coding knowledge. Simply enter your **GTM Measurement ID**, and the tracking code is automatically injected into your site. This enables precise tracking and data collection for services such as **Google Ads**, **Google Analytics**, and other marketing tools.\n\nThis extension fully supports **Google Consent Mode V2**, which enhances privacy compliance by allowing websites to adjust tracking behavior based on user consent. Unlike the previous version, which only handled basic ad and analytics storage permissions, Consent Mode V2 expands consent signals to include **ad user data** and **ad personalization preferences**.\n\nTo make use of these consent settings, you must install a separate [Cookie Consent Banner](https://www.opencart.com/index.php?route=marketplace/extension\u0026filter_search=cookie%20consent%20banner) to collect user choices. The extension automatically configures GTM to respect these choices by dynamically setting consent states for **ad storage**, **analytics storage**, **security storage**, **functionality storage**, **personalization storage**, and **ads data redaction**.\n\nAdditionally, it supports **URL Passthrough** and allows setting a **wait_for_update** delay to defer tracking until consent is granted.\n\nThis ensures compliance with **GDPR**, **ePrivacy**, and other data regulations while maintaining effective analytics and ad tracking without slowing down your site.\n\nThis extension **does not** track **Enhanced eCommerce events** or **ad conversions** it only configures **default consent settings** for Google Tag Manager. If you require **Enhanced eCommerce event tracking** or **Google Ads conversion tracking**, you will need an additional extension such as [Google Analytics (GA4)/Ads Conversion Enhanced Measurement](https://www.opencart.com/index.php?route=marketplace/extension/info\u0026extension_id=46693) for OpenCart 4.x+.\n\n\n## About Google Tag Manager\n\n**Google Tag Manager (GTM)** is a free tool that helps you manage marketing tags (like analytics and tracking codes) on your website without needing to touch the code. It lets marketers and developers add, update, and manage tags in real-time, without the hassle of modifying the website code every time you want to update or add a tag.\n\nWith GTM, you can easily integrate services like **Google Ads**, **Google Analytics**, and other marketing tools. This extension simplifies the process by automatically setting up GTM on your OpenCart store, so it's ready to track key metrics with minimal effort.\n\n---\n\n## About Google Consent Mode V2\n\n**Google Consent Mode V2** is a feature designed to help websites comply with privacy regulations like **GDPR** by adjusting tracking behavior based on user consent.\n\nIn **Consent Mode V1**, you could only manage basic tracking permissions, such as **ad storage** and **analytics storage**. However, **Consent Mode V2** extends these capabilities, allowing websites to also manage consent for **ad user data** and **ad personalization preferences**.\n\nThe main difference is that V2 offers more granular control over user consent. With **Consent Mode V2**, you can set consent preferences for multiple types of data (such as ad storage, analytics storage, and personalization storage) and configure more privacy-conscious features like **ads data redaction** and **URL passthrough**.\n\nTo use Consent Mode V2, you must install a separate **cookie consent banner** to collect user preferences. Once the user provides consent, the extension automatically applies the selected settings to Google Tag Manager, ensuring compliant tracking across your store.\n\n---\n\n## Features\n\n- **No-code Integration:** Effortless setup—just insert your Google Tag Manager Measurement ID, and the tracking code is added automatically.\n- **Google Consent Mode V2:** Supports Google Consent Mode V2, allowing you to manage user consent for data storage, ad personalization, and analytics tracking.\n- **Consent Management Compatibility:** Requires a separate cookie consent banner to collect user choices and automatically applies consent preferences to GTM.\n- **Ads Data Redaction:** Supports Ads Data Redaction to enhance privacy by limiting the transmission of identifiable ad data.\n- **URL Passthrough:** Enables URL Passthrough to help preserve tracking information when users navigate across pages.\n- **Multi-store Support:** Works seamlessly with OpenCart’s multi-store functionality, allowing easy integration across multiple stores.\n- **Compatibility:** Fully compatible with OpenCart 3.x+.\n- **Multilingual Support**: Ready for international use with languages including العربية (ar), Български (bg), 中文(简体) (zh-cn), 中文(繁體) (zh-tw), Čeština (cs-cz), English (UK) (en-gb), English (US) (en-us), Français (fr-fr), Deutsch (de-de), Ελληνικά (el-gr), Magyar (hu-hu), Italiano (it-it), 日本語 (ja), 한국어 (ko-kr), Polski (pl-pl), Português (Brasil) (pt-br), Русский (ru-ru), Slovenčina (sk-sk), Español (es-es), and Türkçe (tr-tr).\n\n---\n\n## Installation Instructions\n\n1. Download the latest version from this repository.\n2. Log in to your OpenCart admin panel.\n3. Navigate to `Extensions \u003e Installer`.\n4. Click the `Upload` button and upload the `ps_gtm.ocmod.zip` file.\n5. Navigate to `Extensions \u003e Extensions` and select `Analytics` from the `Choose the extension type` dropdown list.\n6. Locate the extension in the `Analytics` list and click the `Install` button.\n7. Click the `Edit` button, configure the extension parameters, and click the `Save` button to save your settings.\n8. Navigate to `Extensions \u003e Modifications`, select all your modifications and click the `Refresh` button to update the modification cache and apply the changes.\n\n---\n\n## Support \u0026 Inquiries\n\nFor assistance or inquiries related to this extension, please open an issue on this repository or contact us via email at [support@playfulsparkle.com](mailto:support@playfulsparkle.com).\n\n---\n\n## License\n\nThis project is distributed under the GPL-3.0 license. Please refer to the [LICENSE](./LICENSE) file for further details.\n\n---\n\n## Contributing\n\nWe encourage contributions from the community. To contribute, please fork the repository and submit a pull request with your proposed changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfulsparkle%2Foc3_gtm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayfulsparkle%2Foc3_gtm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfulsparkle%2Foc3_gtm/lists"}