Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search


  • Content Count

  • Joined

  • Last visited

Everything posted by jonolayton

  1. @BrandonW - thanks for a speedy and helpful reply. I don't think I should paste the code onto a public forum, but I can see how this could be done with javascript to insert into the head just on the homepage - which is what I'm trying to do. In fact, I've recently been doing something similar elsewhere. Are you thinking something similar to: var pageSlug = window.location.pathname; if (pageSlug === "") { $('head').prepend('myCustomCode'); } This would work (I think), but the only trouble is that I might not be able to declare myCustomCode as a variable because the code is full of sin
  2. Hi all, I've been working with SS for quite a few years, and have never been able to work out how custom code can be added to the head tag of a single page. In some instances, we are required to add code snippets specifically to the head of a single page as opposed to across the entire site. One such example is Google Analytics Content Experiments. After adding the code via the page settings > advanced > page header code injection, I have noticed that the code actually ends up somewhere well into the body. Is there a way to get custom code inside the head on a single page of a Sq
  • Create New...