Skip to content

Failed to initialize AppInsights JS SDK: Cannot load Application Insights SDK, no instrumentationKey was provided #27

@29er

Description

@29er

Upon suggestion in the sample, I still continuously get this error, because I defer sending the key until

.config(['$stateProvider', '$urlRouterProvider' , 'insightsProvider', ($stateProvider, $urlRouterProvider, insightsProvider) => {
...
        insightsProvider.start('12345', 'MyApp');
    }])

and more importantly, the tracking is not working.
Is there some sort of option that can be sent in the initial script to fix this ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions