segment-integrations / analytics.js-integration-kissmetrics

The Kissmetrics analytics.js integration.
https://segment.com/docs/integrations/kissmetrics/
MIT License
0 stars 2 forks source link

Update KISSMetrics page call #6

Closed f2prateek closed 8 years ago

f2prateek commented 8 years ago

Ref: https://github.com/segmentio/integration-kissmetrics/pull/8

Updates the page method so that:

  1. Page properties are never prefixed by name/category.
  2. Page properties always are prefixed by "Page - "

This means that users that had the enablePrefix option will now not see their properties prefixed by the page name/category, and always see 'Page' as the prefix. So the 'Docs - url' property would become 'Page - url'.

Users that had the option disabled, will now see all properties prefixed with 'Page' (still the same behaviour as above). So the 'url' property would become 'Page - url'.