Jump to content

gormgo

Circle Member
  • Posts

    4
  • Joined

  • Last visited

gormgo's Achievements

  1. Site URL: https://www.concussionalliance.org/ Hello, I'm trying figure out what the custom code is. Thanks for letting me know <meta name="msvalidate.01" content="4AED7DB99B0E107628A7001A68E43C71" /> <script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0081/0288.js" async="async"></script> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script> // Put our initial page url into a variable var initialhref = window.location.href; // Run the foo function every 1.5s window.setInterval(foo, 1500); function foo(){ // Put the current url into a variable var currenthref = window.location.href; //If the current url isn't the same as the initial url we need to track a virtual page view if ( currenthref != initialhref ) { // The next 2 lines store the folder & page name of the current url in a variable var arrsplitvpv = currenthref.split('http://www.mydomain.com/'); var trackurl = arrsplitvpv[1]; // The next looks to see which of the index pages is active and grabs its page title. This code is template specific to the Flatiron template. Other templates will use different selectors. var pagetitle = $("#grid .sqs-dynamic-data-active .project-title h2").text(); // Now push the virtual page view over to Google Analytics _gaq.push(['_trackPageview', '/vpv/' + trackurl, pagetitle ]); // Finally, reset the initialhref to currenthref so that we can detect any further url changes initialhref = currenthref; }; } </script> <script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/8348b8ace6951c3bc03f66e4d/203b96f4e3419477745edb365.js");</script>
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.