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:
//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:
//To identify a search engine, newsletter name, or other source.// (for example 'AdWords', 'Bing', 'E-Mail Newsletter')ReferralProperty.Source;//To identify a medium such as email or cost-per-install.// (for example 'CPI')ReferralProperty.Medium;//To identify a specific product promotion or strategic campaign.//(for example 'Snow Boots')ReferralProperty.Campaign;//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.Content;//To note the keywords for this ad.// for example 'shoes+boots')ReferralProperty.Term;//To add a custom keyReferralProperty.Custom("your_key_name");
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:
// To identify a search engine, newsletter name, or other source.// (for example 'AdWords', 'Bing', 'E-Mail Newsletter')ReferralProperty.Source;// To identify a medium such as email or cost-per-install.// (for example 'CPI')ReferralProperty.Medium;// To identify a specific product promotion or strategic campaign.// (for example 'Snow Boots')ReferralProperty.Campaign;// 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.Content;// To note the keywords for this ad.// (for example 'shoes+boots')ReferralProperty.Term;// To add a custom keyReferralProperty.Custom("your_key_name");
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:
//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"];
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:
// To identify a search engine, newsletter name, or other source.// (for example 'AdWords', 'Bing', 'E-Mail Newsletter')ReferralProperty.Source;// To identify a medium such as email or cost-per-install.// (for example 'CPI')ReferralProperty.Medium;// To identify a specific product promotion or strategic campaign.// (for example 'Snow Boots')ReferralProperty.Campaign;// 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.Content;// To note the keywords for this ad.// (for example 'shoes+boots')ReferralProperty.Term;// To add a custom keyReferralProperty.Custom("your_key_name");
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 the existence of a connection with a social network.
* Use pre-defined or custom values as an identifier.
* @param SocialNetwork socialNetwork - social network id
*/
[DevToDev socialNetworkConnect: (SocialNetwork *) socialNetwork];javascript:void(0)
Use the current constants to specify a social network:
Facebook
Twitter
GooglePlus
VK
//and so on...
Otherwise, create an object with the social network name you need.
/*** Tracks the existence of a connection with a social network.* Use pre-defined or custom values as an identifier.* @param SocialNetwork socialNetwork - social network id*/DevToDev.socialNetworkConnect(SocialNetwork socialNetwork);
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.
/*** Custom social network object* @param networkName - social network name (max. 24 symbols)*/SocialNetwork socialNetwork =SocialNetwork.Custom(String networkName);
/*** Tracks the existence of a connection with a social network.* Use pre-defined or custom values as an identifier.* <paramname="socialNetwork"> Social network ID </param>*/DevToDev.SDK.SocialNetworkConnect(SocialNetwork socialNetwork);
/*** Tracks the existence of a connection with a social network.* Use pre-defined or custom values as an identifier.* @param{string} socialNetwork - social network id (max. 24 symbols)**/devtodev.socialNetworkConnect(socialNetwork);
We recommend using the following values for the most popular social networks:
/// <summary> Track the existence of a connection with a social network. /// Use pre-defined or custom values as an identifier.</summary>/// <paramname="socialNetwork"> Social network ID </param>DevToDev.Analytics.SocialNetworkConnect(DevToDev.SocialNetwork socialNetwork);
Use the current constants to specify social network:
DevToDev.SocialNetwork.FacebookDevToDev.SocialNetwork.TwitterDevToDev.SocialNetwork.GooglePlusDevToDev.SocialNetwork.Vk// and so on...
/**
* Tracks the existence of a connection with a social network. Use pre-defined or custom values as an identifier.
* @param SocialNetwork socialNetwork - social network id
*/
[DevToDev socialNetworkConnect: (SocialNetwork *) socialNetwork];
Use the current constants to specify social network:
Facebook
Twitter
GooglePlus
VK
//and so on...
Otherwise, create social network the object of your own.
/*** Tracks the existence of a connection with a social network.* Use pre-defined or custom values as an identifier.* @param socialNetwork - social network id*/DevToDev.socialNetworkConnect(socialNetwork:SocialNetwork);
Use the current constants to specify social network:
/*** Custom social network object* @param networkName - social network name (max. 24 symbols)*/var socialNetwork:SocialNetwork=SocialNetwork.Custom(networkName:String);
Blueprint
Code
// Tracks the existence of a connection with a social network.// Use pre-defined or custom values as an identifier.// FString socialNetwork - social network id (max. 24 symbols)UDevToDevBlueprintFunctionLibrary::SocialNetworkConnect(const FString& socialNetwork);
We recommend using the following values for the most popular social networks:
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.
/**
* Tracks the existence of posts to a social network.
* @param socialNetwork - social network Id
* @param NSString reason - the reason of posting (max. 32 symbols)
*/
[DevToDev socialNetworkPost: (SocialNetwork *) socialNetwork withReason: (NSString *) reason];
As a 'reason' parameter we recommend you indicate actions which encourage users to make a publication.
Facebook
Twitter
GooglePlus
VK
//and so on...
Otherwise, create an object with the social network name you need.
/*** Tracks the existence of posts to a social network.* @param socialNetwork - social network Id* @param reason - the reason of posting (max. 32 symbols)*/DevToDev.socialNetworkPost(SocialNetwork socialNetwork,String reason);
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.
/*** Custom social network object* @param networkName - social network name (max. 24 symbols)*/SocialNetwork socialNetwork =SocialNetwork.Custom(String networkName);
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) .
/*** <paramname="networkName"> Social network ID </param>* <paramname="reason"> The reason of posting. (max. 32 symbols)</param>*/DevToDev.SDK.SocialNetworkPost(SocialNetwork socialNetwork, String reason)
/**
* Tracks the existence of posts to a social network.
* @param {string} socialNetwork - social network Id (max. 24 symbols)
* @param {string} reason - the reason of posting (max. 32 symbols)
*/
devtodev.socialNetworkPost(socialNetwork, reason);
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
/// <summary> Track the existence of posts to a social network. </summary>/// <paramname="networkName"> Social network ID </param>/// <paramname="reason"> The reason of posting. (max. 32 symbols)</param>DevToDev.Analytics.SocialNetworkPost(DevToDev.SocialNetwork networkName,string reason);
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:
DevToDev.SocialNetwork.FacebookDevToDev.SocialNetwork.TwitterDevToDev.SocialNetwork.GooglePlusDevToDev.SocialNetwork.Vk// and so on...
/**
* Tracks the existence of posts to a social network.
* @param socialNetwork - social network Id
* @param reason - the reason of posting (max. 32 symbols)
*/
[DevToDev socialNetworkPost: (SocialNetwork *) socialNetwork withReason: (NSString *) reason];
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:
Facebook
Twitter
GooglePlus
VK
//and so on...
Otherwise, create social network the object of your own.
/*** Tracks the existence of posts to a social network.* @param socialNetwork - social network Id* @param reason - the reason of posting (max. 32 symbols)*/DevToDev.socialNetworkPost(socialNetwork:SocialNetwork, reason:String);
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:
/*** Custom social network object* @param networkName - social network name (max. 24 symbols)*/var socialNetwork:SocialNetwork=SocialNetwork.Custom(networkName:String);
Blueprint
Code
// Tracks the existence of posts to a social network.
// FString socialNetwork - social network Id
// FString reason - the reason of posting (max. 32 symbols)
UDevToDevBlueprintFunctionLibrary::SocialNetworkPost(const FString& socialNetwork, const FString& reason);
As a «reason» parameter we recommend that you indicate actions which encourage users to make publication.
OpenUdid
Property allows to get UDID:
/**
* @return OpenUdid
*/
[DevToDev getOpenUdid];
/**
* @return Open Udid
*/
DevToDev.getOpenUdid();
DevToDev.SDK.OpenUdid
DevToDev.Analytics.OpenUdid
/**
* @return Open Udid
*/
[DevToDev getOpenUdid];
ODIN1
Property allows to get ODIN:
/**
* @return ODIN1
*/
[DevToDev getOdin1];
/**
* @return ODIN1
*/
DevToDev.getOdin1();
DevToDev.SDK.ODIN
DevToDev.Analytics.Odin1
/**
* @return ODIN1
*/
[DevToDev getOdin1];
/**
* @return ODIN1
*/
DevToDev.getOdin1();
UUID
Property allows to get UUID:
/**
* @return UUID
*/
[DevToDev getUUID];
/**
* @return UUID
*/
DevToDev.getUUID();
/**
* @return UUID
*/
[DevToDev getUUID];
Debug mode
To enable the debug mode and make SDK notifications displayed in the console use this method:
To set set current application version in WEB and Windows Standalone apps use this property:
/// <summary> Property allows to set current application version.
/// Attention! This property is necessary for WEB and Windows Standalone apps only.
/// It will be ignored on other platforms.
/// </summary>
/// <param name="version"> Current version of your application </param>
DevToDev.Analytics.ApplicationVersion = version;
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.
/**
* The method of limiting the processing of user data. The right to be forgotten.
* @param BOOL trackingAvailable - use 'false' to erase user's personal data and stop collecting data of this user.
* 'true' if you want to resume data collection.
*/
[DevToDev setTrackingAvailability: (BOOL) trackingAvailable];
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.
/**
* The method of limiting the processing of user data. The right to be forgotten.
* @param isAvailable - send 'false' to erase user's personal data and stop collecting data of this user.
* Send 'true' if you want to resume data collection.
*/
DevToDev.setTrackingAvailability(boolean isAvailable);
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.
/// <summary> The Property of limiting the processing of user data. The right to be forgotten.
/// Use 'false' to erase user's personal data and stop collecting data of this user or 'true'
/// if you want to resume data collection.</summary>
DevToDev.SDK.TrackingAvailability = false/true;
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.
/**
* The method of limiting the processing of user data. The right to be forgotten.
* @param {boolean} status - send 'false' to erase user's personal data and stop collecting data of this user.
* Send 'true' if you want to resume data collection.
*/
devtodev.setTrackingAvailability(status);
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.
/**
* The property of limiting the processing of user data. The right to be forgotten.
* Use 'false' to erase user's personal data and stop collecting data of this user or 'true'
* if you want to resume data collection.</summary>
*/
DevToDev.Analytics.TrackingAvailability = false/true;
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.
/**
* The method of limiting the processing of user data. The right to be forgotten.
* @param BOOL trackingAvailable - use 'false' to erase user's personal data and stop collecting data of this user.
* 'true' if you want to resume data collection.
*/
[DevToDev setTrackingAvailability: (BOOL) trackingAvailable];
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.
/**
* The method of limiting the processing of user data. The right to be forgotten.
* @param isTrackingAvailable - send 'false' to erase user's personal data and stop collecting data of this user.
* Send 'true' if you want to resume data collection.
*/
DevToDev.setTrackingAvailability(isTrackingAvailable:Boolean)
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')