Jump to content

Google Ads

Recommended Posts

Site URL: http://www.tvline.co.uk

Please help. I am trying to add what I think is HTML (below) to my site on squarespace but the error I get says I need to upgrade to a full business plan to use JavaScript, though HTML is allowed?

<script data-ad-client="ca-pub-8673100889707303" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

I am not a coder so not sure how to get around this and squarespace can't help me as they don't get involved when it comes to adding code. Any advice would be most appreciated.

Link to comment
  • Replies 1
  • Views 203
  • Created
  • Last Reply

Hi @cmac

Depending on the type of code you're using, you may be able to add it to an Embed Block. I am not sure if this is already what you are trying to attempt. 

If the Embed Block doesn't work, you can add all types of supported code to the Code Block by upgrading to the Business plan as mentioned in the error message that you are describing. 

There's also a Squarespace help article on adding ads to your site that I am linking it here if you would like to have a look:

Can I place advertisements on my site?

Link to comment

Archived

This topic is now archived and is closed to further replies.

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