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
subscribeEmailInfo Function
This function needs to be called each time a guest registers, logs in or fills in the email address in a form on the website (e.g. Contact or Newsletter Form, Order Details), to inform Retargeting if user want to receive marketing emails.
If you have a checkbox for opt in/opt out, you can trigger this function when user change the status.
subscribeEmailInfo Function Parameters
| Field | Type | Required | Description | 
|---|---|---|---|
| text | True | Email address. Ex. john.doe@example.com | |
| status | bool | True | OptIn/Opt out status in boolean format. Ex. true | 
Example
    var ra = ra || {};
    _ra.subscribeEmailInfo = {
        "email": "john.doe@example.com",
        "status": true
    };
    if (_ra.ready !== undefined) {
        _ra.subscribeEmail(_ra.subscribeEmailInfo);
   }