aliemteam / aliemcards

ALiEM Cards - markdown and website
https://www.aliemcards.com
MIT License
4 stars 8 forks source link

Analytics #161

Closed jvoros closed 7 years ago

jvoros commented 7 years ago

Google Analytics page tracking up and running

codecov-io commented 7 years ago

Codecov Report

Merging #161 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #161   +/-   ##
=======================================
  Coverage   77.21%   77.21%           
=======================================
  Files          15       15           
  Lines         373      373           
  Branches      103      103           
=======================================
  Hits          288      288           
  Misses         85       85

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f542cfc...ef84a89. Read the comment docs.

jvoros commented 7 years ago

It doesn't look like much but I spent at least 8 hours on this! That autotrack module from Google is brainless once it is working. Auto tracking URL changes without any fiddling with react-router etc.

But it is published as ES2015 code, even via the npm package.

Plus all the time in the weeds...had been using a 3rd party plugin that tied into react-router, but that required hooking into history changes, which is surprisingly difficult in react-router - should be easy...

Anyway...this is what my travails have yielded. And it is actually tracking in Google Analytics.