Problem adding Javascript - jsx flag not provided

Hi all, I am new to Velo and I m trying to add javascript to my Wix website but I am getting always the same error as soon as I write my code “cannot use jsx unless --jsx flag is provided”… has nobody idea how to solve it?

Thanks all

Having the same issue. Have you found a solution?

Hey @marlowe-shaeffer , would you please have someone from the team to take a look here. Thanks.

Can someone please share more information about the issue, including the URL and steps to reproduce, so that the team has something to investigate? Thanks.

@info25879 could you please share your code with us?

Hey @ahmadnasriya I have the same issue. This my code,

< script >
dpix ( “event” , “offer-completed” , { amount : $amount } );
</ script >

I need to replace $amount in the code with the purchase amount field of the purchase. I will also need to replace the field value name in the code to something else.

Where is this code placed?

I am having the same problem when I try to use this code from my booking site (Resova) into the body of my webpage

Any help would be appreciated! Thanks :slight_smile:

@breakouttylor This article might help you: https://support.wix.com/en/article/embedding-custom-code-to-your-site

You can also contact Wix Customer Care , as they are best suited to assist with features not related to Velo.

Having the same problem. Any solution? Thanks!