Skip to content

Commit e4c0657

Browse files
committed
feat(intercom): add userHash support
1 parent 4381c29 commit e4c0657

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ function intercomPlugin(pluginConfig = {}) {
106106
horizontalPadding,
107107
verticalPadding,
108108
customLauncherSelector,
109+
userHash,
109110
} = config;
110111
if (!appId) {
111112
throw new Error("No intercom appId");
@@ -156,6 +157,7 @@ function intercomPlugin(pluginConfig = {}) {
156157
horizontal_padding: horizontalPadding,
157158
vertical_padding: verticalPadding,
158159
custom_launcher_selector: customLauncherSelector,
160+
user_hash: userHash,
159161
};
160162
},
161163
/* Trigger intercom page view */

0 commit comments

Comments
 (0)