Method |
Description |
|
getName ( ) : string |
The name of the dimension which will be visible for instance in the UI of a related report and in the mobile app. |
|
onEcommerceCartUpdateConversion ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action, GoalManager $goalManager ) : mixed | false |
This event is triggered when an ecommerce cart update is converted. In this example we would store a
the value of the tracking url parameter "myCustomParam" in the "example_conversion_dimension" column. |
|
onEcommerceOrderConversion ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action, GoalManager $goalManager ) : mixed | false |
This event is triggered when an ecommerce order is converted. In this example we would store a "0" in case it
was the visitors first action or "1" otherwise. |
|
onGoalConversion ( Request $request, Piwik\Tracker\Visitor $visitor, Action | null $action, GoalManager $goalManager ) : mixed | false |
This event is triggered when an any custom goal is converted. In this example we would store a the id of the
goal in the 'example_conversion_dimension' column if the visitor is known and nothing otherwise. |
|