Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Null values of profile parameters

Avatar

Level 2

Hi, everyone.

 

Has anyone uses the __save=false object to delay the saving of profile parameters until content has been displayed by the end user? for reference: https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/personalization/adobe-target/...

 

I am quite new to adobe target and I am fixing an issue that the profile parameters returns "null" values whenever I do hard reload and clear data. These target parameters are get from the demandbase values in the local storage. I use the __save=false to fix this but I think it is not working

Thanks everyone

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @NingLaoShi ,

 

Adobe Target processes profile parameters on the first call — so if:

The parameter (e.g. industry, companyName) is not yet set in localStorage (e.g. before Demandbase script has loaded),

  • Target may receive and store a null (or empty) value into the visitor profile.

If you don't prevent this, the null will overwrite any previous value in the visitor’s profile

Recommendations:

 

  1. Ensure Demandbase Data Is Ready Before Sending Target Call: Use a synchronous approach or callback to delay the Adobe Target call until Demandbase has populated localStorage.
  2. Avoid Sending Null Values:

    Before assigning parameters, check they’re not null or undefined.

  3. Revisit __save=false Usage

     

     

    __save=false prevents profile data from being saved on that Target call, but:

    If your call includes null profile values, __save=false won't prevent overwriting if you're explicitly passing them.

    Ensure you're either: Omitting params when they are null or, better, conditionally building your params object to exclude nulls

  4. Delay Target Initialization (if using at.js)

    If you're using at.js, delay initialization until Demandbase data is guaranteed to be in place

Avatar

Level 7

Hi @NingLaoShi ,

  1. First, send your Target request with __save=false to delay saving — this prevents partial or null data from being saved.
  2. Once your Demandbase data is loaded and content is displayed, send another Target request without __save=false to actually save the profile parameters.