angulartics / angulartics2

Vendor-agnostic analytics for Angular2 applications.
MIT License
1.01k stars 193 forks source link

feat(Piwik): setCustomUrl missing the port info from the URL; se… #368

Closed shahmirn closed 4 years ago

shahmirn commented 4 years ago

setCustomVariable(index, name, value, scope = "visit")

and the example in their documentation is

_paq.push(['setCustomVariable',
    // Index, the number from 1 to 5 where this custom variable name is stored
    1,
    // Name, the name of the variable, for example: Gender, VisitorType
    "Gender",
    // Value, for example: "Male", "Female" or "new", "engaged", "customer"
    "Male",
    // Scope of the custom variable, "visit" means the custom variable applies to the current visit
    "visit"
]);

passing an object to setCustomVariable doesn't work.

shahmirn commented 4 years ago

Also, this is potentially a breaking change, so we should bump the version number.

codecov-io commented 4 years ago

Codecov Report

Merging #368 into master will decrease coverage by 0.15%. The diff coverage is 40%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #368      +/-   ##
==========================================
- Coverage   75.21%   75.06%   -0.16%     
==========================================
  Files          32       32              
  Lines         815      818       +3     
  Branches      147      149       +2     
==========================================
+ Hits          613      614       +1     
- Misses        133      135       +2     
  Partials       69       69
Impacted Files Coverage Δ
src/lib/providers/piwik/piwik.ts 73.01% <40%> (-3.66%) :arrow_down:
src/lib/providers/ga/ga.ts 64.04% <0%> (+1.12%) :arrow_up:

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 d1d75ce...6e714a2. Read the comment docs.

scttcper commented 4 years ago

:tada: This PR is included in version 8.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: