1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Commit Graph

9 Commits

Author SHA1 Message Date
Kevin Heis
30b2f8fd1d Fix chrome not sending exit events (#16488)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-11-19 10:02:53 -05:00
Sarah Schneider
7848e3ce08 return early instead of erroring out on nonstandard page 2020-11-16 20:42:26 -05:00
Kevin Heis
714ca0263b Add hostname to events (#16419)
...so that its easier to filter out localhost and herokuapp domains
2020-11-16 09:49:12 -08:00
Kevin Heis
09cb922a3a Record copy event (#16177)
* Record copy event

* Update events.js

* Update javascripts/events.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update events.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2020-10-23 09:53:36 -07:00
Kevin Heis
c3bff7f26c Trigger event when user clicks external link (#16156)
* Trigger event when user clicks external link

* Use event delegation for link events
2020-10-22 15:26:11 -07:00
Kevin Heis
c4cf788d68 Send navigate events to Hydro (#16160)
* Send navigate events to Hydro

* Use event delegation on links
2020-10-22 15:17:18 -07:00
Kevin Heis
380c4dcc82 Hydro exit event (#16067)
* Start a basic exit event

* Combine to one performance function

* Lint

* Fancy operators

* Update events.js

* Update events.js

* Update cookie-settings.js

* Add scroll tracking

* Tell "standard" to use babel-eslint

* Throttle scroll tracking

* Lint

* Use sendBeacon

* Update index.js
2020-10-21 09:42:02 -07:00
Kevin Heis
c56065784a Create a user agent parser for analytics (#15915)
* Create a user agent parser for analytics

* Update user-agent.js

* Update user-agent.js

* Update user-agent.js

* Use user agent parser and remove test code

* Add some tests for user agents

* Add regeneratorRuntime

* Add babel-preset

* Just guessing at this point

* Update package.json

* Revert package changes
2020-10-21 07:43:09 -07:00
Kevin Heis
7c0c493c35 Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00