Skip to content

Releases: keen/keen-tracking.js

v3.2.0

10 Aug 09:20
Compare
Choose a tag to compare

v3.1.2

08 Aug 13:14
Compare
Choose a tag to compare

New AutoTracking feature:

  • Ability to collect the pageview data when the guest is leaving (unloading) your website.
    This way you will get exact number of seconds time_on_page, or milliseconds to be more precise time_on_page_ms. You will get information about scroll_state, that will help you determine in which point people stop reading your content.

To use it, pass this option to your initAutoTracking method

recordPageViewsOnExit: true,

More configuration options

v3.1.0

30 Jul 16:20
Compare
Choose a tag to compare

New:

  • AutoTracking and Listeners are now using the Beacon API to record clicks and form_submissions in a much faster non-blocking manner

  • The autoTracking referrer object receives a new key called: initial. Usage: Let's imagine that your guest visited your website 10 times in the last 30 days. Initial referrer is the url that was the very first referrer for this guest.

  • Server-side tracking is now Promise-based: recordEvent method returns a Promise. Callbacks are still supported by our library, so it's up to you which coding style you prefer.

v3.0.0

20 Jul 08:59
Compare
Choose a tag to compare

New:

AutoTracking - IP addresses

26 Jun 10:22
Compare
Choose a tag to compare

New:

  • Turn off IP collecting with:
    client.initAutoTracking({ collectIpAddress: false });

Fetch & Promises

20 Jun 14:36
Compare
Choose a tag to compare

New:

  • Fetch API is now the default method of communication. Polyfill of Fetch included.
  • client.recordEvent returns a Promise. Polyfill of Promise included.

FIXED:

  • auto-tracking listeners will wait more than 500ms if necessary

Fixes

25 May 08:27
Compare
Choose a tag to compare

FIXED:

  • Listener for HTML A tags containing downloadable base64 data. (#128 contributed by hinaloe)

Move from Gulp to Webpack / UMD

24 May 14:56
Compare
Choose a tag to compare

We are upgrading our development tools to match current trends

NEW

  • all JS /dist files are now bundled by Webpack 4.8.3 - UMD!

1.4.1 Fixes

30 Apr 11:21
Compare
Choose a tag to compare

NEW:

  • Cookie sharing across subdomains: client.initAutoTracking({ shareUuidAcrossDomains: true }); (#104 contributed by jmousseau)

FIXED:

  • Gracefully handle a tags without hrefs (#105)
  • Avoid refreshing window when href="#" (#111)
  • Don't attempt to clone a function attribute in deepExtend (#106)
  • Record deferred events loop (#110)

v1.4.0 Protocol Handling and Dev Setup

05 Oct 20:34
Compare
Choose a tag to compare

NEW:

  • Server-side tracking now respects the "http" value for protocol option, using the http module. Previously this always used https, regardless of the configuration value, which can cause issues for internal proxies (#82, via #92 contributed by lukechilds)
  • Auto-tracking now records page.time_on_page (seconds) for all events

FIXED:

  • This project now builds and runs correctly in NodeJS v7 and v8 (#95, via #96 contributed by lukechilds)