react-metrics
react-metrics copied to clipboard
Send target element along with track call
We want to be able to default some track attributes based on the element type. If we have context of the clicked element we can begin auto tracking alot of data.
Codecov Report
Merging #50 into master will increase coverage by
<.01%. The diff coverage is100%.
@@ Coverage Diff @@
## master #50 +/- ##
==========================================
+ Coverage 99.3% 99.31% +<.01%
==========================================
Files 15 15
Lines 433 435 +2
==========================================
+ Hits 430 432 +2
Misses 3 3
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/core/useTrackBindingPlugin.js | 100% <100%> (ø) |
:arrow_up: |
| src/core/createMetrics.js | 99.45% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 84f6ce3...9b7528d. Read the comment docs.
@mmairs9 I'm down to merge this if you can just make the couple small changes noted in the review.