Secondary methods
Initial referrer tracking
Unfortunately, Apple does not provide any capability to pass a referrer string through to your app from a link to the App Store. But if you have a referral info, you can set it using the method below:
/**
* Tracks user's referral data
* ### Usage:
* [DevToDev referrer:@{
* RFSource: @"adwords",
* RFMedium: @"cpi",
* RFContent: @"Snow Boots",
* RFCampaign: @"Warm Snow Boots",
* RFTerm: @"snow boots"
* }];
*
* @param NSDictionary<ReferralProperty*, NSString*> utm - Dictionary with referrer values
*/
[DevToDev referrer: (NSDictionary<ReferralProperty*, NSString*> *) utm];The list of predefined keys:
//To identify a search engine, newsletter name, or other source.
// (for example 'AdWords', 'Bing', 'E-Mail Newsletter')
ReferralProperty * RFSource;
//To identify a medium such as email or cost-per-install.
// (for example 'CPI')
ReferralProperty * RFMedium;
//To identify a specific product promotion or strategic campaign.
//(for example 'Snow Boots')
ReferralProperty * RFCampaign;
//To differentiate ads or links that point to the same URL.
//(for example some ads might advertise 'Warm Snow Boots' and others might advertise 'Durable Snow Boots')
ReferralProperty * RFContent;
//To note the keywords for this ad.
// for example 'shoes+boots')
ReferralProperty * RFTerm;
//To add a custom key
[ReferralProperty Custom:@"your_key_name"];Unfortunately, Windows Store does not provide any capability to pass a referrer string through to your app from a link to the store. But if you have a referral info, you can set it using the method below:
The list of predefined keys:
Automated referral parameters are available on Android platform. Unfortunately, other platforms do not provide any capability to pass a referrer string through to your app from a link to the store. But if you have a referral info, you can set it using the method below:
The list of predefined keys:
Unfortunately, Apple does not provide any capability to pass a referrer string through to your app from a link to the app store. But if you have a referral info, you can set it using the method below:
The list of predefined keys:
Automated referral parameters is available on Android platform. Unfortunately, other platforms do not provide any capability to pass a referrer string through to your app from a link to the store. But if you have a referral info, you can set it using the method below:
Unfortunately, Apple does not provide any capability to pass a referrer string through to your app from a link to the app store. But if you have a referral info, you can set it using the method below:
Blueprint

Field
Type
Description
Source
FString
To identify a search engine, newsletter name, or other source. (for example 'AdWords', 'Bing', 'E-Mail Newsletter')
Medium
FString
To identify a medium such as email or cost-per-install. (for example 'CPI')
Campaign
FString
To identify a specific product promotion or strategic campaign. (for example 'Snow Boots')
Content
FString
To differentiate ads or links that point to the same URL. (for example some ads might advertise 'Warm Snow Boots' and others might advertise 'Durable Snow Boots')
Term
FString
To note the keywords for this ad. for example 'shoes+boots')
Code
Connecting to social networks
Use the current constants to specify a social network:
Otherwise, create an object with the social network name you need.
Use the current constants to specify a social network:
SocialNetwork.Facebook
SocialNetwork.Twitter
SocialNetwork.GooglePlus
SocialNetwork.Vk
and so on...
Otherwise, create your own social network object.
Example:
Use the current constants to specify social network:
SocialNetwork.Facebook SocialNetwork.Twitter SocialNetwork.GooglePlus SocialNetwork.Vk and so on...
Otherwise, create social network the object of your own:
We recommend using the following values for the most popular social networks:
Value
Social Network
Value
Social Network
en
Evernote
rt
fb
rr
Renren
gm
Google Mail
tb
Tumblr
gp
Google+
tw
in
vk
VK
ok
Odnoklassniki
vb
Viber
pi
wp
Qzone
Use the current constants to specify social network:
Otherwise, create your own social network object.
Use the current constants to specify social network:
Otherwise, create social network the object of your own.
Use the current constants to specify social network:
Otherwise, create your own social network object:
Blueprint

