I don’t see anything wrong with it and it should be working.
Does your theme include both template tags wp_head()
and wp_footer()
?
Have you checked to see if there is anything interfering with ACFs operation? Disable other plugins and switch to a basic theme to see if you can clear up the problem that way?