
外掛標籤
開發者團隊
② 後台搜尋「EventLoomix – Data Layer for Google Tag Manager」→ 直接安裝(推薦)
原文外掛簡介
EventLoomix – Data Layer for Google Tag Manager creates structured data-layer events from WordPress, WooCommerce and supported form-provider signals. It can use an existing GTM installation or install a configured GTM container after the administrator confirms that visitor consent has been configured.
Ecommerce events
view_item and view_item_list
select_item
add_to_cart and remove_from_cart
view_cart and begin_checkout
add_shipping_info and add_payment_info
purchase with transaction and item data
Form events
form_start after real visitor interaction
form_submit and generate_lead after confirmed success
Optional form_error and form_abandon
Individual controls for supported form providers
Optional original and SHA-256 hashed submitted fields
Privacy and data handling
Original submitted form data is disabled by default. SHA-256 field output can be enabled separately. Free-text message and textarea fields require a separate opt-in. Passwords, uploaded files, payment-card data, CVV, OTP, security tokens and CAPTCHA values are always excluded.
When consent enforcement is enabled, personal form fields and purchase customer data require marketing consent. Product-list attribution storage requires statistics consent. The plugin supports WP Consent API signals and exposes ATEGTMConsent.set({statistics: true, marketing: true}) for consent platforms that need a direct integration.
The plugin does not operate an external analytics service. It places configured events into the site’s browser data layer. The site owner controls GTM tags, third-party destinations, visitor consent and retention. Same-tab temporary form data expires within five minutes and is removed after confirmed submission.
An optional built-in consent banner provides Accept all, Reject all and granular Analytics/Advertising choices. Choices are stored in a first-party cookie and can be changed later using the Privacy choices button. The banner communicates Google Consent Mode v2 signals and can interoperate with the WP Consent API. Site owners remain responsible for suitable wording, regional configuration and legal compliance.
Google Tag Manager and Google Analytics are trademarks of Google LLC. This plugin is independently developed and is not affiliated with or endorsed by Google.
External services
This plugin can optionally load Google Tag Manager when an administrator selects the managed mode and supplies a Google Tag Manager container ID. In that mode, the visitor’s browser requests the GTM script or no-script iframe from www.googletagmanager.com. The request can disclose standard connection information such as the visitor’s IP address, browser user agent, referring page and the configured container ID to Google. Tags configured by the site owner inside that container may send additional data to services chosen by the site owner. The plugin does not control those tags.
No Google Tag Manager request is made by this plugin in Data Layer only, Test, or Disabled mode. Site administrators are responsible for configuring consent and the tags in their container before enabling managed mode.
Google provides this service. See the Google Tag Manager Terms of Service and Google Privacy Policy.
Source code
All JavaScript distributed in this plugin is the human-readable, directly editable source. No minified production bundle or build step is used. The files in assets/js/ are loaded directly by WordPress.
Do not enable two WooCommerce ecommerce data-layer generators at the same time. If GTM4WP or a similar plugin generates ecommerce events, disable ecommerce in one plugin.
