Skip to content

Commit c851772

Browse files
Innovative-GauravKocharGaurav Kochar
and
Gaurav Kochar
authored
update Kissmetric domain and bump kissmetric integrations version (#789)
Co-authored-by: Gaurav Kochar <[email protected]>
1 parent 8e4d958 commit c851772

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

integrations/kissmetrics/HISTORY.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2.2.0 / 2020-06-17
2+
==================
3+
4+
* Update domain
15

26
2.1.1 / 2016-09-06
37
==================
@@ -73,4 +77,4 @@
7377
1.0.0 / 2015-06-09
7478
==================
7579

76-
* Initial commit :sparkles:
80+
* Initial commit :sparkles:

integrations/kissmetrics/lib/index.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@ var KISSmetrics = (module.exports = integration('KISSmetrics')
2525
.option('trackNamedPages', true)
2626
.tag(
2727
'library',
28-
'<script src="//scripts.kissmetrics.com/{{ apiKey }}.2.js">'
28+
'<script src="//scripts.kissmetrics.io/{{ apiKey }}.2.js">'
2929
));
3030

3131
/**
3232
* Check if browser is mobile, for kissmetrics.
33-
*
34-
* http://support.kissmetrics.com/how-tos/browser-detection.html#mobile-vs-non-mobile
3533
*/
3634

3735
exports.isMobile =
@@ -45,7 +43,7 @@ exports.isMobile =
4543
/**
4644
* Initialize.
4745
*
48-
* http://support.kissmetrics.com/apis/javascript
46+
* https://support.kissmetrics.io/docs/javascript-library
4947
*/
5048

5149
KISSmetrics.prototype.initialize = function() {
@@ -136,7 +134,7 @@ KISSmetrics.prototype.track = function(track) {
136134
if (revenue) {
137135
// legacy: client side integration used to only send 'Billing Amount', but
138136
// our server side sent both 'revenue' and 'Billing Amount'. From the docs,
139-
// http://support.kissmetrics.com/tools/revenue-report.html, ther is no
137+
// https://support.kissmetrics.io/docs/revenue-report-1, there is no
140138
// reason to send it as 'Billing Amount', but we don't want to break reports
141139
// so we send it as 'revenue' and 'Billing Amount' for consistency across
142140
// platforms.

integrations/kissmetrics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@segment/analytics.js-integration-kissmetrics",
33
"description": "The Kissmetrics analytics.js integration.",
4-
"version": "2.1.2",
4+
"version": "2.2.0",
55
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",

0 commit comments

Comments
 (0)