Support Center

Using an Alternate Ad With Chitika | Premium

Last Updated: Oct 01, 2012 03:12PM EDT

What is "Alternate URL"?

The alternate URL feature allows you to make use of your ad space in the event that Chitika is not able to show a paying Chitika | Premium ad (for example: traffic from non-accepted countries or non-search traffic). In such an event, the Chitika system will redirect to the URL you specify. 

How to specify an "alternate URL"?

You can add this line to the code (anywhere after the line with ch_client but before the line with/script):



	ch_alternate_ad_url = "your_URL";

How do I set an ad code as an alternate URL?

1. Open a blank document in Notepad or any other simple text editor.



2. Paste your alternate ad code into the file. NOTE: use proper HTML coding for the page - use the following template as a guide:


<html><head></head><body>

<!--AD CODE GOES BETWEEN HERE -->



<!--AD CODE GOES BETWEEN HERE -->

</body></html>





3. Save the file as a .html file (something like ad.html). You will need to set the "file type" as All Files.



4. Upload the file somewhere on your site and copy the URL of the file.



5. Insert this code into your Chitika code and make sure the address of that file is correct in this line of code:

	ch_alternate_ad_url = "http://www.yourdomain.com/ad.html";

Contact Us

    Can’t find the answer here?
  • E-mail support
  • Call Us @ (866) 441-7203