Hi there,
I have my application built in SmartGWT with Google Analytics configured. All the events are getting tracked but some of clicks are not getting recorded.
Full scenario.
Case 1:
I have a button on which i have click handler which produces some results on UI.
Code:
display.getMyButton().addClickHandler(clickEvent -> {
getResults();
});
This works fine and my google analytics is recording the fired event.
Case 2:
I have an another button which fires a backend query to fetch results and i use event bus here,
Code:
display.getDummyButtonIknow().addClickHandler(
clickEvent -> eventBus.fireEvent(new ShowProductCatalogEvent(AppConstant.GUIDE_ME, null, null, null)));
This isn't working , no clicks are getting recognized by Google Analytics.
I have set up both the tags and triggers in a same way in Google Tag Manager. Can you tell my why case 1 is working while second case isn't
and Please provide me a solution to resolve this.
Thanks.
I have my application built in SmartGWT with Google Analytics configured. All the events are getting tracked but some of clicks are not getting recorded.
Full scenario.
Case 1:
I have a button on which i have click handler which produces some results on UI.
Code:
display.getMyButton().addClickHandler(clickEvent -> {
getResults();
});
This works fine and my google analytics is recording the fired event.
Case 2:
I have an another button which fires a backend query to fetch results and i use event bus here,
Code:
display.getDummyButtonIknow().addClickHandler(
clickEvent -> eventBus.fireEvent(new ShowProductCatalogEvent(AppConstant.GUIDE_ME, null, null, null)));
This isn't working , no clicks are getting recognized by Google Analytics.
I have set up both the tags and triggers in a same way in Google Tag Manager. Can you tell my why case 1 is working while second case isn't
and Please provide me a solution to resolve this.
Thanks.
Comment