TicTap Contextual Ads Labs
Save to del.icio.us  |  digg  |  reddit  |  Yahoo! My Web 2.0
Thank for testing the latest experimental version of TicTap Contextual Ads. Please contact us (Damon and Alex) for queries. The latest stable release is found here.
Latest Features
- *New* - CSS class 'tt_price' added for prices shown in the ads.
- *New* - Prices are shown in the ads.
- Enable preview popovers for Amazon links in your web page.
- You can set the width of the product images.
- No more downloading of Javascript files, we host it for you.
- TCA covers all Amazon sites - Amazon.com, Amazon.de, Amazon.fr, Amazon.ca, Amazon.co.uk and Amazon.co.jp.
- Editorial and customer reviews and similar products are available.
Demo
Important Notes
- *New* - We've set the new URL path for the TCA Javascripts to http://tca.tictap.com/labs.
- It is preferable to set your web page's character encoding to UTF-8, especially if you use non-ASCII characters in your keywords.
Instructions
In order to try out the latest experimental version of TicTap Contextual Ads, you need to paste the following code into your web page.
<div id="tt_amsense" style="display:none"></div> is placed at the location where you want your ads to appear.
The Javascript code must be placed after this <div> block, preferably immediately before the </body> tag.
The tca_run() function runs the TCA service. The function declation is tca_run(aff, maxResults, userdef_str, useTitle, useDesc, useKeywords, amazon_locale, image_width, enhanceLinks).
- aff: Your Amazon Associate ID. If you leave an empty string, TCA will use TicTap's Associate ID.
- maxResults: The number of products to show, up to a maximum of 50.
- userdef_str: A string that you use to search for products. Remember to escape single quotes with a backslash. If you intend to use non-ASCII character set, your web page's character encoding should be set to UTF-8 or errors will occur.
- useTitle: True or false. Decide if TCA should use the page's <title> string to search for products.
- useDesc: True or false. Decide if TCA should use the page's <meta description=".."> string to search for products.
- useKeywords: True or false. Decide if TCA should use the page's <meta keywords=".."> string to search for products.
- amazon_locale: Set it to 'com' for Amazon.com, 'ca' for Amazon.ca, 'de' for Amazon.de, 'fr' for Amazon.fr, 'co.uk' for Amazon.co.uk, 'co.jp' for Amazon.co.jp.
- image_width: The width of the product images, in pixels.
- enhanceLinks: True or false. Enhance existing Amazon links in your web page so that the preview popovers are available too. Style the links with CSS!
- Depending on what you set for userdef_str, useTitle, useDesc and useKeywords, TCA will combine their keywords to search for products. Our tests show that too many keywords lower the relevance of products returned.
- To display products by ISBN or Amazon's ASIN, use this format for your userdef_str: (ISBN1 OR ISBN2 OR ASIN1). The brackets and upper-cased 'OR' are necessary. If you use this option, you must set useTitle, useDesc and useKeywords to false, and you must not add other text to userdef_str.
Style the TicTap ads using CSS as described under the CSS styling options for TCA.
Here is some CSS that you can use straight away. Add it to your page's <head> block.
Save to del.icio.us  |  digg  |  reddit  |  Yahoo! My Web 2.0
Frequently Asked Questions
- Should I use the code in this page for a production website?
Better not. Everything here is experimental and may change anytime.
- Can I just enhance my existing Amazon links without displaying TCA ads?
Yes. In tca_run(), set useTitle, useDesc and useKeywords to 'false', userdef_str to '' (empty string), and enhanceLinks to 'true'.
- I'm using foreign characters in userdef_str, and TCA doesn't show any items.
First, check that your web page's character encoding is UTF-8. Then make sure you've set the Amazon domain correctly. For example, if you want products in German, use 'de' for amazon_locale.
- I set useTitle, useDesc and useKeywords to 'true', and I'm not getting products.
It's possible too many words were used and this will confuse TCA, resulting in no products found or products with low relevance.
- Yikes, my Amazon links are altered once I enable enhanceLinks.
Yeah. This happened because you were using Amazon's super long URL. We shortened it as it is easier to work with. Rest assure that we did not hijack your Associate ID, change the product or the underlying HTML code. It works like before.
Questions? Feedback? Please contact us (Damon and Alex).