setup.require(['amplitude'], () => { const options = { defaultTracking: ['pageViews', 'sessions', 'attribution'], autocapture: { attribution: true, pageViews: true, sessions: true, formInteractions: false, fileDownloads: false, elementInteractions: false, }, serverUrl: 'https://amp.filmfreeway.com/2/httpapi', }; self.amplitude.init('7e757be1961c6b4f4bea72d1790ace57', options); const identifyObj = new amplitude.Identify() identifyObj.set("ip_address", "91.90.42.154") amplitude.identify(identifyObj) });