Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
Locationvalue
Amplitude-JavaScript
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
Amplitude-JavaScript
src
amplitude-client.js
on
workspaces
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 3, 2020
Merge pull request #233 from amplitude/add_device_info
Show description for c90538b
haoliu-amp
authored
c90538b
View commit details
Copy full SHA for c90538b
View code at this point
Browse repository at this point
Commits on Mar 2, 2020
Libaray should be `amplitude-react-native` when this is used in mobile app
haoliu-amp
committed
0792f4e
View commit details
Copy full SHA for 0792f4e
View code at this point
Browse repository at this point
Added devices info for all cases
haoliu-amp
committed
d6982f7
View commit details
Copy full SHA for d6982f7
View code at this point
Browse repository at this point
Commits on Jan 28, 2020
feat: add default versionName to react-native
Show description for c8e82b1
bang9
committed
c8e82b1
View commit details
Copy full SHA for c8e82b1
View code at this point
Browse repository at this point
Commits on Dec 6, 2019
When adding function call into this._q, send all the arguments by .slice.call(arguments) and add additional tests to verify that existing users (e.g. users with an amplitude cookie) will continue t…
Show description for 5a0ed4c
sputh
committed
5a0ed4c
View commit details
Copy full SHA for 5a0ed4c
View code at this point
Browse repository at this point
Commits on Dec 5, 2019
Explicitly set _initializationDeferred to false upon enabling tracking (when a user explicitly opts into analytics), move deferInitialization check where this._storageSuffix is actually defined (in…
Show description for 9ea307c
sputh
committed
9ea307c
View commit details
Copy full SHA for 9ea307c
View code at this point
Browse repository at this point
Commits on Dec 4, 2019
Add feature to deferInitialization
Show description for 91ae64c
sputh
committed
91ae64c
View commit details
Copy full SHA for 91ae64c
View code at this point
Browse repository at this point
Commits on Dec 2, 2019
Clean up callback that's called after _migrateUnsentEvents
sputh
committed
4f2e264
View commit details
Copy full SHA for 4f2e264
View code at this point
Browse repository at this point
Call the callback if it doesn't satisfy the if statements (this.options.saveEvents) and (itemsToSet.length > 0)
sputh
committed
129e833
View commit details
Copy full SHA for 129e833
View code at this point
Browse repository at this point
Fix issue where AsyncStorage can't re-set unsentEventString nor unsentIdentifyKey when they are null
Show description for 22bdf45
sputh
committed
22bdf45
View commit details
Copy full SHA for 22bdf45
View code at this point
Browse repository at this point
Commits on Nov 18, 2019
Fix Tests. TODO: add tests for react native
sputh
committed
86479c4
View commit details
Copy full SHA for 86479c4
View code at this point
Browse repository at this point
Commits on Nov 15, 2019
Append storageSuffix to unsentIdentifyKeys as well, add migration to add suffix to current events keyname
sputh
committed
e99863f
View commit details
Copy full SHA for e99863f
View code at this point
Browse repository at this point
Commits on Nov 7, 2019
Append this._storageSuffix (which includes API key) to unsentKey before storing in AsyncStorage
Show description for 7fb0749
sputh
committed
7fb0749
View commit details
Copy full SHA for 7fb0749
View code at this point
Browse repository at this point
Commits on Oct 9, 2019
React Native: Load unsent events from async storage, Load device id from react-native-device-info, Use @react-native-community/async-storage
blazzy
committed
7a4ce57
View commit details
Copy full SHA for 7a4ce57
View code at this point
Browse repository at this point
Commits on Oct 8, 2019
Fix bug where opt out setting was clobbered by restoring data from cookie (#196)
Krishna Rajendran
authored
dc33f99
View commit details
Copy full SHA for dc33f99
View code at this point
Browse repository at this point
Restore legacy 2.0 code paths. This should fix issues where some props were not initialized correctly and some events were not sent
blazzy
committed
765ab7c
View commit details
Copy full SHA for 765ab7c
View code at this point
Browse repository at this point
Commits on Oct 1, 2019
Fix issues with device identification in react native
blazzy
committed
8f8ba4b
View commit details
Copy full SHA for 8f8ba4b
View code at this point
Browse repository at this point
Commits on Aug 27, 2019
Drop logic for upgrading legacy cookies and legacy storage data
blazzy
committed
df71208
View commit details
Copy full SHA for df71208
View code at this point
Browse repository at this point
Commits on Aug 16, 2019
Fix amplitude-client jsdoc typo (#187)
Show description for 7157e5e
willheslam
authored and
Krishna Rajendran
committed
7157e5e
View commit details
Copy full SHA for 7157e5e
View code at this point
Browse repository at this point
Commits on Jul 24, 2019
Fix setDomain bug where setting the cookie domain clobbered other cookie settings (#186)
Krishna Rajendran
authored
cb91eb9
View commit details
Copy full SHA for cb91eb9
View code at this point
Browse repository at this point
Commits on Mar 28, 2019
Update build/release scripts a bit to be a little less fragile
blazzy
committed
5bfc494
View commit details
Copy full SHA for 5bfc494
View code at this point
Browse repository at this point
Commits on Mar 13, 2019
Immediately invoke onInit callbacks if amplitude is already initialized (#179)
blazzy
authored
5f048c7
View commit details
Copy full SHA for 5f048c7
View code at this point
Browse repository at this point
Commits on Mar 12, 2019
Add onInit hook, drop json3, update build dependencies (#178)
Show description for cd7bfce
blazzy
authored
cd7bfce
View commit details
Copy full SHA for cd7bfce
View code at this point
Browse repository at this point
Commits on Mar 5, 2019
Move final url slash to config so endpoints may end without a slash (#175)
wilkerlucio
authored and
blazzy
committed
6ee5164
View commit details
Copy full SHA for 6ee5164
View code at this point
Browse repository at this point
Commits on Feb 25, 2019
Drop dependency on top-domain and rollup-plugin-node-builtins and update some dated deps (#170)
blazzy
authored
40ff69f
View commit details
Copy full SHA for 40ff69f
View code at this point
Browse repository at this point
Commits on Nov 29, 2018
Modularize unsetting UTM and move 'referrer' into a constant
sputh
committed
09a12b1
View commit details
Copy full SHA for 09a12b1
View code at this point
Browse repository at this point
Commits on Nov 28, 2018
Add support for unsetting utm params when a new session is created
sputh
committed
6d8b1c8
View commit details
Copy full SHA for 6d8b1c8
View code at this point
Browse repository at this point
Commits on Nov 9, 2018
default groupProperties to empty object in logEvent (#161)
djih
authored and
blazzy
committed
7047c4c
View commit details
Copy full SHA for 7047c4c
View code at this point
Browse repository at this point
Commits on Nov 8, 2018
v4.5.1
blazzy
committed
a6ab9ce
View commit details
Copy full SHA for a6ab9ce
View code at this point
Browse repository at this point
Commits on Oct 24, 2018
support groupIdentify calls (#151)
djih
authored and
blazzy
committed
f98d4aa
View commit details
Copy full SHA for f98d4aa
View code at this point
Browse repository at this point
Commits on Jul 19, 2018
save generated api properties tracking options
djih
committed
d68b2c7
View commit details
Copy full SHA for d68b2c7
View code at this point
Browse repository at this point
Commits on Jul 18, 2018
change key to snake case
djih
committed
34db2d5
View commit details
Copy full SHA for 34db2d5
View code at this point
Browse repository at this point
add tracking options to api_properties
djih
committed
4376ba0
View commit details
Copy full SHA for 4376ba0
View code at this point
Browse repository at this point
switch to merge, stop tracking fields
djih
committed
d740583
View commit details
Copy full SHA for d740583
View code at this point
Browse repository at this point
allow tracking option config input
djih
committed
2fe8235
View commit details
Copy full SHA for 2fe8235
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.