Note: While our most popular guides have been translated into Spanish, some guides are only available in English.

Can I place advertisements on my 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 Premium features available in Business and Commerce plans.

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. This isn't currently possible on Squarespace. 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:

Promote your site elsewhere

If you're a new Google Ads subscriber, you can get a $100 Google Ads credit when you spend spend $25 or more. For more information, visit Redeeming your Google Ads credit.

Was this article helpful?
206 out of 292 found this helpful
Can I place advertisements on my site?