Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

EstebanBustamante
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Jan 16, 2024 3:27 PM UTC

Can you elaborate more on your use case? Overall, I think that is not the main purpose of Target. What you are describing sounds more like regular JavaScript code that runs directly on the website

Translate
Esteban Bustamante
varun790Author
Level 2
Jan 17, 2024 7:52 AM UTC

We have a page and we made changes in VEC as per our requirement for particular audience.

 

Generally when the page loads target gets triggered audience gets satisfied and changes are visible.

 

My requirement is to load the changes when User clicks on any button not on page load.

 

 

Translate
bryan_w_bounteo
Level 2
Jan 22, 2024 3:01 AM UTC
ArpitVarshney
Community Advisor
Community Advisor
Jan 17, 2024 3:08 PM UTC

Hi @varun790 

Please elaborate more about the usecase.

However, If you mean to use mbox of target based on clicking of a button, You can call delivery API from the backend to get mbox JSON response and accordingly show UI.

Regards,
Arpit Varshney

Translate
kautuk_sahni
Level 9
Jan 23, 2024 12:00 PM UTC

@varun790 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Translate
Kautuk Sahni