Hi Support team!, I would like to know if these er...
# support
c
Hi Support team!, I would like to know if these errors only appear because I am on localhost. Everything seems to work except these 3 destinations (GTM, linkedin, Hotjar). I want to be sure before going into production. The configuration seems to be all good.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Dilver, can you share the rudderanaltics.load() call that you are making. You may need to add these plugins when making the above call (when using the new rudder-js SDK v3) as these 3 are device-mode destinations.
c
I definitely don’t have what you mention. I only pass the key and the URL of the Data Plane
m
What version of the SDK are you using?
c
Copy code
^3.0.0-beta.17
The documentation says that by default it loads all plugins and loads all integrations, so it should be fine.
m
Yes I am just confirming with the team.
🙌 1
c
Doing my tests, using the code snippet instead of the npm package, it doesn’t give me any errors. I think for the moment I’m going with this alternative. I will still be attentive when the npm package is resolved
h
Hi @chilly-postman-34074 You missed an important step for the NPM installation:
Copy code
window.rudderanalytics = rudderAnalytics;
The newly created SDK instance needs to be exposed to the window. It is mentioned in our documentation. https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/v3/#using-npm
🙌 1
Please let us know if you still face any issues with the NPM installation.
c
Thank you very much, that seems to be what I was missing. Everything is fine for the NPM package.