How to install and configure¶
Installation¶
Steps:- Download the latest version from Files tab.
- Uncompress it into you Redmine
plugins
folder. - Restart your Redmine installation (no migration is needed) i.e.
touch tmp/restart.txt
for Passenger.
Configuration¶
Steps:- Click on Administration top menu link.
- Click on Plugins link.
- Click on Configure in Ads plugin entry.
- Personalize plugin settings (see next section for further explanations).
Configuration parameters¶
- Google AdSense: parameters for Google AdSense, you will need to extract them from your Google AdSense account, once logged go to My ads/Ads unit and click on Get code from the ad that you want to use.
You will see a pop-up window with a content similar to this:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-3572144803895276" data-ad-slot="4836455575" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
- Enabled: enable/disable Google adsense ads.
- Client ID: copy the content of
data-ad-client
attribute, i.e.ca-pub-3572144803895276
. - Ad ID: copy the content of
data-ad-slot
attribute, i.e.ca-pub-4836455575
.
- Google Analytics: parameters for Google Analytics, you will need to extract them from your Google Analytics account, once logged locate your site.
- Enabled: enable/disable Google analytics.
- Tracking ID: site ID, i.e.
UA-26251894-3
.
- Infolinks: parameters for Infolinks ads.
- Enabled: enable/disable Infolinks ads.
- Account ID: Infolinks account ID.
- Website ID: Infolinks website ID.
- Patreon: parameters for Patreon.
- Enabled: enable/disable Patreon.
- Patreon ID: Patreon creator ID.
- Custom Patreon message: Custom Patreon message to show on Patreon logo title (shown on mouse over the logo), left empty for a default & localised message.
- Support this plugin: this plugin is supported rendering from time to time my own ads in your Redmine installation, thanks!
- How much?: you can select how often my ads are render, from once per two times till once per ten times.