-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.d.ts
72 lines (66 loc) · 2 KB
/
config.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
export interface Config {
app: {
analytics: {
segment: {
/**
* Controls whether the Segment Analytics module is enabled.
* Defaults to true.
*
* @visibility frontend
*/
enabled?: boolean;
/**
* Segment Analytics Write Key. Reference https://segment.com/docs/connections/find-writekey/
* to find your write key
*
* @visibility frontend
*/
writeKey: string;
/**
* Whether to log analytics debug statements and events to the console. Does not prevent sending of events.
* Defaults to false.
*
* @visibility frontend
*/
debug?: boolean;
/**
* Prevents events from actually being sent and instead logged as console output when set to true.
* Defaults to false.
*
* @visibility frontend
*/
testMode?: boolean;
/**
* Configuration options for the Segment Analytics agent.
*
* @visibility frontend
*/
agent?: {
/**
* Disables storing any data on the client-side via cookies or localstorage.
* Defaults to false.
*
* @visibility frontend
*/
disableClientPersistence?: boolean;
/**
* Disables automatically converting ISO string event properties into Dates.
* ISO string to Date conversions occur right before sending events to a classic device mode integration,
* after any destination middleware have been ran.
* Defaults to false.
*
* @visibility frontend
*/
disableAutoISOConversion?: boolean;
/**
* Whether or not to capture page context early so that it is always up-to-date.
* Defaults to false.
*
* @visibility frontend
*/
initialPageView?: boolean;
};
};
};
};
}