intercom-rails
intercom-rails copied to clipboard
Body tag is antiquated
Hey guys,
Google and the HTML5 standard now recommend that web developers no longer use the
tag.See Google's styleguide: https://google.github.io/styleguide/htmlcssguide.html
It would be better if we could customize where the Rails gem inserts intercom's JS, or if it would just insert the code at the bottom of the application layout file.
Cheers!
Do you mean something like the intercom_script_tag helper? e.g., in a layout you could
<%= intercom_script_tag %>
Yes?
That said, it might be nice to totally disable this feature. Perhaps via an ENV Var?