Event Custom Script Error

I add an event custom script like this for the customer dashboard.

When I open the customer dashboard the below error comes, Why?

How to solve this error?

This issue working fine in v13 but not working in v12.

1 Like