Jump to content

Custom Code is Affecting an Index Page

Go to solution Solved by Lesum,

Recommended Posts

Posted

My website has an index page, but clicking an image doesn't open up the connected sub-page. I'm on Version 7.0, Montauk family (Montauk template). There's custom code that's affecting the ability of the index's sub-pages to open. I took over this website from a predecessor, but I don't know code. 

 

In the "Website Tools" section of my website, I'm seeing the following: 

Header

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WFQ4PR9');</script>
<!-- End Google Tag Manager -->

 

Would someone be able to tell me what this code is doing? 

 

From,

Eric

 

 

My Index Page - Playwrights.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.