Carefree Ad Manager
User Manual
 
 
These interactive screenshots are not connected with a database.
Only navigation is allowed. No data updating or exporting.
~ Return to sales page ~

[home]

Index

[home]
General   Control Panel
 
 

Entire manual in one web page.

Publish

Use the "Publish" menu item to copy ad code for pasting into web pages and templates.

A channel's set of ads may be published on web pages with either PHP code or JavaScript code. Paste it into web pages at the location where the ads are to be published.

For WordPress websites, click here to download the WordPress and Carefree Ad Manager PDF with step-by-step instructions for putting ads in your (i) posts, (ii) pages, (iii) sidebar, and (iv) footer.

Here is a PHP/JavaScript ad publishing comparison chart.

Publishing with PHP code Publishing with JavaScript code
PHP code will work only on PHP web pages, and will work even if the browser has JavaScript turned off. JavaScript will work on all web pages except for browsers with JavaScript turned off.
Ads can be published only on web pages at the domain where Carefree Ad Manager is installed. Ads can be published on web pages at any domain.
Ad impressions are logged with the URI of the web page where the ad is published. The URI is the URL without the leading "http://" and domain name. Ad impressions are logged with the absolute http://... URL of the web page where the ad is published. (Alternative described at "Important Note" further below.)
Ad content is available to search engine spiders. Ad content is less likely to be available to search engine spiders.

Important Note — A few hosting companies use algorithms to reject any URL that contains an absolute URL in its parameters ("parameters" being anything following a "?" character). Publishing with JavaScript contains the absolute URL of the web page in the JavaScript URL's parameter.

Here is a work-around:

In the JavaScript code to publish a channel's ads, you'll find this:

+document.URL+

Change it to:

+document.URL.replace(/^[^:]+:\/\/[^/]*/,"")+

The code will strip the "http://" and domain name from the URL in the JavaScript URL's parameter (replacing a URL with a URI). It should then pass the hosting company's restriction.

The downside to the above is when you deliver ads on domains other than where Carefree Ad Manager is installed. Your impression logs will contain only the URI of the web pages, not the absolute URL with domain name.

[home]

Carefree Ad Manager version 2.0d
Copyright 2011 Bontrager Connection, LLC
Copyright 2012, 2014 Will Bontrager Software LLC