-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi everyone!
In my Angular(version 16) project I am using amplidu js library("amplitude-js": "^8.21.9"). At this moment I Can not create two amplitude instance with different apiKeys. I have console error createInstance() method does not exists. How I can create two different amplitude instance in my angular project?
const defaultInstance = amplitude.createInstance();
defaultInstance.init('API_KEY_DEFAULT');
const envInstance = amplitude.createInstance();
envInstance.init(environment.amplitudeAffiliateApiKey, {
instanceName: 'env',
});
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working