Can I place advertisements on my site?

false

Can I place advertisements on my site?

Last updated September 05, 2025 19:25

Best practices when displaying ads on your site.

Although we don't have built-in advertisement integrations, you can include ads on your site using third-party services like Google AdSense. If you display ads, ensure their content follows our Terms of Service and Acceptable Use Policy.

The steps in this guide include adding advanced code to code blocks and code injection panels. These are available in the Core, Plus, Advanced, Business, Commerce Basic, and Commerce Advanced plans. To learn more, visit Choosing the right Squarespace plan

Display ads on your site

To display ads on your site, sign up with a third-party ad service. On your Squarespace site, paste code from the ad service into code blocks. You may want to start in a sidebar or footer.

Google AdSense

Google AdSense is a popular third-party ad service.

By default, Google uses machine learning to choose where to place ads on your site. To enable this, add the activation code from your Adsense homepage to the Header field in site-wide code injection.

For more control, you can choose exactly where the ads display using code blocks:

  1. Remove the activation code from site-wide code injection (if you added it before).
  2. Disable auto-ads in your Google AdSense account.
  3. Create an ad unit and copy its code.
  4. Place the ad on your site by pasting the code into a code block.

Google sometimes recommends uploading an ads.txt file to your root-level domain or directory. There isn't a built-in way to do this in Squarespace, but you may be able to add a text file to your site by making a custom modification. To learn more, visit this post in the Squarespace Forum. Keep in mind, custom modifications like this one fall outside the scope of our support. This means we're unable to help you set up or troubleshoot these solutions.

Contact Google AdSense support for more information and possible alternatives.

Note: Code-based customizations like embedded display ads fall outside the scope of our support. This means that we’re unable to help further with setup or troubleshooting. Additionally, since these are code-based solutions, we can’t guarantee their functionality or full compatibility with Squarespace. This includes how the ads function with our responsive design, particularly their appearance on mobile devices, and if they function on all templates. Code-based customizations can also cause display issues with future updates to our platform. While we can't help further, there are many resources that can point you in the right direction:

Was this article helpful?

Yes No

426 out of 589 found this helpful

Yes No

Can I place advertisements on my site?