kendallchristy / mendix-GTM-PageView

Sends either a normal or customized page view event to the Google Tag Manager container that you enter in the widget.
Other
0 stars 0 forks source link

Uknown widget #2

Open WardBrinkEnexis opened 1 year ago

WardBrinkEnexis commented 1 year ago

Hi,

I'm trying to implement this widget in our project in Mendix Studio Pro 8.18.19 and version 1.1.0 of the widet but I get the following error on the page:

image

I already tried to rebuild the deployment directory. Any idea what can cause this?

EDIT: I did some research and I think it has something to do with how Mendix 8 interprets widgets, and that the naming in one of the .xml's is causing this.

WardBrinkEnexis commented 1 year ago

The issue can be solved by changing:

export function GoogleTagManager({

to

export default function GoogleTagManager({

as per this forum post: https://forum.mendix.com/link/space/academy/questions/104218