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
Google AdSense is a popular third-party ad service.
For more control, you can choose exactly where the ads display using Code Blocks:
- Remove the activation code from site-wide Code Injection (if you added it before).
- Disable auto-ads in your Google AdSense account.
- Create an ad unit and copy its code.
- 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.