mapboard icon indicating copy to clipboard operation
mapboard copied to clipboard

Deploy analytics

Open ajrothwell opened this issue 7 years ago • 6 comments

ajrothwell avatar Jun 02 '17 17:06 ajrothwell

Per a conversation with @timwis, basic pageviews should be sent to the main phila.gov GTM container, and anything more detailed (e.g. button clicks) should go into the GSG container.

bertday avatar Nov 02 '17 17:11 bertday

User events we want to track:

  • [ ] Topic button clicks
  • [ ] Imagery button clicks

@tswanson @ajrothwell anything I'm forgetting?

bertday avatar Nov 02 '17 17:11 bertday

For topic clicks, we'll need to add some kind of data- attribute to the topic header links to know which one was clicked.

bertday avatar Nov 07 '17 02:11 bertday

Added attribute data-topic-key in 48f07c67cc0ce1601f9defb46fd8955c13a394f2.

bertday avatar Nov 08 '17 14:11 bertday

Both Atlas and CityAtlas (develop branches) now have two GTM containers: phila.gov and GIS Services Group. Next, set up tracking for topic header clicks.

bertday avatar Nov 09 '17 23:11 bertday

Topic clicks are now being tracked, however this includes when a topic is closed. There needs to be a class applied to topics that are open, or we have to write a fancy CSS selector, to determine whether the click was an open event or not.

bertday avatar Nov 15 '17 20:11 bertday