nystudio107/craft-instantanalytics

autoSendPageView sending template path info

Closed this issue · 1 comments

Question

Hey!

We are seeing some template names coming through to google analytics as below:

Screenshot 2023-09-27 at 18 35 05

Rather than the page titles.

We can see where the issue is coming from as we have autoSendPageView on and in the EVENT_AFTER_RENDER_PAGE_TEMPLATE event addPageViewEvent() is called with no params so the pageTitle uses InstantAnalytics::$currentTemplate instead.

Not sure if this is intended or our setup is wrong, any help much appreciated!

Thanks

Are you asking this question on the right repository? This one is for the older Google Analytics, which has since been shut down by Google.