8
0
Fork 0

Commits vergleichen

...

132 Commits

Autor SHA1 Nachricht Datum
MaxBUhe 8a643a0b8a Merge remote-tracking branch 'remotes/origin/rel_2.x' 2024-03-08 10:10:27 +01:00
MaxBUhe 7d23204841 Merge remote-tracking branch 'remotes/origin/rel_1.x' 2024-03-08 09:49:12 +01:00
MaxBUhe 9410495a58 [Bump] Metadata && Changelog 2024-02-05 14:12:02 +01:00
MaxBUhe 05df5ef100 [Fix] missing Component-ArticleDetails extension; missing ManufacturerList-Extension 2024-02-05 11:18:15 +01:00
MaxBUhe 59ef1d0625 [Added] extended Doks 2024-01-22 14:30:59 +01:00
MaxBUhe e4969f2cbd [Changed] phpstan.neon 2024-01-22 14:23:09 +01:00
MaxBUhe 13ef2bef7b [Changed] phpstan.neon 2024-01-22 11:27:04 +01:00
MaxBUhe 59f0e37cce bump changelog && version to 2.14.0 2024-01-22 11:16:16 +01:00
MaxBUhe bcf38a6e11 Merge remote-tracking branch 'remotes/origin/rel_1.x' into dev_2.x 2024-01-22 11:13:05 +01:00
MaxBUhe e3f4bd16c9 Merge remote-tracking branch 'remotes/origin/rel_2.x' 2024-01-03 13:49:08 +01:00
MaxBUhe ed5fcc6011 bump changelog && version to 2.13.1 2024-01-03 13:48:43 +01:00
MaxBUhe 22ea5a1ce2 [Fixed] error on array-count at zero entries 2024-01-03 13:46:43 +01:00
MaxBUhe 42618fef79 Merge remote-tracking branch 'remotes/origin/rel_2.x'
# Conflicts:
#	Modules/Core/ViewConfig.php
2023-09-13 16:18:43 +02:00
MaxBUhe f02c40cfb7 Merge remote-tracking branch 'remotes/origin/rel_1.x'
# Conflicts:
#	Application/views/admin/de/module_options.php
#	Application/views/ga4/view_item_list.tpl
#	CHANGELOG.md
#	Docs/README.md
#	IntelliSenseHelper.php
#	Modules/Core/ViewConfig.php
#	metadata.php
2023-09-13 16:13:03 +02:00
MaxBUhe 19553fcee2 bump metadata and readme 2023-09-13 16:00:12 +02:00
MaxBUhe bb513e6ded adjust set-param check 2023-09-13 15:13:35 +02:00
MaxBUhe 36b3aa9ef2 switch param-name 2023-09-13 15:08:58 +02:00
MaxBUhe ef4e4625cd switch name of control-parameter; switch consentmanager-script-adjustments 2023-09-13 14:56:05 +02:00
MaxBUhe 84a9aba764 adjust Doku with further infos new cookieid -> Control parameter 2023-09-13 14:42:12 +02:00
MaxBUhe 154147b8d8 Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-09-07 15:22:13 +02:00
MaxBUhe 7d12dd68a7 bump metadata && changelog 2023-09-07 15:11:04 +02:00
MaxBUhe 565f47b1ff add cookiebot essentials 2023-09-07 15:08:06 +02:00
MaxBUhe 7c6b0215a5 bump metadata && changelog 2023-08-23 17:16:58 +02:00
Markus Gärtner 84e3895db8 extend Manufacturer 2023-08-23 17:12:18 +02:00
MaxBUhe 1e479503a7 [changed] 'an article has been removed from basket'-check 2023-08-23 17:09:49 +02:00
MaxBUhe 9e7b4653ea add deug_mode switch 2023-08-16 10:44:50 +02:00
MaxBUhe 7b1241ab97 correct naming in view_search_result 2023-08-16 09:38:03 +02:00
MaxBUhe 0f15df8364 [working-state] rebuilding meta structure 2023-08-03 15:55:07 +02:00
MaxBUhe 71b743ddcc bump changelog && version to 2.10.1 2023-08-03 15:10:38 +02:00
MaxBUhe c0206f741f add missing param to check if isRemoveFromCart 2023-08-03 15:09:12 +02:00
MaxBUhe 22bec30621 add remove_from_cart 2023-08-03 14:57:26 +02:00
MaxBUhe 43cdc7e8ae Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-08-02 11:57:26 +02:00
MaxBUhe 49bfd5be09 bump changelog && version to 2.10.0 2023-08-02 11:55:28 +02:00
MaxBUhe 6002540268 bump changelog && version to 2.9.2 2023-06-29 08:33:07 +02:00
MaxBUhe cc89303595 [fix-bug] wrong category method used for check 2023-06-29 08:31:57 +02:00
MaxBUhe 7062d935f4 bump changelog && metadata to 2.9.1 2023-06-27 12:16:43 +02:00
MaxBUhe 9f1deab099 [bug-fix] non-category having articles throw exception
deny method-call on no category
2023-06-27 12:15:21 +02:00
MaxBUhe 461f7f15da Merge remote-tracking branch 'remotes/origin/rel_1.x'
# Conflicts:
#	Application/views/admin/de/module_options.php
#	Application/views/ga4/view_item_list.tpl
#	CHANGELOG.md
#	Modules/Core/ViewConfig.php
#	composer.json
#	metadata.php
2023-06-27 10:03:51 +02:00
MaxBUhe 4f8fa7cdc9 Merge remote-tracking branch 'remotes/origin/rel_2.x'
# Conflicts:
#	CHANGELOG.md
2023-06-27 09:59:00 +02:00
MaxBUhe 2cc0368633 bump version and changelog to 2.9.0 2023-06-27 09:53:00 +02:00
MaxBUhe b0a1c20419 add missing cmp-entry in cmp-list 2023-06-27 08:58:05 +02:00
MaxBUhe 54fcbf88c9 add cookiefirst necessary script-attributes 2023-06-27 08:46:51 +02:00
MaxBUhe 0ae67c823b add metadata cookiefirst entry plus multilang-usability 2023-06-27 08:46:39 +02:00
MaxBUhe ab4232fb4a add cookiefirst to manager-list 2023-06-27 08:33:49 +02:00
MaxBUhe 0ec765955e bump version && changelog to 2.8.0 2023-06-23 15:15:42 +02:00
MaxBUhe d505d8530a rm unnecessary code 2023-06-23 15:08:09 +02:00
MaxBUhe fd79710158 add coupon to view_cart 2023-06-22 10:43:50 +02:00
MaxBUhe d2ef663dd3 add paymentType to puchase-event
extend Basket-Model to add method to get payment-desc
2023-06-22 10:37:40 +02:00
MaxBUhe fec30b1109 add coupon to puchase-event 2023-06-22 09:57:30 +02:00
MaxBUhe 5c53d83f32 [finished] item_category added to purchase-Event 2023-06-22 09:39:03 +02:00
MaxBUhe 8a7c25fad9 [working state] add method for article category steps
change naming of vars

