Your code looks correct.
And your website is served over SSL.
So, next step is please link to a page that shows it broken.