Issue:
If you see the console error
While trying to implement Algolia's connector with GTM and example shown below:

Resolution:
Take these steps to resolve this error:
- In your GTM workspace, go to the Tags section and select Algolia Search Insights.
- In the Tag Configuration panel, expand the Advanced init options.
- Change the Use IIFE bundle option to True.