Want to trigger a script after customer registration success

I want to trigger a script when customer successfully register from customer register page.
i have checked but inside the success validation nothing is working

{%- if form.posted_successfully? -%}

{%- endif -%}

https://prnt.sc/EYiOcK34FTOY

Hi @Techms ,

As i researched some parts of the store code are not visible. Shopify keeps that secret. I think the account is also one of them.

Thanks for the reply @Ahsan_ANC ,

if code is hidden then how to access this ?
we need to fire a customer signup event on registration success.

We are using Avone theme.