Not working yet: getting of category-steps
2023-06-21 15:58:46 +02:00
MaxBUhe 429069e0cf fix wrong var usage 2023-06-21 15:56:58 +02:00
MaxBUhe 50f9fbca23 renaming vars on puchase-tpl 2023-06-21 15:47:06 +02:00
MaxBUhe cb18feba82 add missing item_list_name 2023-06-21 15:45:12 +02:00
MaxBUhe 47b8622018 implementing Category->getSplitCategoryArray() method for category-step 2023-06-21 15:43:43 +02:00
MaxBUhe 92a91d0194 implementing Category->getSplitCategoryArray() method for category-step 2023-06-21 15:33:38 +02:00
MaxBUhe 226a80f138 implementing Category->getSplitCategoryArray() method for category-step 2023-06-21 15:29:27 +02:00
MaxBUhe 5dd7b51fb5 adjust view_cart; extend Model\Category
add categories to ecommerce-DataLayer; add method to immediately get the requested Category-Steps
2023-06-21 15:23:50 +02:00
MaxBUhe 7b82476e8b adjust view_item
add categories to ecommerce-DataLayer
2023-06-21 14:24:47 +02:00
MaxBUhe bfc2ca8ad6 adjust view_item_list
add categories to ecommerce-DataLayer
2023-06-21 14:19:48 +02:00
MaxBUhe 7266416fe4 Merge remote-tracking branch 'remotes/origin/rel_2.x'
# Conflicts:
#	metadata.php
2023-06-19 15:25:00 +02:00
MaxBUhe 389d4f44ed Merge remote-tracking branch 'remotes/origin/rel_1.x'
# Conflicts:
#	CHANGELOG.md
#	metadata.php
2023-06-19 15:23:42 +02:00
MaxBUhe e48b21022c bump version && changelog to 2.7.0 2023-06-19 15:17:43 +02:00
MaxBUhe b4bf91660e [rework] change structure of GA-event
moving the procedere into one step so there's not an accidental triggering of an GA-Push-Event which at the end overwrites the View-Item-Push-Event in the cmpEvent
2023-06-19 14:57:12 +02:00
MaxBUhe 3d62993dfc add missing consentmanager readme entry 2023-06-01 14:19:29 +02:00
MaxBUhe 41d6e94fa7 Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-05-31 14:55:26 +02:00
MaxBUhe b8e2aeaa58 Merge remote-tracking branch 'remotes/origin/rel_1.x'
# Conflicts:
#	Application/views/admin/de/module_options.php
#	Application/views/ga4/view_item_list.tpl
#	CHANGELOG.md
#	Modules/Core/ViewConfig.php
#	metadata.php
2023-05-31 14:51:07 +02:00
MaxBUhe 679a49823c add missing changelog 1.x changes 2023-05-31 14:33:49 +02:00
MaxBUhe 106fea9c91 fix explicit manager bug
bug would make script apply anyway, even if no manager is found
2023-05-31 14:29:46 +02:00
MaxBUhe 13132e6da0 Merge branch 'rel_2_prep_porting_rel_1.x' of git.d3data.de:D3Public/GoogleAnalytics4 into rel_2_prep_porting_rel_1.x 2023-05-31 13:42:54 +02:00
MaxBUhe 5c478124bc bump version && changelog to 2.6.0 2023-05-31 13:40:51 +02:00
MaxBUhe 12613357b3 bump version && changelog to 2.6.0 2023-05-31 13:38:32 +02:00
MaxBUhe 95e0cab68c rework 'Manager Type Handling'; add ManagerHandler + ManagerTypes 2023-05-31 12:17:00 +02:00
MaxBUhe 1d194d445a rm unnecessary check 2023-05-31 12:16:10 +02:00
MaxBUhe bf3fee5ce5 add missing article-getter 2023-05-31 10:35:18 +02:00
MaxBUhe 3c280a3adb adjust readme and switch used block-extension 2023-05-31 10:34:34 +02:00
MaxBUhe 6217524828 adjusted usercentrics script 2023-05-31 10:34:24 +02:00
MaxBUhe 5ef600ff2a added position to block-extension 2023-05-31 10:34:14 +02:00
MaxBUhe a40d922f42 [working-state] restructuring usercentricts & consentmanager decision
consentmanager decision is working so far; next step is implementing usercentricts
2023-05-31 10:33:59 +02:00
MaxBUhe dae5f66f81 add usercentrics chosable settings-value; add additional methods; add new multilang-idents 2023-05-31 10:33:43 +02:00
MaxBUhe 347e551194 merge rel_1.x changelog 2023-05-23 11:49:09 +02:00
MaxBUhe 000c49c56b bump version && changelog to 2.5.0 2023-05-23 11:32:20 +02:00
MaxBUhe 002cc69d2a switch metadata entries; fix getPrice-bug 2023-05-23 10:06:21 +02:00
MaxBUhe af78809ae5 add settings-entry; add consentmanager-option 2023-05-15 15:06:25 +02:00
MaxBUhe d531ba648b fix unnecessary convert of int to str 2023-05-12 14:08:52 +02:00
MaxBUhe a0c650fca3 Merge branch 'rel_2.x' 2023-05-11 15:26:45 +02:00
MaxBUhe af341a984b Merge branch 'rel_1.x'
# Conflicts:
#	CHANGELOG.md
#	metadata.php
2023-05-11 15:26:31 +02:00
MaxBUhe 122dd4cf53 genuine code cleanup; switch hard-getter to methods and use price-object 2023-05-10 15:01:56 +02:00
MaxBUhe 27798703b0 bump version && changelog to 2.4.0 2023-05-02 14:36:52 +02:00
Christoph Staeblein 8eb734be8a OXID UserCentrics support, general overhaul for cookie managers 2023-05-02 14:28:47 +02:00
MaxBUhe 616f31ecba Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-03-20 15:46:58 +01:00
MaxBUhe 527eec1355 bump changelog 2023-03-20 11:01:03 +01:00
MaxBUhe 1966d3008e Merge remote-tracking branch 'remotes/origin/rel_2.x_custB' into rel_2.x 2023-03-20 10:56:29 +01:00
MaxBUhe bd51b37159 hot-fix: add missing view_item file; add metadata entry 2023-03-20 09:49:49 +01:00
MaxBuhe01 718b60e12c Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-03-17 15:31:34 +01:00
MaxBuhe01 d4df87bfff Merge remote-tracking branch 'remotes/origin/rel_1.x' into rel_2.x 2023-03-17 15:30:03 +01:00
MaxBUhe 63007e9b02 bump version 2023-03-10 11:25:12 +01:00
MaxBUhe 5fe656988c genuine cleaning off of unnecessary files (prevent confusion) 2023-03-10 11:22:49 +01:00
MaxBUhe 9cb3a54824 Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-02-22 14:35:22 +01:00
MaxBUhe 2f6fd8a31c bump version 2023-02-22 14:31:28 +01:00
MaxBUhe 8f9ed021d6 bump version 2023-02-22 14:07:14 +01:00
MaxBUhe 0ef3d3373a Merge remote-tracking branch 'remotes/origin/dev/view_cart/illegal_character_U+20AC' into rel_2.x 2023-02-22 14:05:56 +01:00
MaxBUhe fd2b4a5bbe add special price formatting 2023-02-22 13:46:27 +01:00
MaxBuhe01 1c0d55bdc3 Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-02-21 12:47:38 +01:00
MaxBuhe01 7c1f99e678 Merge remote-tracking branch 'remotes/origin/rel_2.x' 2023-02-21 12:47:02 +01:00
MaxBUhe 126e746651 missing changelog-entry 2023-02-21 12:46:34 +01:00
MaxBuhe01 1c45a16356 bump version 2023-02-21 12:27:52 +01:00
MaxBUhe 1589f202a9 add own cookie-check method; rm unnecessary help-text 2023-02-21 12:09:04 +01:00
MaxBUhe 55bd7b7fb4 adjust module_options meta-docs 2023-02-01 14:27:49 +01:00
MaxBUhe 3c1e6a11ff bump version 2023-01-27 13:47:13 +01:00
MaxBUhe 9ac78a0d43 OST:#573111 fix bug - missing use 2023-01-27 13:43:29 +01:00
MaxBUhe e2bcb34051 bump version 2023-01-27 11:11:09 +01:00
MaxBUhe 4ea0c19d7b Merge remote-tracking branch 'remotes/origin/rel_1.x' into rel_2.x 2023-01-27 11:04:23 +01:00
MaxBUhe 56740f1f10 rm unnecessary method call in gtm_js.tpl 2023-01-27 09:19:05 +01:00
MaxBUhe daed30a585 rm unnecessary entries in metadata 2023-01-27 09:07:22 +01:00
MaxBUhe 48d411ac3f switch head-meta-infos 2023-01-27 09:07:09 +01:00
MaxBUhe b530366cb8 rm unnecessary lang file 2023-01-27 09:06:49 +01:00
MaxBUhe 975d07056a cleaning off branding 2023-01-27 08:59:06 +01:00
MaxBUhe 24bf113d30 switch comment in changelog of 2.0 2023-01-26 09:20:56 +01:00
MaxBUhe ca6a810fa3 add 1.0 section to changelog 2023-01-26 09:16:51 +01:00
MaxBUhe 62b382eadf adding tech-docs; rm unnecessary sections in readme; fixing wrong links 2023-01-26 09:15:10 +01:00
MaxBUhe 45d8e45137 fix missing entries in changelog 2023-01-25 10:58:24 +01:00
MaxBUhe 70f2308575 extend changelog and readme 2023-01-25 10:48:02 +01:00
MaxBUhe 6eb15ec080 add block description 2023-01-20 14:31:39 +01:00
MaxBUhe d722c46a74 bump metadata-version 2023-01-20 11:26:09 +01:00
MaxBUhe d847a34e99 set compatibility to oxid 6.5 and above 2023-01-20 11:24:30 +01:00
MaxBUhe 7b55d1d57c adjust requirements 2023-01-20 11:18:48 +01:00
MaxBUhe a25be1069c rework code to actually fit 6.0.x && 6.1x 2023-01-20 11:18:17 +01:00
MaxBUhe 5200232a32 Merge remote-tracking branch 'remotes/origin/rel_1.x' into dev_1.x_OXID_6.3 2023-01-20 11:11:17 +01:00
MaxBUhe bcd785774b adjusting composer.json to fit corresponding shop-version 2022-12-22 08:56:45 +01:00
MaxBUhe 5ba613df30 add currency to the params 2022-12-21 11:12:35 +01:00
MaxBUhe a1dc0a6a58 fix bug that'd fail in wave and fail iIndex 2022-12-09 14:51:45 +01:00
9 geänderte Dateien mit 228 neuen und 108 gelöschten Zeilen

