Load target activity changes on button click | Adobe Higher Education
Skip to main content
Level 2
January 16, 2024

Load target activity changes on button click

  • January 16, 2024
  • 3 답변들
  • 1256 조회

I want to load the changes of target activity on button click not on page load.

이 주제는 답변이 닫혔습니다.

3 답변

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 16, 2024

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

Esteban Bustamante
varun790작성자
Level 2
January 17, 2024

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.

 

 

bryan_w_bounteo
Level 2
January 22, 2024
ArpitVarshney
Community Advisor
Community Advisor
January 17, 2024

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

kautuk_sahni
Community Manager
Community Manager
January 23, 2024

@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.

Kautuk Sahni