what is the significance of domain option in Amplitude_optionsamplitude.getInstance().init(amplitudeKey, id, AMPLITUDE_OPTIONS)
what is the significance of domain option in Amplitude_options amplitude.getInstance().init(amplitudeKey, id, AMPLITUDE_OPTIONS)
It’s related to defining the domain for the Amplitude HTTP cookies. You read more from here or searching for “cookie domains”.
Hi rishi_ , to add on to Mikko’s comment, the domain option is used to set a custom domain for the Amplitude cookie. To include subdomains, add a preceding period, eg: .amplitude.com. You can read more about our JS options https://amplitude.github.io/Amplitude-JavaScript/Options/. I hope that helps!
.amplitude.com
Hello. I'm getting stuck trying to calculate a metric for my team. I'm trying to measure the median Session Duration for users who are looking at a pop-up modal. Here's my formula. Can someone help me figure out how to get around this error?
We implemented first party tracking using the basic JS SDK on the browser and pointing the payload to our servers like this: amplitude.init(AMPLITUDE_API_KEY, { serverUrl: serverUrl, autocapture: { attribution: { excludeReferrers: [/domain1\.com$/, /domain2\.com$/], }, formInteractions: false, fileDownloads: false, }, });…
My Android app is primarily a background app. Does Amplitude track events for such an app? Please let me know.
here is the referance graph: https://app.amplitude.com/analytics/demo/chart/new/363tk5og In this graph, retention is currently being calculated based on the next day, but I want to analyze it based on the previous day instead. Example: For July 27, we should compare retention against July 26, not July 28. * So for 1-day…
Hi everybody! I need your help with a client request: my client is used to analyze landing pages performance with the standard report from GA4 and I need to create something similar in Amplitude. What I already have: * session entries grouped by page URL * purchase event calculated as session totals grouped by page URL and…