Skip to content

Commit

Permalink
fix: SyntaxError: Unexpected identifier 'userParams' (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiushko authored Nov 23, 2023
1 parent 37c3e9d commit d6234a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/yandex-metrika/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function renderMetrika(params: MetrikaPluginOptions, utils: RenderHelpers
trackHash: ${Boolean(config.trackHash)},
ecommerce: ${config.ecommerce},
type: ${Number(config.type)},
experiments: "${config.encryptedExperiments || ''}"
experiments: "${config.encryptedExperiments || ''}",
userParams: ${JSON.stringify(config.userParams || {})}
});
`,
Expand Down

0 comments on commit d6234a9

Please sign in to comment.