All pages
Powered by GitBook
1 of 1

Loading...

Secondary methods

This generation of SDK is deprecated and is no longer supported. Information about the current version can be found here.

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:

The list of predefined keys:

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

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

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.

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

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.

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

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

    Reddit

    fb

    Facebook

    rr

    Renren

    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:

    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

    • Asking for help

    • New Record

    • Achiеvement

    • URL sharing

    Value

    Social Network

    Value

    Social Network

    en

    Evernote

    rt

    Reddit

    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.

    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.

    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')

    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...

    /**
     * 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];
    //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"];
    /**
    * Tracks the existence of a connection with a social network.
    * Use pre-defined or custom values as an identifier.
    * <param name="socialNetwork"> Social network ID </param>
    */
    DevToDev.SDK.SocialNetworkConnect(SocialNetwork socialNetwork);
    DevToDev.SDK.SocialNetworkConnect(SocialNetwork.Facebook);
    SocialNetwork socialNetwork = SocialNetwork.Custom(string networkName); //(max. 24 symbols)
    /**
    * 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);
    /// <summary> Track the existence of a connection with a social network. 
    /// Use pre-defined or custom values as an identifier.</summary>
    /// <param name="socialNetwork"> Social network ID </param>
    DevToDev.Analytics.SocialNetworkConnect(DevToDev.SocialNetwork socialNetwork);
    DevToDev.SocialNetwork.Facebook
    DevToDev.SocialNetwork.Twitter
    DevToDev.SocialNetwork.GooglePlus
    DevToDev.SocialNetwork.Vk
    // and so on...
    DevToDev.SocialNetwork socialNetwork = DevToDev.SocialNetwork.Custom(string networkName); //(max. 24 symbols)
    /**
    * 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];
    Facebook
    Twitter
    GooglePlus
    VK
    //and so on...
    SocialNetwork  socialNetwork = [SocialNetwork Custom: (NSString *) networkName]; //max. 24 symbols
    /**
    * 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);
    SocialNetwork.VK;
    SocialNetwork.TWITTER;
    SocialNetwork.FACEBOOK;
    SocialNetwork.GOOGLE_PLUS;
    SocialNetwork.WHATS_APP;
    SocialNetwork.VIBER;
    SocialNetwork.EVERNOTE;
    SocialNetwork.GOOGLE_MAIL;
    SocialNetwork.LINKED_IN;
    SocialNetwork.PINTEREST;
    SocialNetwork.QZONE;
    SocialNetwork.REDDIT;
    SocialNetwork.RENREN;
    SocialNetwork.TUMBLR;
    /**
    * Custom social network object
    * @param networkName - social network name (max. 24 symbols)
    */
    var socialNetwork:SocialNetwork = SocialNetwork.Custom(networkName:String);
    /**
    *  <param name="networkName"> Social network ID </param>
    *  <param name="reason"> The reason of posting. (max. 32 symbols)</param>
    */
    DevToDev.SDK.SocialNetworkPost(SocialNetwork socialNetwork, String reason)
    DevToDev.SDK.SocialNetworkPost(SocialNetwork.Facebook, "newLevelReached");
    /**
    * 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);
    /// <summary> Track the existence of posts to a social network. </summary>
    /// <param name="networkName"> Social network ID </param>
    /// <param name="reason"> The reason of posting. (max. 32 symbols)</param>
    DevToDev.Analytics.SocialNetworkPost(DevToDev.SocialNetwork networkName, string reason);
    /**
    * 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];
    /**
    * 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);
    // 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);
    /**
    * 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);
    /**
    * 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;
    /**
    * 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];
    /**
    * 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)
    /**
     * ### Usage:
     *     Dictionary<ReferralProperty, string> referralData = new Dictionary<ReferralProperty, string>();
     *     referralData.Add(ReferralProperty.Source, "source");
     *     referralData.Add(ReferralProperty.Medium, "medium");
     *     referralData.Add(ReferralProperty.Content, "content");
     *     referralData.Add(ReferralProperty.Campaign, "campaign");
     *     referralData.Add(ReferralProperty.Term, "term");
     *     referralData.Add(ReferralProperty.Custom("site"), "site");
     *     DevToDev.SDK.Referral(referralData);
     *
     * <param name="referralData">Dictionary with referrer values</param>
     */
    DevToDev.SDK.Referral(Dictionary<ReferralProperty, string> referralData);
    //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 key
    ReferralProperty.Custom("your_key_name");
    /// <summary> Initial referrer tracking <summary>
    /// <example> Usage:
    /// 
    ///     Dictionary<ReferralProperty, string> referralData = new Dictionary<ReferralProperty, string>();
    ///     referralData.Add(ReferralProperty.Source, "source");
    ///     referralData.Add(ReferralProperty.Medium, "medium");
    ///     referralData.Add(ReferralProperty.Content, "content");
    ///     referralData.Add(ReferralProperty.Campaign, "campaign");
    ///     referralData.Add(ReferralProperty.Term, "term");
    ///     referralData.Add(ReferralProperty.Custom("site"), "site");
    ///     DevToDev.Analytics.Referral(referralData);
    /// 
    /// </example>
    /// <param name="referralData"> Dictionary with referrer values </param>
    DevToDev.Analytics.Referral(Dictionary<ReferralProperty, string> referralData);
    // 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 key
    ReferralProperty.Custom("your_key_name");
    /**
     * 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];
    //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"];
    /**
    * ### Usage:
    *     var referralData:Dictionary = new Dictionary();
    *     referralData[ReferralProperty.Source] = "source";
    *     referralData[ReferralProperty.Medium] = "medium";
    *     referralData[ReferralProperty.Content] = "content";
    *     referralData[ReferralProperty.Campaign] = "campaign";
    *     referralData[ReferralProperty.Term] = "term";
    *     referralData[ReferralProperty.Custom("site")] = "site";
    *     DevToDev.referral(referralData);
    *
    * @ param referralData - dictionary with referrer values
    */
    DevToDev.referral(referralData:Dictionary);
    The list of predefined keys:
    // 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 key
    ReferralProperty.Custom("your_key_name");
    /**
    * 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)
    Facebook
    Twitter
    GooglePlus
    VK
    //and so on...
    SocialNetwork  socialNetwork = [SocialNetwork Custom: (NSString *) networkName]; (max. 24 symbols)
    /**
    * 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);
    /**
    * 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];
    Facebook
    Twitter
    GooglePlus
    VK
    //and so on...
    SocialNetwork  socialNetwork = [SocialNetwork Custom: (NSString *) networkName];
    // networkName (max. 24 symbols)
    /**
    * 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);
    /**
    * @return OpenUdid
    */
    [DevToDev getOpenUdid];
    /**
    * @return Open Udid
    */
    DevToDev.getOpenUdid();
    DevToDev.SDK.OpenUdid
    DevToDev.Analytics.OpenUdid
    /**
    * @return Open Udid
    */
    [DevToDev getOpenUdid];
    /**
    * @return ODIN1
    */
    [DevToDev getOdin1];
    /**
    * @return ODIN1
    */
    DevToDev.getOdin1();
    DevToDev.SDK.ODIN
    DevToDev.Analytics.Odin1
    /**
    * @return ODIN1
    */
    [DevToDev getOdin1];
    /**
    * @return ODIN1
    */
    DevToDev.getOdin1();
    /**
    * @return UUID
    */
    [DevToDev getUUID];
    /**
    * @return UUID
    */
    DevToDev.getUUID();
    /**
    * @return UUID
    */
    [DevToDev getUUID];
    /**
    * @param BOOL isActive
    */
    [DevToDev setActiveLog: (BOOL) isActive];
    /**
    * @param logLevel
    */
    DevToDev.setLogLevel(LogLevel logLevel);
    //to enable logging
    DevToDev.SDK.LogEnabled = true;
    
    //to disable loging
    DevToDev.SDK.LogEnabled = false;
    /**
    * Activates console log
    * @param {boolean} status
    */
    
    devtodev.setDebugLog(status);
    /// <summary> Enable/Disable log</summary>
    /// <param name="isEnabled">Enabled/Disabled log</param>
    DevToDev.Analytics.SetActiveLog(bool isEnabled);
    /**
    * @param BOOL isActive
    */
    [DevToDev setActiveLog: (BOOL) isActive];
    /**
    * @param logLevel (set logLevel=1 to enable log, 0 to disable)
    */
    DevToDev.setLogLevel(logLevel:int);
    [DevToDev sendBufferedEvents];
    DevToDev.sendBufferedEvents();
    DevToDev.SDK.sendBufferedEvents();
    /**
    * Sends event packet immediately
    */
    
    devtodev.sendBufferedEvents();
    DevToDev.Analytics.SendBufferedEvents();
    [DevToDev sendBufferedEvents];
    DevToDev.sendBufferedEvents();
    // Sends events pack before it is filled or before its formation period
    
    FAnalytics::Get().GetDefaultConfiguredProvider()->FlushEvents();
    /**
    * @return SDKVersion
    */
    [DevToDev sdkVersion];
    /**
    * @return SDKVersion
    */
    DevToDev.getSdkVersion();
    DevToDev.SDK.GetSdkVersion();
    /**
    * Returns SDK version
    */
    
    devtodev.getSdkVersion();
    /**
    * @return SDKVersion
    */
    [DevToDev sdkVersion];
    /**
    * @return SDKVersion
    */
    DevToDev.getSdkVersion();
    /// <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;
    /**
    * 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];
    /**
    * 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);
    UDevToDevBlueprintFunctionLibrary::Referrer(const TArray<FAnalyticsEventAttr>& Attributes);
    /**
    * Custom social network object
    * @param networkName - social network name (max. 24 symbols)
    */
    SocialNetwork socialNetwork = SocialNetwork.Custom(String networkName);
    /**
    * Custom social network object
    * @param networkName - social network name (max. 24 symbols)
    */
    SocialNetwork socialNetwork = SocialNetwork.Custom(String networkName);
    /// <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;

    tb

    Tumblr

    gp

    Google+

    tw

    Twitter

    in

    LinkedIn

    vk

    VK

    ok

    Odnoklassniki

    vb

    Viber

    pi

    Pinterest

    wp

    WhatsApp

    qq

    Qzone

    tb

    Tumblr

    gp

    Google+

    tw

    Twitter

    in

    LinkedIn

    vk

    VK

    ok

    Odnoklassniki

    vb

    Viber

    pi

    Pinterest

    wp

    WhatsApp

    qq

    Qzone

    Quest completed

  • New item

  • Collection completed

  • Invitation

  • Recommendation
  • Review

  • and so on...

    gm

    Google Mail

    tb

    Tumblr

    gp

    Google+

    tw

    Twitter

    in

    LinkedIn

    vk

    VK

    ok

    Odnoklassniki

    vb

    Viber

    pi

    Pinterest

    wp

    WhatsApp

    qq

    Qzone

    Value

    Social Network

    Value

    Social Network

    en

    Evernote

    rt

    Reddit

    fb

    Facebook

    rr

    Renren

    gm

    fb

    Facebook

    rr

    Renren

    gm

    Google Mail

    tb

    Tumblr

    gp

    Google+

    tw

    Twitter

    in

    LinkedIn

    vk

    VK

    ok

    Odnoklassniki

    vb

    Viber

    pi

    Pinterest

    wp

    WhatsApp

    qq

    Qzone

    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

    Reddit

    fb

    Facebook

    rr

    Renren

    gm

    Google Mail

    Google Mail

    // 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);
    SocialNetwork socialNetwork = SocialNetwork.Custom(string networkName); //(max. 24 symbols)
    DevToDev.SocialNetwork.Facebook
    DevToDev.SocialNetwork.Twitter
    DevToDev.SocialNetwork.GooglePlus
    DevToDev.SocialNetwork.Vk
    // and so on...
    DevToDev.SocialNetwork socialNetwork = DevToDev.SocialNetwork.Custom(string networkName); //(max. 24 symbols)
    Facebook
    Twitter
    GooglePlus
    VK
    //and so on...
    SocialNetwork  socialNetwork = [SocialNetwork Custom: (NSString *) networkName]; //max. 24 symbols
    SocialNetwork.VK;
    SocialNetwork.TWITTER;
    SocialNetwork.FACEBOOK;
    SocialNetwork.GOOGLE_PLUS;
    SocialNetwork.WHATS_APP;
    SocialNetwork.VIBER;
    SocialNetwork.EVERNOTE;
    SocialNetwork.GOOGLE_MAIL;
    SocialNetwork.LINKED_IN;
    SocialNetwork.PINTEREST;
    SocialNetwork.QZONE;
    SocialNetwork.REDDIT;
    SocialNetwork.RENREN;
    SocialNetwork.TUMBLR;
    /**
    * Custom social network object
    * @param networkName - social network name (max. 24 symbols)
    */
    var socialNetwork:SocialNetwork = SocialNetwork.Custom(networkName:String);