Datei anzeigen

@ -1,3 +1,3 @@
[{$smarty.block.parent}]
[{include file="event/view_cart.tpl"}]
[{include file="event/view_cart.tpl"}]

Datei anzeigen

@ -1,3 +1,3 @@
[{$smarty.block.parent}]
[{include file="event/view_item.tpl"}]
[{include file="event/view_item.tpl"}]

Datei anzeigen

@ -4,6 +4,144 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.15.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.14.0...2.15.0) - 2024-02-05
### Fixed
- missing Component-ArticleDetails extension, missing ManufacturerListController extension
## [2.14.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.13.1...2.14.0) - 2023-01-22
### Added
- add_to_cart Event to several new shop-pages (landing-page, Account, category article-list, start)
- PHPStan code-cleanup
### Changed
- template structure
- code cleanup
## [2.13.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.13.0...2.13.1) - 2023-01-03
### Fixed
- error on array-count at zero entries
## [2.13.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.12.0...2.13.0) - 2023-09-13
### Added
- extended Docs
### Changed
- control-param name
- control-param function
- adjusted check for set control-param
- consentmanager-script-adjustments
## [2.12.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.11.1...2.12.0) - 2023-09-07
### Added
- cookiebot functionality
## [2.11.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.10.1...2.11.0) - 2023-08-23
### Added
- manufacturer extension
- working debug_mode
### Changed
- check for 'article has been removed'
- general template cleanup
## [2.10.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.10.0...2.10.1) - 2023-08-03
### Added
- missing param to identify the event
## [2.10.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.9.2...2.10.0) - 2023-08-02
### Added
- new Event "remove_from_cart"
## [2.9.2](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.9.1...2.9.2) - 2023-06-29
### Fixed
- wrong variable for category-object check
## [2.9.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.9.0...2.9.1) - 2023-06-27
### Fixed
- deny method call on no category
## [2.9.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.8.0...2.9.0) - 2023-06-27
### Added
- Cookiefirst usability
## [2.8.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.7.0...2.8.0) - 2023-06-23
### Added
- Method to get the in order used Payment-Name
- Method to get the current Article Category
- Following Entries to dedicated event-templates
- coupon
- paymentType
- item_list_name
- item_category
### Changed
- all used template-files have a more dedicated name
- general code cleanup
## [2.7.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.6.0...2.7.0) - 2023-06-19
### Changed
- add_to_cart event template-structure
## [2.6.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.5.0...2.6.0) - 2023-05-31
### Added
- add settings to explicit choose an external service (usercentrics/ consentmanager)
- position to block-extension
- extended instructions to check for in readme
### Fixed
- usercentrics script
- missing right articleList-getter
### Changed
- view_item_list-template block extension
- cookieManager handling
### Removed
- additional check for cookieManagerType
## [2.5.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.4.0...2.5.0) - 2023-05-23
### Added
- additional settings to explicitly indicate that consentmanager is used
### Fixed
- unnecessary converting of int to str
- missing PriceObject-bug
### Changed
- genuine code cleanup
## [2.4.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.3.3...2.4.0) - 2023-05-02
### Added
- "OXID Cookie Management powered by usercentrics" compatibility
- usercentrics defined script attributes
- cookie-manager evaluation
### Changed
- genuine clean up of base-js-files
## [2.3.3](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.3.2...2.3.3) - 2023-03-20
### Fixed
- metadata file path for view_item
## [2.3.2](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.2.2...2.3.2) - 2023-03-17
### Added
- Aggrosoft-Cookie-Consent compatibility
### Fixed
- wrong function for pageview on thankyou page
### Deleted
- unused files
## [2.2.2](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.2.1...2.2.2) - 2023-02-22
### Fixed
- price formatting in view_cart
## [2.2.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.1.1...2.2.1) - 2023-02-21
### Added
- cookie handling
## [2.1.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.1...2.1.1) - 2023-01-27
### Fixed
- add missing class import
## [2.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.0...2.1) - 2023-01-27
### Added
- block section for add_to_basket js
- template block order positions
## [2.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/1.1...2.0) - 2023-01-20
### Added
- using of ContainerFactory in ViewConfig
## [1.15.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/1.14.0...1.15.0) - 2024-01-25
### Fixed
- missing Component-ArticleDetails extension, missing ManufacturerListController extension

