Snippet injection

Inject analytics or other scripts into the HTML of your site.---

  • before </body>

    scroll2top

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" async defer>
    
      </script>
      <script type="text/javascript">
        function hideLoader() {
          $( '#loading' ).hide();
        }
        $( window ).ready( hideLoader );
        // Strongly recommended: Hide loader after 20 seconds, even if the page hasn't finished loading
        setTimeout( hideLoader, 10 * 1000 );
        $( window ).on( 'beforeunload', function () {
          $( window ).scrollTop( 0 );
        } );
      </script>
    
      <script>
        $( window ).scroll( function () {
          $( "#back" ).stop().animate( {
            "marginTop": ( $( window ).scrollTop() ) + "px",
            "marginLeft": ( $( window ).scrollLeft() ) + "px"
          }, "slow" );
        } );
      </script>

  • before </body>

    spotify


  • before </body>

    scroll2-vanilla


  • before </body>

    blm


  • before </head>

    iframe-style


  • before </body>

    addThis


  • before </head>

    analytics-n-addsense


  • before </head>

    netlify-oauth


  • before </body>

    github-netlify-oauth


  • before </body>

    content-authoring


  • before </head>

    Algolia-Search


  • before </body>

    searcg


  • before </head>

    algolia-search-cdn

Last updated

Was this helpful?