@adtrackify/at-tracking-event-types 1.1.24 → 1.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -558,6 +558,7 @@ declare module '@adtrackify/at-tracking-event-types/types/tracking-events/index'
558
558
  declare module '@adtrackify/at-tracking-event-types/types/tracking-events/tracking-event-context' {
559
559
  import { TrackingEventIdentity } from '@adtrackify/at-tracking-event-types/types/tracking-events/tracking-event-identity';
560
560
  import { IResult } from 'ua-parser-js';
561
+ import { LookupResponse } from 'ipdata';
561
562
  export interface TrackingEventContext {
562
563
  externalId?: string;
563
564
  identity: TrackingEventIdentity;
@@ -576,6 +577,18 @@ declare module '@adtrackify/at-tracking-event-types/types/tracking-events/tracki
576
577
  sessionId?: string;
577
578
  shopify?: ShopifyInfo;
578
579
  adBlockDetected?: boolean;
580
+ enrichment: Enrichment;
581
+ }
582
+ export interface Enrichment {
583
+ refrMedium?: string;
584
+ refrSource?: string;
585
+ refrTerm?: string;
586
+ mktCampaign?: string;
587
+ mktSource?: string;
588
+ mktMedium?: string;
589
+ mktTerm?: string;
590
+ mktContent?: string;
591
+ ipLookupResponse?: LookupResponse;
579
592
  }
580
593
  export interface AdClickInfo {
581
594
  fbp?: string;
@@ -587,6 +600,7 @@ declare module '@adtrackify/at-tracking-event-types/types/tracking-events/tracki
587
600
  }
588
601
  export interface CampaignInfo {
589
602
  name?: string;
603
+ campaign?: string;
590
604
  source?: string;
591
605
  medium?: string;
592
606
  term?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adtrackify/at-tracking-event-types",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",
@@ -55,6 +55,7 @@
55
55
  "eslint-webpack-plugin": "^3.1.1",
56
56
  "glob": "^8.0.3",
57
57
  "husky": "^6.0.0",
58
+ "ipdata": "^2.2.4",
58
59
  "jest": "^27.5.1",
59
60
  "jest-cucumber": "3.0.1",
60
61
  "jest-junit": "13.0.0",
@@ -1,5 +1,6 @@
1
1
  import { TrackingEventIdentity } from './tracking-event-identity';
2
2
  import { IResult } from 'ua-parser-js';
3
+ import { LookupResponse } from 'ipdata';
3
4
 
4
5
  export interface TrackingEventContext {
5
6
  externalId?: string;
@@ -19,8 +20,20 @@ export interface TrackingEventContextProperties {
19
20
  sessionId?: string;
20
21
  shopify?: ShopifyInfo;
21
22
  adBlockDetected?: boolean;
23
+ enrichment: Enrichment;
22
24
  }
23
25
 
26
+ export interface Enrichment {
27
+ refrMedium?: string;
28
+ refrSource?: string;
29
+ refrTerm?: string;
30
+ mktCampaign?: string;
31
+ mktSource?: string;
32
+ mktMedium?: string;
33
+ mktTerm?: string;
34
+ mktContent?: string;
35
+ ipLookupResponse?: LookupResponse;
36
+ }
24
37
  export interface AdClickInfo {
25
38
  fbp?: string;
26
39
  fbc?: string;
@@ -32,6 +45,7 @@ export interface AdClickInfo {
32
45
 
33
46
  export interface CampaignInfo {
34
47
  name?: string;
48
+ campaign?: string;
35
49
  source?: string;
36
50
  medium?: string;
37
51
  term?: string;