NYCPlanning / labs-factfinder

New York City Census Reporting Tool
Other
40 stars 12 forks source link

Product owners want google analytics to log events #603

Open trbmcginnis opened 6 years ago

trbmcginnis commented 6 years ago

Google Analytics Bounce Rate only logging some of the events. Unique page views, under the "behavior" tab also aren't being logged anymore.

Based on an alert for GA, it seems like the issue is that the events aren't listed in the right order on the page. The pageview hit needs to come first. Alert text pasted below:

"The Landing Pages report has a (not set) entry. A pageview hit must precede event hits in order for the event hits to include the page that they fire from. When event hits aren't preceded by a pageview, Google Analytics doesn't have the page for the event hits, so their page is (not set). Verify that tracking code for property NYC Population FactFinder sends a pageview hit before sending any events."

Debug using GA Debugger locally

hannahkates commented 5 years ago

Reopening, because the page view counts still aren't being logged on google analytics.