Giter Site home page Giter Site logo

Comments (7)

cacheung avatar cacheung commented on August 17, 2024 1

@shravanteegala both setThirdPartyId and setVisitorIdentifier are set from the client by calling client sdk API.
https://developer.adobe.com/client-sdks/documentation/adobe-target/api-reference/#setthirdpartyid
https://developer.adobe.com/client-sdks/documentation/adobe-analytics/api-reference/#setvisitoridentifier

They are custom ids, you can set to any string you want to.
Once you set them, you can get the same values from getThirdPartyId and getVisitorIdentifier.

The value of getTntId should show after you have a successful target request with a response by implementing prefetchContent or retrieveLocationContent.

If you still see the problem after that, you can let us know your Environment file ID (app id) which you have set in your initialization code. You suppose to set it when creating Mobile properties in Data Collection UI.

from aepsdk-sample-app-ios.

cacheung avatar cacheung commented on August 17, 2024

@shravanteegala please check if you have the initial setup and Environment File ID setup properly by following the documentation.

from aepsdk-sample-app-ios.

shravanteegala avatar shravanteegala commented on August 17, 2024

[AEPMobileTarget getThirdPartyId:^(NSString *thirdPartyID, NSError *error)] {

NSLog(@"thirdPartyId is : @", thirdPartyID)
}];

// ouput: null

getting below Log console .
[AEP SDK WARNING - Unable to handle response, No third party id available.]

[AEPMobileTarget getTntId:^(NSString *tntID, NSError *error)] {

NSLog(@"tntID is : @", tntID)
}];

// output : null
getting below Log console .
[AEP SDK WARNING - Unable to handle response, No tntID available.]

[AEPAnylatics getVisitorIdentifier:^(NSString *visitorID, NSError *error)] {

NSLog(@"visitorID is : @",visitorID)
}];

// ouput: (null)
getting below Log console .
[AEP SDK WARNING - Unable to handle response, No getVisitorIdentifier available.]

from aepsdk-sample-app-ios.

cacheung avatar cacheung commented on August 17, 2024

@shravanteegala
AEPMobileTarget getThirdPartyId - if there is no custom third party ID was previously set, it will show nil. Have you set it?
https://developer.adobe.com/client-sdks/documentation/adobe-target/api-reference/#getthirdpartyid

AEPMobileTarget getTntId - The tntId is returned in the network response after a successful call to prefetchContent or retrieveLocationContent, have you call them?
https://developer.adobe.com/client-sdks/documentation/adobe-target/api-reference/#gettntid

AEPAnylatics getVisitorIdentifier - it gets the custom visitor identifier which previously set in setVisitorIdentifier. Have you set it?
https://developer.adobe.com/client-sdks/documentation/adobe-analytics/api-reference/#getvisitoridentifier

If you did set them already, we might need to take a look of your Environment File ID.

from aepsdk-sample-app-ios.

shravanteegala avatar shravanteegala commented on August 17, 2024

thank you @cacheung .

from aepsdk-sample-app-ios.

shravanteegala avatar shravanteegala commented on August 17, 2024

@cacheung where i need to setThirdPartyId ,setVisitorIdentifier. is it in client local(randam alphanumeric)(ios) side ? or adobe configuration side .?

where Environment File ID is found. ?

from aepsdk-sample-app-ios.

shravanteegala avatar shravanteegala commented on August 17, 2024

thank you @cacheung .

from aepsdk-sample-app-ios.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.