Track Commerce order completed event (commerce_order.place.post_transition)

Created on 23 January 2025, 6 days ago

Problem/Motivation

Hi, I was wondering why Google Tag is not tracking
commerce_order.place.post_transition event for completed orders.

Instead, it just seems to track fully paid orders?

  /**
   * {@inheritDoc}
   */
  public static function getSubscribedEvents(): array {
    return [
      OrderEvents::ORDER_PAID => 'onPaid',
    ];
  }

https://git.drupalcode.org/project/google_tag/-/blob/2.0.x/src/EventSubs...

Isn't that incorrect, or at least something else?
I'd like to understand the reason.

Thank you!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024