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

Multiple adapter settings that depends on current route

Aperta
#134 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
367
Fork
158
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

We've got to the point where across single application we need to use the same adapter with 2 different configurations. Is there any way to achieve it without extending ember-metrics API, so I can use for example ember-metrics with GoogleAnalytics adapter with 1 config on some specific routes and with another on all other (the whole app will have one config except few routes). The problem is that if I've 2 Google Analytic adapters, only the first one is tracking data (even if 2 of them are initialized).

Issue seem to be connected to https://github.com/poteto/ember-metrics/issues/91

Thanks in advance for any help.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.