When using Link > URL field, can I have a variable target?

Hi,

I have an ACF Repeater field set up with a link array. I’d like to call this into a Div I have setup as an using the URL field so that the whole div is clickable. Is there any way to have a variable target? Some of the links go off-site and I’d like that to open in a blank page.

image

I tried putting this code that I’m using elsewhere, but it doesn’t work. Is there a better way to achieve this?

{{dc:looper:field key=“hot_button_link.url”}} target="{{dc:looper:field key=“hot_button_link.target”}}"

Thanks!