Field
Type
Description
Social Name
FString
Social network Id
Code
We recommend using the following values for the most popular social networks:
Value
Social Network
Value
Social Network
en
Evernote
rt
fb
rr
Renren
gm
Google Mail
tb
Tumblr
gp
Google+
tw
in
vk
VK
ok
Odnoklassniki
vb
Viber
pi
wp
Qzone
Posting to social networks
Track publications in social networks and analyze the effectiveness of viral messages. The event is sent after a social network confirms the publication.
As a 'reason' parameter we recommend you indicate actions which encourage users to make a publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Achievement
URL sharing
Recommendation
Review
and so on...
Otherwise, create an object with the social network name you need.
As a «reason» parameter we recommend that you indicate actions which encourage users to make a publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Acheivement
URL sharing
Recommendation
Review
and so on...
Use the current constants to specify a social network:
SocialNetwork.Facebook
SocialNetwork.Twitter
SocialNetwork.GooglePlus
SocialNetwork.Vk
and so on...
Otherwise, create your own social network object.
The social network ID is the same as with DevToDev.SDK.SocialNetworkConnect(). It is possible to use pre-defined or custom values as the reason (pReason parameter) .
Example:
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Acheivement
URL sharing
Recommendation
Review
and so on...
Use the current constants to specify social network:
SocialNetwork.Facebook SocialNetwork.Twitter SocialNetwork.GooglePlus SocialNetwork.Vk and so on...
Otherwise, create social network the object of your own:
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Achiеvement
URL sharing
Recommendation
Review
and so on...
Value
Social Network
Value
Social Network
en
Evernote
rt
fb
rr
Renren
gm
Google Mail
tb
Tumblr
gp
Google+
tw
in
vk
VK
ok
Odnoklassniki
vb
Viber
pi
wp
Qzone
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Acheivement
URL sharing
Recommendation
Review
and so on...
Use the current constants to specify social network:
Otherwise, create your own social network object.
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Achievement
URL sharing
Recommendation
Review
and so on...
Use the current constants to specify social network:
Otherwise, create social network the object of your own.
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Acheivement
URL sharing
Recommendation
Review
and so on...
Use the current constants to specify social network:
Otherwise, create your own social network object:
Blueprint

Field
Type
Description
Social Name
FString
Social network Id
Reason
FString
The reason of posting (max. 32 symbols)
Code
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
For example:
Start playing
New level reached
New building
New ability
Quest completed
New item
Collection completed
Invitation
Asking for help
New Record
Achievement
URL sharing
Recommendation
Review
and so on...
Value
Social Network
Value
Social Network
en
Evernote
rt
fb
rr
Renren
gm
Google Mail
tb
Tumblr
gp
Google+
tw
in
vk
VK
ok
Odnoklassniki
vb
Viber
pi
wp
Qzone
OpenUdid
Property allows to get UDID:
ODIN1
Property allows to get ODIN:
UUID
Property allows to get UUID:
Debug mode
To enable the debug mode and make SDK notifications displayed in the console use this method:
Forced sending
To send events pack before it is filled or before its formation period, you can use immediate dispatch:

Code
To identify a specific product promotion or strategic campaign. (for example 'Snow Boots')
Current SDK version
To get the version of integrated SDK, use the following method:
Set app version
To set set current application version in WEB and Windows Standalone apps use this property:
Tracking state (GDPR)
The method of limiting the processing of user data. The right to be forgotten.
This method is implemented in accordance with the GDPR requirements.
In case a user doesn’t want their data to be sent and processed in the devtodev system, a developer must send a ’false’ value to this method.
When calling the method setTrackingAvailability with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
When sending a ‘true’ value, the permission to block data collection is removed.
When calling the method setTrackingAvailability with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
When sending a ‘true’ value, the permission to block data collection is removed.
In the case of using TrackingAvailability property with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
In the case of using TrackingAvailability property with a ‘true’ value, the permission to block data collection is removed.
When calling the method setTrackingAvailability with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
When sending a ‘true’ value, the permission to block data collection is removed.
In the case of using TrackingAvailability property with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
In the case of using TrackingAvailability property with a ‘true’ value, the permission to block data collection is removed.
When calling the method setTrackingAvailability with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
When sending a ‘true’ value, the permission to block data collection is removed.
When calling the method setTrackingAvailability with a ‘false’ value, SDK sends a command to the server to delete all user’s personal data that has been collected by devtodev from this app and a command to block the collection of any data of this user in future, and then stops sending any messages to the devtodev system.
The user will remain listed as an impersonal unit in previously aggregated metrics.
When sending a ‘true’ value, the permission to block data collection is removed.
Last updated
Was this helpful?
