Repository navigation
feat: add custom event name support in pinterest v5 - #2773
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/v1.47.0 #2773 +/- ##
===================================================
- Coverage 87.14% 87.13% -0.01%
===================================================
Files 766 766
Lines 28445 28443 -2
Branches 6657 6655 -2
===================================================
- Hits 24787 24785 -2
Misses 3321 3321
Partials 337 337
☔ View full report in Codecov by Sentry. |
|
Kudos, SonarCloud Quality Gate passed! |
| @@ -179,10 +179,8 @@ steps: | |||
| eventNames = $.convertToSnakeCase(eventNames); | |||
| eventNames.length === 0 ? eventNames = $.ecomEventMaps.(){eventInLowerCase in .src}.dest[] ?? []; | |||
| (eventNames.length === 0 && .destination.Config.sendAsCustomEvent) ? eventNames = ["custom"]; | |||
There was a problem hiding this comment.
Is this toggle destination.Config.sendAsCustomEvent still required ? Can't we consider the events as custom ones if they are not part of ecomEventMaps ?
There was a problem hiding this comment.
If this toggle is enabled then we send the event name "custom" which is one of the allowed events in Pinterest. If this toggle is disabled we will send the event name as it is.








Description of the change
Type of change
Related issues
Checklists
Development
Code review