There are chances that the code copied from Freshservice would contain your CNAME for portal and not the Freshservice domain URL. Please do check it once and also check if the URL is https supported for the feedback widget to work.