Child Element in HTML Offer code being available for another activity | Community
Skip to main content
Level 2
May 3, 2024
Solved

Child Element in HTML Offer code being available for another activity

  • May 3, 2024
  • 1 reply
  • 606 views

Hi, we have a HTML Offer to replace the content of a large outer container.  Let's call it activity A.  It so happens that there is a button within the original page, and it is also present in the offer code. This button is the container ID for another test (Activity B) that uses an XF to replace the button with another one - different text and href.  Now, my question is whether the button in the HTML offer will be visible to Activity B?  The container ID of the button is the same in the HTML offer as in the control page.  Thanks!

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 alexbishop

If the ID of the button is the same then it would be reachable by Activity B. The only possible challenge I can think of is the order of the activities being rendered i.e., if Activity B renders first with different text/href but is then overwritten by the HTML Offer from activity A

1 reply

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
May 8, 2024

If the ID of the button is the same then it would be reachable by Activity B. The only possible challenge I can think of is the order of the activities being rendered i.e., if Activity B renders first with different text/href but is then overwritten by the HTML Offer from activity A