Problem/Motivation

The two events at /admin/config/services/posthog/commerce are named:
Product Added
Order Completed

Is that a Posthog default or something we set?

Without a context "Product Added" is quite unclear.

So I'd vote to make the events configurable using a textfield and predefine a value.
Maybe for the default we should prefix it with "Commerce:"?

Commerce: Product added to cart
Commerce: Order completed

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork posthog-3543766

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

grevil made their first commit to this issue’s fork.

anybody’s picture

Status: Active » Reviewed & tested by the community

Good enough, thanks! If anyone needs it configurable they can do it then.

  • grevil committed c3d672ce on 2.x
    feat: #3543766 Prefix commerce events or make them configurable
    
grevil’s picture

Assigned: grevil » Unassigned
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.