Skip to main content
Level 3
April 17, 2023
Respondido

is there a way to programmatically clear Visitor Profile data?

  • April 17, 2023
  • 1 resposta
  • 906 Visualizações

Is there a way to programmatically clear data tied to a Visitor Profile?  I'm using it for Customer Attributes but I don't want the segmentation to persist offline, only during session when user is authenticated.

Este tópico foi fechado para respostas.
Melhor resposta por parthhetamsaria

You can use the mbox.js library and the mboxReset() method to clear the data. This method will remove all the cookies and reset the mbox session, effectively clearing all data associated with the visitor profile.

 

Code:

<script src="https://YOURCOMPANY.tt.omtrdc.net/m2/YOURCOMPANY/mbox.js"></script>

mboxReset();

 

You can add this code to any page where you want to clear the data associated with a visitor profile

1 Resposta

parthhetamsaria
Adobe Employee
Adobe Employee
April 24, 2023

You can use the mbox.js library and the mboxReset() method to clear the data. This method will remove all the cookies and reset the mbox session, effectively clearing all data associated with the visitor profile.

 

Code:

<script src="https://YOURCOMPANY.tt.omtrdc.net/m2/YOURCOMPANY/mbox.js"></script>

mboxReset();

 

You can add this code to any page where you want to clear the data associated with a visitor profile