내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Pre-optIn approvals not working

Avatar

Level 5

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?

Screenshot 2023-05-14 at 21.50.41.png

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 7

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

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

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Level 7

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

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

Avatar

Level 5

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.