@Findus23 opened this Issue on April 26th 2021 Member

reported in https://forum.matomo.org/t/switch-goal-type-after-creation/41593/2

Expected Behavior

One can create a goal with type "send an event" and afterwards switch the type successfully

Current Behavior

  • create a new goal with "send a goal" set
  • tick Use the event value (if it exists) as the goal conversion revenue.
  • save the goal
  • edit the goal
  • change the type to "visit a given URL"
  • notice how the "Use the event value..." UI dissapears, but still seems to be ticked
  • save the goal
  • see 'useEventValueAsRevenue' can only be 1 if the goal matches an event attribute.

Possible Solution

Whenever the UI is hidden, the value should also be set to 0 as 1 doesn't make any sense anymore

Powered by GitHub Issue Mirror