You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.
The tracking-code snippet is only for collecting data from websites. Use the Analytics SDKs to collect data from mobile apps, and use the Measurement Protocol to collect data from other digital devices like ticket kiosks and game consoles.
The SDKs and the Measurement Protocol need to be set up by a developer.
Related resources
- Learn more about the Analytics SDKs for Android and iOS.
- Learn more about the Measurement Protocol.