Pre-optIn approvals not working | Community
Skip to main content
RitendraS11
Level 4
May 14, 2023
Solved

Pre-optIn approvals not working

  • May 14, 2023
  • 1 reply
  • 844 views

Hi Everyone,

I am implementing the Optin feature for one of the websites and from the requirements, I have to keep AA and Target as TRUE always.

I tried to implement it via a rule in Launch as - 

adobe.optIn.approve(adobe.OptInCategories.ANALYTICS, true); adobe.optIn.approve(adobe.OptInCategories.ECID, true); adobe.optIn.approve(adobe.OptInCategories.TARGET, true); adobe.optIn.complete();

Whenever I check on the website, I can see that sometimes the OptIn permissions get updated and sometimes not. No idea why this scenario is appearing!

 

So, I tried configuring Pre-Opt In approvals instead of configuring it in Launch rule.

Now, whenever I access the website - I check for Adobe.OptIn.permissions and see AA as false, which should not be the case.

Is there anything that I am missing here?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hemang35

you can try using the adobe.optIn.approveAll() method to approve all categories:

adobe.optIn.approveAll();
adobe.optIn.complete();

1 reply

Hemang35
Hemang35Accepted solution
Level 5
May 15, 2023

you can try using the adobe.optIn.approveAll() method to approve all categories:

adobe.optIn.approveAll();
adobe.optIn.complete();

RitendraS11
Level 4
June 17, 2023

Hi @hemang35 - As I have mentioned in the description, I have tried that and it doesn't seem to help. So, I was trying the option of Pre-Optin approval - which doesn't seem to fix the issue as well.

Issue being faced: ECID cookies are present ---> But, the s_fid cookie is getting created and MID is not taking precedence over FID(which should be the case) and tags are being sent with minimal parameters.