Releases: coatless-quarto/adsense
Releases · coatless-quarto/adsense
Selective Monetization
Features
- Added
enable-adsoption to selectively disable ads on a per-page basis when a global Google Adsense configuration is used.
adsense:
enable-ads: falseDocumentation
- Reorganized getting started documentation.
- Added an example showing an ad-free page.
- Added an FAQ page.
Deployment
- Moved the documentation website under
docs/
Monetize
Features
- New Google Adsense Extension for Quarto allowing for global or per-page insertion of ad units
Installation
To install the adsense extension, follow these steps:
-
Open your terminal.
-
Execute the following command:
quarto add coatless-quarto/adsenseThis command will download and install the extension under the _extensions subdirectory of your Quarto project. If you are using version control, ensure that you include this directory in your repository.
Usage
Open either the _quarto.yml or _metadata.yml Project file and add the following:
adsense:
publisher-id: ca-pub-XXXXXXXXXXXXXXXX
filters:
- adsensewhere ca-pub-XXXXXXXXXXXXXXXX in publisher-id is your Google Adsense Publisher ID.
Note: Ads may take up to an hour to appear on the page/project.