Important project data may be left outside of the digital space. If your statistics are only based on app and website events, you miss offline data such as services activated at sales offices, registrations for a test drive, product delivery, etc.
MyTracker allows you to upload any project details via the S2S API.
Data is transmitted via an HTTPS protocol.
Each API request should include a device or user ID along with the event.
This could be a special S2S ID instanceId
and lvid
,
user identifier customUserId
or device id gaid
,
androidId
, appSetId
, idfa
, iosVendorId
.
MyTracker needs only one of the listed identifiers to synchronize information and update your project stats.
customUserId
.
In this case, S2S data will generate stats only on project users,
but not on devices.
You can fix it for Android and iOS platforms by providing at least one of the following device IDs.
gaid
, androidId
, appSetId
for Android projects,
idfa
and iosVendorId
for iOS.idApp
, and device or user ID.
To send HTTPS requests use PHP SDK.
This open-source library facilitates S2S API integration.
Alternatively, add a mytracker/s2s-api
library as a dependency, if you use Composer.
Using the S2S API, you can upload data on the following events:
With each event, you can provide event time, device information, and other parameters.