{"id":21068921,"url":"https://github.com/brandcom/silverstripe-analytics","last_synced_at":"2025-10-08T06:42:55.369Z","repository":{"id":56997222,"uuid":"433821279","full_name":"brandcom/silverstripe-analytics","owner":"brandcom","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-06T11:07:54.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"ss5","last_synced_at":"2025-08-26T07:35:17.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandcom.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":"2021-12-01T12:38:45.000Z","updated_at":"2022-10-04T13:09:30.000Z","dependencies_parsed_at":"2024-11-19T18:54:26.198Z","dependency_job_id":null,"html_url":"https://github.com/brandcom/silverstripe-analytics","commit_stats":{"total_commits":20,"total_committers":4,"mean_commits":5.0,"dds":0.35,"last_synced_commit":"559f0db53d395e5b9717d6bbc1e7fd384ae067e3"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/brandcom/silverstripe-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fsilverstripe-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fsilverstripe-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fsilverstripe-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fsilverstripe-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandcom","download_url":"https://codeload.github.com/brandcom/silverstripe-analytics/tar.gz/refs/heads/ss5","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandcom%2Fsilverstripe-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278646774,"owners_count":26021511,"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-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2024-11-19T18:29:29.893Z","updated_at":"2025-10-08T06:42:55.324Z","avatar_url":"https://github.com/brandcom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# silverstripe-analytics\n\n## Installation\n\n### 1. Installiere das Analytics-Plugin mit Composer\n\n```\nphp81 composer.phar require jbennecker/silverstripe-analytics\n```\n\n### 2. Führe dev/build?flush aus\n\n```\nphp81 vendor/silverstripe/framework/cli-script.php dev/build\n```\n\n### 3. Gib die Tracking-IDs in das CMS ein\n\nGehe zu Admin \u003e Einstellungen \u003e Tracking und gib die Cookiebot-ID und Tagmanager-IDs ein. Du kannst Google und/oder Matomo TagManager verwenden.\n\n\u003e WICHTIG:  \n\u003e Bitte konfiguriere Matomo TagManager so, dass \"Cookies deaktivieren\" und \"Tracker bündeln\" aktiviert ist. Siehe Bookstack.  \n\u003e Cookiebot ist im manuellen Modus enthalten.\n\n### 4. Füge den Tracking-Code in dein Template ein\n\nBearbeite die Datei `app/templates/Page.ss` und importiere den Tracking-Code am Anfang deines `\u003chead\u003e`.\n\n```\n\u003c% include Tracking %\u003e\n```\n\n## Shortcodes, die vom Plugin bereitgestellt werden\n\n* `[cookiedeclaration]` zum Einbinden in die Datenschutzerklärung\n* `[cookiebot]` um einen Button zum Bearbeiten der Cookiebot-Präferenzen bereitzustellen\n* `[youtube,id=\"dieYoutubeId\"]` zum Bereitstellen von YouTube-Medien, die von der Cookiebot-Zustimmung gesteuert werden\n\n## Konfiguriere Auslöser im Matomo Tag Manager\n\nThis step is only needed if custom Tags in Matomo need to honor Cookiebot consent modes, for example Facebook Pixel etc.\n\nTo honor the visitor's consent, you need to define the logic that controls the behavior of cookie-setting tags on your website.\n\nTo do this you need to create the following Triggers, to be used in your Matomo configuration:\n1. Name: **Cookie Consent Preferences**  \n   Event Name: `cookie_consent_preferences`\n2. Name: **Cookie Consent Statistics**  \n   Event Name: `cookie_consent_statistics`\n3. Name: **Cookie Consent Marketing**  \n   Event Name: `cookie_consent_marketing`\n\nTo create the Triggers, repeat these steps for each of the Cookiebot triggers:\n\n* Click the \"Triggers\" menu item and click \"+ CREATE NEW TRIGGER\"\n* Choose \"Custom Event\" under \"Choose a type of trigger to continue\"\n* Assign a name and the matching event from the list above\n* Click the \"CREATE NEW TRIGGER\" button to save the trigger\n\n[also see Cookiebot doc for defining Custom JavaScript variables to use as a condition for existing triggers ](https://support.cookiebot.com/hc/en-us/articles/360017539960#controlling_cookies)\n\nOnce we write a Matomo trigger plugin we can elimate this step\n\n## 7. Use custom Matomo Consent Triggers for Tags setting Cookies or tracking\n\nTags which set cookies within one of these three categories (review the scan report if you are in doubt) must only be\ntriggered when the user has consented to the relevant category.\n\nTo achieve this, assign the appropriate Cookie Consent Trigger on each cookie-setting tag, for example \"Cookie Consent\nStatistics\" for your Matomo Analytics tag.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandcom%2Fsilverstripe-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandcom%2Fsilverstripe-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandcom%2Fsilverstripe-analytics/lists"}