Skip to content

Commit 2ba972e

Browse files
authored
Merge pull request #55 from Shinsina/number-of-employees
Include Number of employees demographic
2 parents 1259478 + 24b4b95 commit 2ba972e

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

manage/app/services/identity-attributes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default Service.extend({
4343
{ key: 'attributes.Industry', label: 'Industry' },
4444
{ key: 'attributes.Job Function', label: 'Job Function' },
4545
{ key: 'attributes.Annual Sales', label: 'Annual Sales', adminOnly: true },
46+
{ key: 'attributes.Number of Employees', label: 'Number of Employees', adminOnly: true },
4647
// { key: 'attributes.NAICS Code', label: 'NAICS' },
4748
]);
4849

monorepo/packages/sync/ops/transform-customer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ const demoMap = new Map([
1515
[106, 'Job Function'],
1616
[83, 'Annual Sales'],
1717
[103, 'Annual Sales'],
18+
[84, 'Number of Employees'],
19+
[104, 'Number of Employees'],
1820
]);
1921

2022
/**

monorepo/services/server/src/mongodb/schema/campaign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ const emailSchema = new Schema({
176176
],
177177
excludeFields: {
178178
type: [String],
179-
default: ['phoneNumber', 'last', 'attributes.Annual Sales'],
179+
default: ['phoneNumber', 'last', 'attributes.Annual Sales', 'attributes.Number of Employees'],
180180
},
181181
allowedLinkTypes: {
182182
type: [String],

monorepo/services/server/src/services/identity-attributes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ module.exports = [
1414
{ key: 'attributes.Industry', label: 'Industry' },
1515
{ key: 'attributes.Job Function', label: 'Job Function' },
1616
{ key: 'attributes.Annual Sales', label: 'Annual Sales', adminOnly: true },
17+
{ key: 'attributes.Number of Employees', label: 'Number of Employees', adminOnly: true },
1718
// { key: 'attributes.NAICS Code', label: 'NAICS' },
1819
];

0 commit comments

Comments
 (0)