- Add facebook-custom-audiences integration
- fix analytics.js singleton export
-
Move core library out to segmentio/analytics.js-core
This repository is now purely a build repository for Analytics.js. For analytics.js's core library, see segmentio/analytics.js-core; for integrations, see the segment-integrations organization.
- Remove deprecated analytics.js-integrations dependency
- Update build
- Pull integrations from individual repositories, located in the segment-integrations GitHub organization. This change should be unnoticeable from a user perspective, but has huge benefits in that excluding integrations from custom builds is now much, much easier, and one integration's test failures will no longer prevent another integration's tests from running.
A noteworthy part of this change: All integrations are now pulled into Analytics.js in component.json
, using an explicit version number.
In the future this part of the build process is very likely to change to be more of an automatic process, but for now--baby steps.
- Update build (for real this time)
- Update build
- Update component/url dependency to 0.2.0
- Update build
- Update build
- Update build
- Clean up Makefile
- Pin all dependencies
- Bump Node.js engine dependency to 0.12
- Bump duo-test dependency
- Build updated
- Build updated
- Build updated
- Build updated
- Build updated
- deps: bump top-domain for test cookie deletion fix
- cookie: bump top-domain to v2 to catch all top domains
- Build updated
- Fix conflicts
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Build updated
- adding pre-release hook (and make targets for hooks)
- Build updated
- Build updated
- Build updated
- Build updated
- Build updated
- Build updated
- adding a build phony target
- group: fix typo
- entity: add debug warning for memory store
- test: add fallback to memory tests
- entity: fallback to memory
- add memory store
- entity: fallback to localstorage when cookies are disabled
- tests: add localstorage fallback tests
- dist: rebuild
- Updating analytics.js-integrations
- Attach page metadata to all calls as
context.page
- normalize: remove trailing comma
- dist: rebuild to make tests pass
- normalize: remove redundant keys from toplevel
- Release 2.6.11
- normalize: keep traits in options
- normalize: keep traits in options
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- removed duplicate .on('initialize') from analytics constructor
- update integrations
- analytics: less verbose logging
- analytics.js: cleanup plan
- analytics.js: add debugs
- normalize: dont clobber and add tests
- analytics: use normalize removing message()
- add normalize.js
- Updating analytics.js-integrations
- plan: .archived -> .enabled
- user: fix old anonymous id
- .track(): ignore archived events
- ._options(): preserve options
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- Fix release
- Updating analytics.js-integrations
- update integrations
- analytics: add setAnonymousId
- Updating analytics.js-integrations
- tests: skip svg tests on legacy browsers
- travis: node 0.11.13
- trackLink: support svg anchor tags
- add cross browser tests
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- clean: --force to ignore errs
- Updating analytics.js-integrations
- Updating analytics.js-integrations
- support umd
- Updating analytics.js-integrations
- Updating analytics.js integrations to 1.3.2
- upgrade integrations to 2.3.1
- upgrade integrations to 2.3
- upgrade integrations.
- Merge pull request #407 from segmentio/prevent/duplicates
- fix: prevent duplicates when cookie cannot be set
- Merge pull request #406 from segmentio/fix/user-id-reset
- fix: prevent anonymousId from changing when user id is reset
- Merge pull request #405 from segmentio/fix/old-anonymous-id
- fix: old anonymousId is not stringified, use raw cookie
- Release 2.4.0
- anonymousId: re-generate when user id changes
- Merge pull request #401 from segmentio/anonymous-id
- analytics.reset(): use .logout() to preserve options
- logout: remove anonymous id
- parseQuery: add ajs_aid
- analytics add anonymousId support
- add User#anonymousId
- Release 2.3.33
- upgrade integrations
- upgrade integrations
- upgrade integrations
- history.md: ocd
- upgrade integrations
- add reset(), closes #378
- upgrade integrations
- upgrade integrations
- upgrade integrations
- add node 0.11 notice for now
- upgrade integrations
- upgrade integrations
- upgrade integrations
- ocd
- upgrade integrations
- upgrade integrations
- upgrade integrations
- deps: duo 0.7
- deps: duo 0.7
- Merge pull request #397 from segmentio/add/anonymous-id
- add checking for anonymous id in options
- google adwords: directly pass remarketing option
- deps: upgrade to duo-test@0.3.x
- google adwords: switch to async api
- localstorage fallback: add implementation
- localstorage fallback: add tests
- rebuild
- deps: upgrade to duo 0.7
- make: dont clean my npm cache :P
- remove userfox
- merge a few more fixes (keen.io)
- Make lots of analytics.js-integrations fixes
- Merge pull request #390 from segmentio/test/element-error
- throw helpful error when passing string to
trackLink
, closes #389 - Merge pull request #386 from segmentio/context
- add integrations select test
- add backwards compat options object support
- upgrade integrations
- upgrade integrations
- upgrade integrations
- fix: History.md
- rebuild
- deps: remove duo-package
- make: test-saucelabs -> test-sauce
- use analytics.js-integrations 1.2.0 which removes plugin.Integration
- set .analytics on integration instance
- loosen deps
- rebuild
- rebuild
- fix fxn
- fix typo
- bump analytics.js-integrations with bing/bronto fixes
- add
.add
for test-friendliness - make-test: kill the server when done testing
- tests: add reporter option
- update readme
- make-test: make sure we use the correct phantomjs(1)
- bumping store.js dep to 2.0.0
- update readme
- converting to use duo
- bump analytics.js-integrations to 0.9.9
- bump analytics.js-integrations to 0.9.8
- bump analytics.js-integrations to 0.9.7
- bump analytics.js-integrations to 0.9.6
- bump analytics.js-integrations to 0.9.5
- bump analytics.js-integrations to 0.9.3
- bump analytics.js-integrations to 0.9.2
- upgrade integrations to 0.9.1
- upgrade integrations to 0.9.0
- update analytics.js-integrations dep for reverting KISSmetrics fixes
- updating analytics.js-integrations to 0.8.0 for KISSmetrics fixes
- upgrade integrations to 0.7.0
- upgrade facade to 0.3.10
- handle dev envs correctly, closes #359
- upgrade integrations to 0.6.1 for google analytics custom dimensions and metrics
- upgrade integrations to 0.5.10 for navilytics fix and mixpanel fix
- component: upgrade to 0.19.6 and add githubusercontent to remotes
- upgrade integrations to 0.5.8
- upgrade integrations to 0.5.6
- move analytics.js-integration to dev deps
- upgrade integrations to 0.5.5
- update querystring to 1.3.0
- upgrade integrations to 0.5.4
- add "invoke" event
- upgrade integrations to 0.5.3
- upgrade querystring to 1.2.0
- upgrade integrations to 0.5.1
- upgrade integrations to 0.5.0
- fix: add .search to .url when url is pulled from canonical tag
- tests: upgrade gravy to 0.2.0
- upgrade integrations to 0.4.14
- upgrade integrations to 0.4.13
- upgrade integrations to 0.4.12
- upgrade integrations to 0.4.11
- upgrade integrations to 0.4.10
- upgrade integrations to 0.4.9
- upgrade integrations to 0.4.8
- upgrade integrations to 0.4.7
- upgrade integrations to 0.4.6
- upgrade integrations to 0.4.5
- upgrade facade to 0.2.11
- upgrade integrations to 0.4.4
- update integrations to 0.4.2
- upgrade analytics.js-integrations to 0.4.1
- dont reset ids and traits
- upgrade analytics.js-integrations to 0.4.0
- upgrade analytics.js-integration to 0.1.7
- upgrade facade to 0.2.7
- fix page url default to check canonical and remove hash
- upgrade isodate-traverse to
0.3.0
- upgrade facade to
0.2.4
- upgrade analytics.js-integrations to
0.3.10
- update analytics.js-integrations to 0.3.9
- update
analytics.js-integrations
to0.3.8
- expose
require()
- update
analytics.js-integrations
to0.3.7
- upgrade
facade
to0.2.3
- update
analytics.js-integrations
to0.3.6
- upgrade
component(1)
for json support
- upgrade
analytics.js-integrations
to0.3.5
- upgrade
facade
to0.2.1
- upgrade
analytics.js-integrations
to0.3.4
- fix
facade
dependency
- upgrade
analytics.js-integrations
to0.3.2
- add #push, fixes #253
- add
facade
- upgrade
analytics.js-integrations
to0.2.16
- add
search
to page property defaults
- upgrade
analytics.js-integrations
to0.2.15
- add WebEngage
- heap: fallback to user id as handle
- upgrade
analytics.js-integrations
to0.2.13
- update
analytics.js-integrations
to0.2.12
- add
entity
- change
user
to inherit fromentity
- change
group
to inherit fromentity
- update
analytics.js-integration
to0.1.5
- update
analytics.js-integrations
to0.2.11
- fix
page
method properties overload
- update
analytics.js-integrations
to0.2.10
- update
analytics.js-integrations
to0.2.9
- update
analytics.js-integrations
to0.2.8
- add
name
andcategory
defaults topage
method calls - update
analytics.js-integrations
to0.2.7
- update
analytics.js-integrations
to0.2.6
- update dependencies
- update
analytics.js-integrations
to0.2.5
- update
analytics.js-integrations
to0.2.4
- update
analytics.js-integrations
to0.2.3
- update
analytics.js-integration
to0.1.4
- update
analytics.js-integrations
to0.2.2
- fix
properties
overload forpage
method
- update
analytics.js-integrations
to0.2.1
- update
analytics.js-integrations
to0.2.0
- rename the page methods
section
argument tocategory
- update
analytics.js-integration
- update
analytics.js-integrations
- change
page
to take asection
- update
analytics.js-integration
- update
analytics.js-integrations
- change
pageview
method topage
- add call to
page
as mandatory to initialize some analytics tools - remove ability to
initialize
bykey
- add checking for an integration already being loaded before loading
- add
#use
method for plugins - add event emitter to
analytics
- move integrations to
analytics.js-integrations
- add debugging to all integrations
- move integration factory to
analytics.js-integration
- Amplitude: rename
pageview
option totrackAllPages
- Amplitude: add
trackNamedPages
option - Google Analytics: add
trackNamedPages
option - Google Analytics: remove
initialPageview
option - Keen IO: rename
pageview
option totrackAllPages
- Keen IO: add
trackNamedPages
option - Keen IO: remove
initialPageview
option - Lytics: remove
initialPageview
option - Mixpanel: rename
pageview
option totrackAllPages
- Mixpanel: add
trackNamedPages
option - Mixpanel: remove
initialPageview
option - Olark: rename
pageview
option topage
- Tapstream: remove
initialPageview
option - Tapstream: add
trackAllPages
option - Tapstream: add
trackNamedPages
option - Trak.io: remove
pageview
option - Trak.io: remove
initialPageview
option - Trak.io: add
trackNamedPages
option - Woopra: remove
initialPageview
option
- adding convert-date 0.1.0 support
- hubspot: adding fix for date traits/properties (calvinfo)
- upgrade visionmedia/debug to most recent version, fixes security warnings when cookies are disabled.
- add event emitter
- add
initialize
,ready
,identify
,alias
,pageview
,track
, andgroup
events and tests - fix date equality tests
- Google Analytics: fix ip anonymization should come after
create
- Google Analytics: fix domain to default to
"none"
- Customer.io: added preliminary
group
support
- propagating traverse isodate fix
- added Yandex Metrica, by @yury-egorenkov
- fixed bug in
_invoke
not cloning arguments
- added conversion of ISO strings to dates for
track
calls
- fixed bug in key-only initialization
- UserVoice: added
classicMode
option
- UserVoice: fixed bug loading trigger with new widget
- added
debug
method, by @yields
- UserVoice: updated integration to handle the new widget
- added Awesomatic, by @robv
- fixed bug in
ready
causing it to never fire with faulty settings - fixed all
ready()
calls to always be async - cleared ready state after all analytics core
initialize
tests
- Crazy Egg: renamed from
CrazyEgg
- Google Analytics: changed
universalClient
option toclassic
- Google Analytics: changed
classic
default tofalse
- Keen IO: changed pageview options defaults to
false
- LeadLander: changed
llactid
option to human-readableaccountId
* Intercom: make#IntercomDefaultWidget
the default activator
- exposed
createIntegration
andaddIntegration
- added Spinnakr
- removed old
Provider
for anintegration
factory
- exposed
group
via the#group
method - exposed
user
via the#user
method - started caching
group
in cookie and local storage likeuser
- changed
user
andgroup
info to always be queried from storage - bound all
analytics
methods as a singleton - added
identify(traits, options)
override - added
timeout
setter method
- added Rollbar, by @coryvirok
- Olark: added tests for empty emails, names and phone numbers
- converted all integrations and their tests to a cleaner format
- renamed all instances of "provider" to "integration"
- built integration list from their own
name
to avoid bugs - changed
_providers
array to an_integrations
map
- added awe.sm
- UserVoice: fix bug where some installations wouldn't show the tab
- Clicky: fixed custom tracking, added
pageview
- updated
segmentio/new-date
for old browser support - Woopra: fixed default pageview properties
- Intercom: cleaned up identify logic and tests
- pinned all dependencies
- added Inspectlet
- fixed storage options tests
- AdRoll: added custom data tracking
- bumped version of
ianstormtaylor/is
for bugfix
- Spinnakr: added global variable for site id
- LeadLander: switched to non
document.write
version - Customer.io: convert date objects to seconds
- fixed
is.function
bug in old browsers
- cleaned up core
- fixed breaking tests
- removed Bitdeli, by @jtuulos
- updated Woopra to use new tracker, by @billyvg
- added trak.io, by @msaspence
- added
createIntegration
interim method - added more Lytics options, by @slindberg and @araddon
- added trait alias to trak.io
- added MouseStats, by @Koushan
- added Tapstream, by @adambard
- allow Mixpanel to name users by
username
- allow GoSquared to name users by
email
orusername
- make Google Analytics ignored referrers an array
- update Errorception cdn
- Added LeadLander
- Added cookieName to Mixpanel options - 0a53afd
- Added Visual Website Optimizer
- Intercom: added
group
support
- Fix for cookie domains, now sets to subdomain friendly by default.
- Renaming bindAll -> bind-all
- Added
group
support to Preact by @azcoov - Fixed
created
bug with userfox - Changed to new Vero CDN URL
- Fixed bug when initializing unknown providers
- Added
options
object topageview
by @debangpaliwal
- Adding segmentio/json temporarily, fixing json-fallback
- Updated Intercom's library URL
- Added trailing comma fix
- Added fix for UserVoice displaying
'null'
- Added
make clean
before running components (fixes json fallback)
- Fixed bug with Google Analytics not tracking integer
value
s
- Switched from cookie-ing to localStorage
- Moved trait parsing logic to the global level
- Added Improvely
- Added Get Satisfaction
- Added a
$phone
alias for Mixpanel - Added the ability to pass a function for the
event
totrackLink
andtrackForm
- Added Amplitude support
- Fixed improperly parsed cookies
- Fixed bug with Google Analytics being ready to soon
- Added Optimizely
- Fixed handling of
increments
anduserHash
fromoptions.Intercom
- Added
identify
to SnapEngage integration
- Added
group
method
- Updated Keen to version 2.1.0
- Fixed bug affecting Pingdom users
- Added identify to UserVoice
- Fixing userfox integration to accept all traits not just signup_date
- Fixing ordering of ignore referrer option in Google Analytics
- Adding support for userfox
- Adding new ignoreReferrer option to Google Analytics provider
- Adding new showFeedbackTab option to BugHerd provider
- Updating UserVoice provider to work with their new snippet(s)
- Fixing Errorception window.onerror binding to be friendlier
- Adding url and title to mixpanel pageviews
- Addiung url and title to keen pageviews
- Fixed GoSquared relying on `document.body
- Adding support for Pingdom RUM
- Adding support for AdRoll
- Fixing LiveChat test
- Updating mixpanel snippet to wait for ready until script loads
- Adding full traits pulled in from identify.
- Renaming Provider.options to Provider.defaults
- Adding universal analytics support to Google Analytics
- Adding support for new Olark Javascript API functions, see #121
- Fixing Uservoice integration
- Fixing ready tests.
- Adding lytics integration by @araddon
- Adding bower support by @jede
- Olark provider now only notifies the operator of track and pageview when the chat box is expanded.
- Qualaroo provider now prefers to identify with traits.email over a non-email userId --- makes the survey responses human readable.
- Woopra no longer tracks after each identify so that duplicate page views aren't generated.
- Changed default Keen IO settings to record all pageviews by default
- Removed Keen IO API Key option since that is no longer used for data "writes" to their API
- Renamed Keen IO projectId to projectToken to match their docs
- Added ability to pass variables into
intercomSettings
viacontext.intercom
- Added Heap
- Removed Storyberg, best of luck guys
- Added fix for conversion of
company
'screated
date - Added extra tests for
trackForm
- Fixing issue with ClickTale https bug
- Migrated to new Intercom Javascript API
- Removed un-used Intercom traits
- Fix bug in
trackForm
when using jQuery
- Added
userId
to Errorception metadata - Made date parsing more lenient (ms & sec) for trait.created
- Added Qualaroo
- Fixed bug with Chartbeat and page load times
- Fixed bug in
trackLink
reported by @quirkyjack - Fixed bug in ClickTale where it didn't create the ClickTaleDiv
- Added Storyberg by @kevinicus
- Added BugHerd
- Added ClickTale
- Cleaned up extraneous
require
's in many providers
- Added support for strings for the
created
trait - Added
load-date
for getting the page's load time
- Added Sentry
- Added initial pageview support to more providers
- Allowed HubSpot to recognize email
userId
- Added support for DoubleClick via Google Analytics
- Fixed bug in FoxMetrics provider
- Added queue for providers which don't support ready immediately.
- Fixed bug in
trackForm
when submitted via jQuery
- Added cookie-ing to keep identity and traits across page loads
- Added
identify
support for Clicky - Added
identify
support for GoSquared - Added
identify
support for Woopra - Updated tracking for Usercycle
- Added Intercom companies by @adrianrego
- Added Intercom setting for use_counter
- Fixed Intercom traits passed without a created field
- Switched over to Component
- Added
ready
method for binding to when analytics are initialized - Added UserVoice
- Added Perfect Audience
- Added LiveChat
- Fixed Intercom to allow multiple
identify
calls
- Merged in fix for Keen IO's branding
- Added fix to
utils.parseUrl()
fieldpathname
in IE
- Added an
alias
method for merging two user's by ID
- Fixed multiple elements on
trackLink
andtrackForm
- Fixed CrazyEgg
apiKey
toaccountNumber
- Fixed Keen to Keen.io
- Fixed
alias
andextend
breaking on non-objects
- Fixed
trackForm
timeout by @Plasma
- Added support for Mixpanel's revenue feature
- Added support for KISSmetrics'
"Billing Amount"
property for revenue - Added support for
revenue
being passed to Google Analytics'value
property
- Added automatic canonical URL support in Google Analytics
- Added Intercom widget setting
- Fixed Chartbeat from requiring
body
element to exist
- Added Bitdeli by @jtuulos
- Added Mixpanel
$first_name
and$last_name
aliases by @dwradcliffe - Fixed Mixpanel
$last_seen
alias - Added
parseUrl
util - Moved GoSquared queue to snippet
- Added support for Errorception user metadata
- Added option to use a properties function in
trackLink
andtrackForm
methods
- Added Keen.io by @dkador
- Added Foxmetrics by @rawsoft
- Updated Google Analytics to include noninteraction and value added by @rantav
- Moved to expect.js from chai for cross-broser support
- Renamed
trackClick
totrackLink
- Renamed
trackSubmit
totrackForm
- Fixed Clicky loading slowly
- Added SnapEngage
- Added
trackClick
andtrackForm
helpers
- Upgraded to Mixpanel 2.2 by @loganfuller
- Added comScore Direct
- Added Quantcast
- Fixed breaking issue on Clicky
- Updated Makefile for new providers
- Added
label
andcategory
support to Google Analytics
- Added Gauges by @bdougherty
- Added Vero
- Added optional
url
argument topageview
method
- Added Errorception
- Added Clicky
- Fixed IE 7 bug reported by @yefremov
- Fixed GoSquared trailing comma by @cmer
- Added domain field to GA by @starrhorne
- Removed phantom install to get travis working
- Added window._gaq fix in initialize
- Added link query tag support for
ajs_uid
andajs_event
- Added docco, uglify, and phantom to
devDependencies
by @peleteiro
- Added the
pageview
method for tracking virtual pageviews - Added Travis-CI
- Fixed window level objects in customerio and gosquared
- Added for Intercom's "secure" mode by @buger
- Removed root references
- Separated providers into separate files for easier maintenance
- Changed special
createdAt
trait tocreated
for cleanliness - Moved
utils
directly onto the analytics object - Added
extend
andalias
utils - Added
settings
defaults for all providers
- Fixed bug with HubSpot calls pre-script load
- Upgraded sinon-chai to use callWithMatch version
- Added Klaviyo by @bialecki
- Added HubSpot by @jessbrandi
- Added GoSquared by @simontabor
- Added "Enhanced Link Attribution" for Google Analytics by @nscott
- Added "Site Speed Sample Rate" for Google Analytics by @nscott
- Added Olark
- Added terse
initialize
syntax - Added tests for all providers
- Added README