Skip to content

Commit b2ab2bb

Browse files
feat: enrich mixpanel page events by send all provided properties
1 parent ff71d50 commit b2ab2bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/analytics-plugin-mixpanel/src/browser.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ function mixpanelPlugin(pluginConfig = {}) {
141141
* the path as tracked event and search parameters as properties
142142
*/
143143
page: ({ payload }) => {
144-
mixpanel.track(payload.properties.path, {
145-
search: payload.properties.search,
146-
});
144+
mixpanel.track(payload.properties.path, payload.properties);
147145
},
148146
/* https://developer.mixpanel.com/docs/javascript-full-api-reference#mixpaneltrack */
149147
track: ({ payload }) => {

0 commit comments

Comments
 (0)