Datei anzeigen

@ -10,38 +10,7 @@ Tragen Sie hier im Normalfall die ID des zu prüfenden Cookies ein.
In bestimmten Fällen, müssen Sie hier alternative Werte eintragen. Diese Fälle sind bedingt
nach der gewählten CMP (Consent Manager Platform).
> nähere Infos unter [CMP](#consent-manager-platform-cmp)
## Blöcke
Für den geregelten Ablauf sind folgende Blöcke nötig:
- Suchergebnisse
- Blockname: search_results
- Datei: page/search/search.tpl
- GA4 Event: view_search_results
- Artikelliste
- Blockname: page_list_productlist
- Datei: page/list/list.tpl
- GA4 Event: view_item_list
- Detailseite
- Blockname: details_productmain_title
- Datei: page/details/inc/productmain.tpl
- GA4 Event: view_item
- dem WK hinzufügen (button)
- Blockname: details_productmain_tobasket
- Datei: page/details/inc/productmain.tpl
- GA4 Event: add_to_cart
- aus dem WK entfernen
- Blockname: checkout_basket_main
- Datei: page/checkout/basket.tpl
- GA4 Event: remove_from_cart
- Warenkorb
- Blockname: checkout_basket_main
- Datei: page/checkout/basket.tpl
- GA4 Event: view_cart
- abgeschlossener Kauf
- Blockname: checkout_thankyou_main
- Datei: page/checkout/thankyou.tpl
- GA4 Event: purchase
> nähere Infos unter [CMP](#consent-manager-platform-cmp)
## Verfügbare Datalayer Variablen
Für die einfachste Übersicht der enthaltenen Daten empfehle ich den Vorschau-Modus vom Google Tag Manager.
@ -80,7 +49,7 @@ Aktivieren Sie anschließend diese Weiche. Setzen Sie den Haken bei "Eigenen Coo
- In der Usercentrics-Verwaltung die Services "Google Analytics" und "Google Tag Manager" anlegen
- Den Service ```Google Tag Manager``` in den Moduleinstellungen des 'Google Analytics 4' unter
Google Tag Manager eintragen
-
- [Consent Management Provider](https://www.consentmanager.net/)
- In der Consentmanager-Oberfläche den Anbieter "Google Tag Manager" mit der ID s905 hinzufügen
- Im Frontend, im consentmanager-Pop-up nach dem 'Google Tag Manager' suchen
@ -88,6 +57,9 @@ Aktivieren Sie anschließend diese Weiche. Setzen Sie den Haken bei "Eigenen Coo
- prüfen, ob ein Cookie vorgegeben ist
- sonst, in der Consentmanager-Oberfläche Cookie-Liste entsprechendes Cookie suchen und im Admin unter
```Einstell. > Cookie Manager Einstellungen > Cookie-ID``` eintragen
- [Cookiebot](https://www.cookiebot.com)
- Nähere Informationen folgen bald! Bis dato, besuchen Sie bitte die offizielle Webseite.
- [Cookiefirst](https://cookiefirst.com)
- im Cookiefirst-Hub das jeweilige Cookie finden underen zugeordnete Kategorie kopieren
- die kopierte Kategory wird nun in den Einstellungen des Moduls hinterlegt:
```Erweiterungen > Module > Google Analytics 4 > Einstell. > Cookie Manager Einstellungen > Steuerungsparameter (vormals CookieID)```
- **Wichtig!** bei Nutzung des Consent-Managers von Google, muss zwangsläufig die Einstellung "Cookie manager Nutzen?" __ausgeschalten!__ werden

Datei anzeigen

@ -120,4 +120,4 @@ class BasketController extends BasketController_parent
return false;
}
}
}

Datei anzeigen

@ -18,6 +18,11 @@ use OxidEsales\Eshop\Application\Controller\FrontendController;
use OxidEsales\Eshop\Application\Model\User;
use OxidEsales\Eshop\Core\Config;
use OxidEsales\Eshop\Core\Registry;
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Bridge\ModuleSettingBridgeInterface;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
class ViewConfig extends ViewConfig_parent
{
@ -29,7 +34,10 @@ class ViewConfig extends ViewConfig_parent
{
if ($this->sContainerId === null)
{
$this->sContainerId = Registry::getConfig()->getConfigParam('d3_gtm_sContainerID');
$this->sContainerId = ContainerFactory::getInstance()
->getContainer()
->get(ModuleSettingBridgeInterface::class)
->get('d3_gtm_sContainerID', 'd3googleanalytics4');
}
return $this->sContainerId;
}
@ -46,7 +54,6 @@ class ViewConfig extends ViewConfig_parent
$this->sCookieManagerType = $oManagerHandler->getCurrManager();
}
}
/**
* @return bool
*/
@ -101,7 +108,6 @@ class ViewConfig extends ViewConfig_parent
return true;
}
// Cookie Manager not (yet) supported
return false;
}
@ -144,12 +150,18 @@ class ViewConfig extends ViewConfig_parent
private $blGA4enabled = null;
/**
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function isGA4enabled()
{
if ($this->blGA4enabled === null)
{
$this->sContainerId = Registry::getConfig()->getConfigParam('d3_gtm_blEnableGA4');
$this->sContainerId = ContainerFactory::getInstance()
->getContainer()
->get(ModuleSettingBridgeInterface::class)
->get('d3_gtm_blEnableGA4', 'd3googleanalytics4');
}
return $this->blGA4enabled;
@ -161,7 +173,6 @@ class ViewConfig extends ViewConfig_parent
$oConfig = Registry::getConfig();
$oView = $oConfig->getTopActiveView();
/** @var User|false|null $oUser */
$oUser = $oConfig->getUser();

