Overview
                                            General
                                            Set Email
                                            Subscribe Email Info
                                            Send Brand
                                            Send Category
                                            Add To Cart
                                            Add To Wishlist
                                            Checkout Ids
                                            Click Image
                                            Comment On Product
                                            Remove From Cart
                                            Save Order
                                            Send Product
                                            Set Cart Url
                                            Visit Help Page
                                    
                CSV Feed
PHP SDK
API Integration
                                            Add Subscriber
                                            Remove subscriber
                                            Subscriber status
                                            Send Email
                                            Feedback
                                            Discounts
                                            Generate Discounts
                                            Unsubscribed Emails
                                    
                API For Partners
commentOnProduct
This function must be called every time a visitor sends a product comment or review.
_ra.commentOnProduct(product_id, callback_function);
executing scripts automatically when the page is loaded
   var _ra = _ra || {};
   _ra.commentOnProductInfo = {
       "product_id" : product_id
   };
   if (_ra.ready !== undefined) {
       _ra.commentOnProduct(_ra.commentOnProductInfo.product_id);
   }
                commentOnProduct function parameters
| Field | Type | Required | Description | 
|---|---|---|---|
| id | number or text | True | product id the picture belongs to | 
| callback_function | function | False | With this parameter you can define a function that runs itself after the action’s parent function executes | 
commentOnProduct function examples
sending event with callback function
_ra.commentOnProduct(100, function() { console.log("the information has been sent"); });
sending event with no callback function
   _ra.commentOnProduct(100);