I would like to use the custom code of Data Elements in Adobe Launch to get a text value for the parent element of the clicked element.
I used $(this).parents('h3').text() method, but when I checked with debug tool, the text value is not collected properly. Custom Code of Data Elements in Adobe Launch
However, when I check with the console within the page, I can see that the text value exists through that method.
Does Adobe Launch not support that method? So how do I get a property value for the parent or child element of a clicked element?
You can use javascript for this in Launch's custom code where your Rule is an EBR(Event-Based Rule) as below
Or