{"id":27209634,"url":"https://github.com/powerticmkt/wp-gtm-datalayer","last_synced_at":"2025-09-13T07:43:58.268Z","repository":{"id":141286427,"uuid":"81677167","full_name":"powerticmkt/wp-gtm-datalayer","owner":"powerticmkt","description":"Wordpress plugin for Google Tag Manager DataLayer with a lot of data","archived":false,"fork":false,"pushed_at":"2017-11-28T22:59:25.000Z","size":502,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-09T13:05:00.840Z","etag":null,"topics":["google-tag-manager","gtm","plugin","wordpress"],"latest_commit_sha":null,"homepage":"https://luizeof.com.br","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/powerticmkt.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}},"created_at":"2017-02-11T19:36:56.000Z","updated_at":"2022-05-11T15:15:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"518209a3-1eec-42d6-bc23-ce92b169d3df","html_url":"https://github.com/powerticmkt/wp-gtm-datalayer","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/powerticmkt/wp-gtm-datalayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerticmkt%2Fwp-gtm-datalayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerticmkt%2Fwp-gtm-datalayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerticmkt%2Fwp-gtm-datalayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerticmkt%2Fwp-gtm-datalayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/powerticmkt","download_url":"https://codeload.github.com/powerticmkt/wp-gtm-datalayer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerticmkt%2Fwp-gtm-datalayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274935969,"owners_count":25376834,"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-09-13T02:00:10.085Z","response_time":70,"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-tag-manager","gtm","plugin","wordpress"],"created_at":"2025-04-10T00:57:39.377Z","updated_at":"2025-09-13T07:43:58.258Z","avatar_url":"https://github.com/powerticmkt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Tag Manager Data Layer by Powertic\n\nGoogle Tag Manager DataLayer plugin put all wordpress info from platform, woocommerce,\nuser-agent, analytics utm and more on your GTM DataLayer.\n\n## How to Install\n\nJust download the latest version from Github here: https://github.com/powerticmkt/wp-gtm-datalayer/archive/master.zip\n\nImportant: This plugin is not listed on Wordpress directory until release of first stable version.\n\n## Usage\n\nAfter install and activate the plugin your Google Tag Manager Data Layer it's full of info on head tag.\n\nGo to Google Data Layer Panel and Enable Preview Mode to see all variables available on your Data Layer:\n\n### Wordpress Variables\n\n`gtmPagePostType`:\nReturn the post type\n\n`gtmPageTemplate`:\nReturn the post template\n\n`gtmPageCategory`:\nReturn the main posy category\n\n`gtmPageTags`:\nReturn the all post tags with commas\n\n`gtmPagePostAuthorID`:\nReturn the ID of author of post/page\n\n`gtmPagePostAuthor`:\nReturn the Author name of post/page\n\n`gtmPagePostDate`:\nReturn the post publish date\n\n`gtmPagePostDateYear`:\nReturn the year of post publish date\n\n`gtmPagePostDateMonth`:\nReturn the month of post publish date\n\n`gtmPagePostDateDay`:\nReturn the day of post publish date\n\n`gtmUserEmail`:\nReturn the current user e-mail\n\n`gtmUserType`:\nReturn the current user role\n\n`gtmUserId`:\nReturn the current user ID\n\n`gtmLogin`:\nReturn the status \"logged\" or \"anonymous\"\n\n### User Agent / Browser Variables\n\n`gtmBrowserName`\nReturn the Browser name\n\n`gtmBrowserVersion`\nReturn the browser version\n\n`gtmBrowserEngineName`\n\n`gtmBrowserEngineVersion`\n\n`gtmOsName`\n\n`gtmOsVersion`\n\n`gtmDeviceType`\n\n`gtmDeviceManufacturer`\n\n`gtmDeviceModel`\n\n`gtmReferer`\n\n### GeoLocation Variables\n\n`gtmGeoCountry`\n\n`gtmGeoCountryCode`\n\n`gtmGeoRegion`\n\n`gtmGeoRegionName`\n\n`gtmGeoCity`\n\n### Google Analytics UTM Variables\n\n`gtmUtmSource`\n\n`gtmUtmMedium`\n\n`gtmUtmCampaign`\n\n`gtmUtmTerm`\n\n`gtmUtmContent`\n\n### WooCommerce Variables\n\n`gtmWooOrdersCount`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerticmkt%2Fwp-gtm-datalayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowerticmkt%2Fwp-gtm-datalayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerticmkt%2Fwp-gtm-datalayer/lists"}