Autocapture event bubbling
Hi all..
I just have a question that I couldn't find answer to in the docs and as a potential time saver on my side.
Let's say I have an element like so..
<a class="link" href="/hello-world"><span class="link__text">Label text</span><svg class="link__icon".... </svg></a>
I wish to track autocapture events on this link.. Right now, I have an autocapture series filtered by css selector of
`.link[href="/hello-world"]'
This is fine, but I found that it wasn't capturing the true story.
I had to then add a custom action which included the following autocapture events css selectors to capture clicks on this link..
.link__text AND .link__icon
Is this approach correct or am I missing something? I was not sure if the autocapture CSS selector of `.link[href="/hello-world"]' would capture all child clicks and these would bubble up to this selector?
Sorry if my explanation isn't great
Just feeding back here more visibly, these AI responses are just incredible! :)