diff --git a/plugins/star-rating/frontend/public/templates/feedback-popup.html b/plugins/star-rating/frontend/public/templates/feedback-popup.html index 8f0c0209872..e3edfd06ffe 100644 --- a/plugins/star-rating/frontend/public/templates/feedback-popup.html +++ b/plugins/star-rating/frontend/public/templates/feedback-popup.html @@ -313,8 +313,8 @@ } for (var key in custom) { - if (!event.segmentation[key]) { - event.segmentation[key] = custom[key]; + if (!eventObject.segmentation[key]) { + eventObject.segmentation[key] = custom[key]; } } @@ -484,4 +484,4 @@ <% } %> <% } %> - \ No newline at end of file +