After migrating to v3, I get the following error: ...
# support
p
After migrating to v3, I get the following error: DeviceModeDestinationsPlugin:: Failed to initialize destination Google-Analytics-4-(GA4)___2R7Rv9MjDhkPmNqZzsy5atxGABq. Cannot read properties of undefined (reading 'getAnalyticsInstance')
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 Tim have you added this line of code ?
Copy code
`window.rudderanalytics = rudderAnalytics; `⁣