adopted-ember-addons / adopted-ember-addons/ember-metrics

[mixpanel] Expose additional initialization options

オープン
#256 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
367
フォーク
158
PR マージ指標
30日以内にマージされた PR はありません

説明

There are certain use cases where the default initialization options for the mixpanel client won't be sufficient: for example, [implementing mixpanel in the EU](https://developer.mixpanel.com/docs/implement-mixpanel#implementing-mixpanel-in-the-european-union-eu), which requires a different `api_host`.

It would be great to allow users to specify these in the environment config and pass them through to [mixpanel.init](https://github.com/adopted-ember-addons/ember-metrics/blob/master/addon/metrics-adapters/mixpanel.js#L21)

Looks like #229 and/or #244 might address this issue.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。