{"id":21372937,"url":"https://github.com/hiqdev/yii2-google-tag-manager","last_synced_at":"2025-07-23T16:36:44.623Z","repository":{"id":56984657,"uuid":"233056641","full_name":"hiqdev/yii2-google-tag-manager","owner":"hiqdev","description":"Google Tag Manager widget for Yii2 applications","archived":false,"fork":false,"pushed_at":"2020-07-10T10:13:16.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-27T15:47:37.137Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiqdev.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}},"created_at":"2020-01-10T13:50:26.000Z","updated_at":"2021-12-12T22:18:13.000Z","dependencies_parsed_at":"2022-08-21T12:50:40.879Z","dependency_job_id":null,"html_url":"https://github.com/hiqdev/yii2-google-tag-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiqdev/yii2-google-tag-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-google-tag-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-google-tag-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-google-tag-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-google-tag-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiqdev","download_url":"https://codeload.github.com/hiqdev/yii2-google-tag-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-google-tag-manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260457385,"owners_count":23012283,"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","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":["hacktoberfest"],"created_at":"2024-11-22T08:24:12.732Z","updated_at":"2025-06-17T23:35:03.998Z","avatar_url":"https://github.com/hiqdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 Google Tag Manager\n\n**Google Tag Manager widget for Yii2 applications**\n\n[![Latest Stable Version](https://poser.pugx.org/hiqdev/yii2-google-tag-manager/v/stable)](https://packagist.org/packages/hiqdev/yii2-google-tag-manager)\n[![Total Downloads](https://poser.pugx.org/hiqdev/yii2-google-tag-manager/downloads)](https://packagist.org/packages/hiqdev/yii2-google-tag-manager)\n[![Build Status](https://img.shields.io/travis/hiqdev/yii2-google-tag-manager.svg)](https://travis-ci.org/hiqdev/yii2-google-tag-manager)\n[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/yii2-google-tag-manager.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-google-tag-manager/)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/yii2-google-tag-manager.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-google-tag-manager/)\n\nProvides really easy adding [Google Tag Manager] snippet to a site.\nEven easier then adding a widget into a site layout.\n\nWorks by adding Behavior to the Application View.\nBehavior listens to [EVENT_BEGIN_BODY] and echos the snippet.\n\n[Google Tag Manager]: https://tagmanager.google.com/\n[EVENT_BEGIN_BODY]: http://www.yiiframework.com/doc-2.0/yii-web-view.html#EVENT_BEGIN_BODY-detail\n\n## Installation\n\nThe preferred way to install this yii2-extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```sh\nphp composer.phar require \"hiqdev/yii2-google-tag-manager\"\n```\n\nor add\n\n```json\n\"hiqdev/yii2-google-tag-manager\": \"*\"\n```\n\nto the require section of your composer.json.\n\n## Configuration\n\nThis extension is supposed to be used with [composer-config-plugin].\n\nElse look [config/web.php] for cofiguration example.\n\nAvailable configuration parameters:\n\n- `GoogleTagManager.id`\n\nFor more details please see [config/params.php].\n\n[composer-config-plugin]:   https://github.com/hiqdev/composer-config-plugin\n[config/web.php]:           config/web.php\n[config/params.php]:        config/params.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fyii2-google-tag-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiqdev%2Fyii2-google-tag-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fyii2-google-tag-manager/lists"}