Skip to content

Commit 10ae37c

Browse files
gpsamsonbrennanmericsson
authored
[Segment.io] Add config ID metadata (#545)
* Add bundled and unbundled configIds to message payload send to tracking api. * Switch to ids Co-authored-by: Marcus Ericsson <36717+mericsson@users.noreply.github.com> * Bump version to 4.3.0 * Add to HISTORY.md Co-authored-by: Brennan Gamwell <brennan@segment.com> Co-authored-by: Marcus Ericsson <36717+mericsson@users.noreply.github.com>
1 parent 5716304 commit 10ae37c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

integrations/segmentio/HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
4.3.0 / 2020-01-13
2+
==================
3+
4+
* Append `bundledConfigIds` and `unbundledConfigIds` to messages
15

26
4.0.0 / 2019-03-08
37
==================

integrations/segmentio/lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ Segment.prototype.normalize = function(message) {
317317
msg._metadata = msg._metadata || {};
318318
msg._metadata.bundled = bundled;
319319
msg._metadata.unbundled = this.options.unbundledIntegrations;
320+
msg._metadata.bundledConfigIds = this.options.bundledConfigIds;
321+
msg._metadata.unbundledConfigIds = this.options.unbundledConfigIds;
320322
}
321323
this.debug('normalized %o', msg);
322324
this.ampId(ctx);

integrations/segmentio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@segment/analytics.js-integration-segmentio",
33
"description": "The Segmentio analytics.js integration.",
4-
"version": "4.2.5",
4+
"version": "4.3.0",
55
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",

0 commit comments

Comments
 (0)