Datei anzeigen

@ -1,57 +1,57 @@
{
"name": "d3/google-analytics4",
"description": "Google Tag Manager with new Google Analytics 4 for OXID eShop v6",
"type": "oxideshop-module",
"keywords": [
"oxid",
"modules",
"eShop",
"d3",
"google",
"ga4",
"googleanalytics",
"gtm",
"configuration"
],
"homepage": "https://www.d3data.de",
"license": [
"GPL-3.0"
],
"authors": [
{
"name": "Marat Bedoev",
"email": "hello@mb-dev.pro"
},
{
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "https://www.d3data.de"
}
],
"support": {
"email": "support@shopmodule.com"
},
"extra": {
"oxideshop": {
"blacklist-filter": [
"*.md",
"composer.json",
".php-cs-fixer.php",
"*.xml",
"*.neon"
],
"target-directory": "d3/googleanalytics4"
}
},
"require": {
"php": ">=7.1",
"oxid-esales/oxideshop-ce": "v6.0 - v6.3",
"google/apiclient":"^2.0",
"phpstan/phpstan": "^1.8"
},
"autoload": {
"psr-4": {
"D3\\GoogleAnalytics4\\": "../../../source/modules/d3/googleanalytics4"
}
}
{
"name": "d3/google-analytics4",
"description": "Google Tag Manager with new Google Analytics 4 for OXID eShop v6",
"type": "oxideshop-module",
"keywords": [
"oxid",
"modules",
"eShop",
"d3",
"google",
"ga4",
"googleanalytics",
"gtm",
"configuration"
],
"homepage": "https://www.d3data.de",
"license": [
"GPL-3.0"
],
"authors": [
{
"name": "Marat Bedoev",
"email": "hello@mb-dev.pro"
},
{
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "https://www.d3data.de"
}
],
"support": {
"email": "support@shopmodule.com"
},
"extra": {
"oxideshop": {
"blacklist-filter": [
"*.md",
"composer.json",
".php-cs-fixer.php",
"*.xml",
"*.neon"
],
"target-directory": "d3/googleanalytics4"
}
},
"require": {
"php": ">=7.1",
"oxid-esales/oxideshop-ce": "^6.5",
"google/apiclient":" ^2.0",
"phpstan/phpstan": "^1.10"
},
"autoload": {
"psr-4": {
"D3\\GoogleAnalytics4\\": "../../../source/modules/d3/googleanalytics4"
}
}
}

Datei anzeigen

@ -48,7 +48,7 @@ $aModule = [
Die Entwicklung basiert auf einem Fork von Marat Bedoev - <a href='https://github.com/vanilla-thunder/oxid-module-gtm'>Github-Link</a>
",
'thumbnail' => 'thumbnail.png',
'version' => '1.15.0',
'version' => '2.15.0',
'author' => 'Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/',

Datei anzeigen

@ -1,16 +1,15 @@
parameters:
scanFiles:
- IntelliSenseHelper.php
- ../../../../Shops/CE/6.1.x/616_/vendor/oxid-esales/oxideshop-ce/source/bootstrap.php
- ../../../../Shops/CE/6.1.x/616_/vendor/oxid-esales/oxideshop-ce/source/oxfunctions.php
- ../../../../Shops/CE/6.1.x/616_/vendor/oxid-esales/oxideshop-ce/source/overridablefunctions.php
- ../../oxid-esales/oxideshop-ce/source/bootstrap.php
- ../../oxid-esales/oxideshop-ce/source/oxfunctions.php
- ../../oxid-esales/oxideshop-ce/source/overridablefunctions.php
scanDirectories:
- ../../../../Shops/CE/6.1.x/616_/vendor/oxid-esales
- ../../oxid-esales
ignoreErrors:
- '#.*is not subtype of Throwable.*#'
- '#\$sValue of method OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController::addTplParam\(\) expects string,[ a-zA-Z\.]+#'
paths:
- ./
level: 5
phpVersion: 70200
phpVersion: 80100
checkMissingIterableValueType: false