You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {number} [uploadBatchSize=`100`] - The maximum number of events to send to the server per request.
48
49
* @property {Object} [headers=`{ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' }`] - Headers attached to an event(s) upload network request. Custom header properties are merged with this object.
50
+
* @property {string} [serverZone] - For server zone related configuration, used for server api endpoint and dynamic configuration.
51
+
* @property {boolean} [useDynamicConfig] - Enable dynamic configuration to find best server url for user.
52
+
* @property {boolean} [serverZoneBasedApi] - To update api endpoint with serverZone change or not. For data residency, recommend to enable it unless using own proxy server.
49
53
*/
50
54
exportdefault{
51
-
apiEndpoint: 'api.amplitude.com',
55
+
apiEndpoint: Constants.EVENT_LOG_URL,
52
56
batchEvents: false,
53
57
cookieExpiration: 365,// 12 months is for GDPR compliance
54
58
cookieName: 'amplitude_id',// this is a deprecated option
0 commit comments