URGENT - Insert() code not working on mobile!

Hi Wix community!

Below I’ve copied my code from my Registration Lightbox on my site www.blissen.co

The issue I am having, is that the system is not inserting the data into “ReferredUsers” when someone registers via the web on their phone. It works just fine on desktop. Any ideas?!! Any help would be much appreciated – this is causing huge hiccups for us!

// For full API documentation, including code examples, visit https://wix.to/94BuAAs
import wixLocation from 'wix-location';
import wixUsers from 'wix-users';
import wixWindow from 'wix-window';
import wixData from 'wix-data';

export function button13_click(event) {
 let FirstName = $w("#input6").value;
 let LastName = $w("#input7").value;
 let Email= $w("#input8").value;
 let Password = $w("#input9").value;
 let Referral = "organic";
 if ($w("#input10").value !== "") {
    Referral = $w("#input10").value.toLowerCase();
  }
 let Birthday = $w("#datePicker2").value;

  wixUsers.register(Email, Password, {
        contactInfo : {
 "firstName": FirstName,
 "lastName":  LastName,
 "Referral": Referral,
 "Birthday": Birthday
              }
        } )
        .then((result) => {
          console.log(result)
          wixData.insert("ReferredUsers",{
 "memberId":result.user.id,
 "referral":Referral
          });
        }).then(()=> {
            wixWindow.lightbox.close();
            wixLocation.to("https://www.blissen.co/join")
          })
        .catch( (err) => {
        $w('#text58').text = err
         $w('#text58').show();   
        } );
    }     
 

$w.onReady(function () {
 //TODO: write your page related code here...
 let today = new Date();
  $w("#datePicker2").maxDate = new Date(today - 18*3.154e+10);

});

I’m having the same issue. I’m not sure if the onClick event is being called because when I click on the button to insert, the color of the button stays the color of the Hover setting…