Increase sales
Collect customer feedback that increases website traffic, drives sales and provides actionable business information.
Control your image
It can be really difficult to reply in time to each review. Automate post-purchase communication, especially when you have profiles on multiple review sites.
Loyal customers
Meet the customers, respond to their concerns and create lasting relationships that will result in more returning visitors.
Building trust
79% of consumers trust reviews, so shorten the process of making decisions by customers. Build trust in your brand by showing your reviews.
Shopify WooCommerce Deconetwork Baselinker See all
mdi-chat-processing-outline
Blog
Find out what's new
Knowledge base
All technical stuff
Analyze your online image
Our tool gives you an in-depth look at what your company's image looks like
Find out more
mdi-chat-processing-outline
Local SEO Customers Pricing
Sign in
Polish
Swiss
Sign in Sign up for Free Increase sales Control your image Loyal customers Building trust Blog Knowledge base Local SEO Customers Pricing Increase sales Loyal customers Control your image Building trust Blog Knowledge base API Documentation Customers Pricing Careers Team Reviews Catalog Affiliate Program Terms of Use Privacy Policy Data processing

Customer Questions

Configuration of invitations

Knowledge base mdi-chevron-right Customer Questions mdi-chevron-right Configuration of invitations
Customer Questions

Configuration of invitations

        
<script>
    var RatingCaptain_data_script = {
        /* REQUIRED | Email, on this address will be send message */
            "email": "{$order->email}",
        /* REQUIRED | Order in your system, this field should be unique */
            "external_id": "{$order->id}",
        /* Optional - Products in this order, each product must have id name and price. */
        "products": [
                    {
                        "id": "{$product->id}",
                        "name": "{$product->name}",
                        "price": "{$product->price}",
                        "imageUrl": "{$product->image}",
                    },
        ]
    }
</script>
<script src="https://api.ratingcaptain.com/js_v2/[Your website token]" async></script>

*Each item in bold must be properly configured depending on your system.
*Website token you can find here: Website page.
        
            
<script>
    var rc_products = {/literal}[{foreach from=$items item=i name=list}
{
    'id': '{$i->product_id}',
    'name': '{$i->name}',
    'price': '{$i->price_gross|money_without_currency}',
    'imageUrl': '{$i->product->images[0]->url|product_img_url:th100}'
},
    {/foreach}]{literal};
        var RatingCaptain_data_script = {
            "email": '{client_email}',
            "external_id": '{order_id}',
            "products": rc_products
        }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]" async></script>

*Website token you can find here: Website page.
            
        
            
<script>
    var rc_products = [{products}
        {
        "id": "{products.product_id}",
        "price": "{products.float_price}",
        "imageUrl": "{products.img}",
        "name": "{products.name}"
        },
    {/products}];
    var RatingCaptain_data_script = {
        "email": '{email}',
        "external_id": '{order_id}',
        "products": rc_products
    }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]" async></script>

*Website token you can find here: Website page.
            
        
            
<script>
    var RatingCaptain_data_script = {
            "email": "[[email]]",
            "external_id": "[[orderid]]"
    }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]" async></script>

*Website token you can find here: Website page.
            
        
            
{% block page_checkout_finish_rating_captain %}
    {% set ratingProducts = [] %}
    {% for lineItem in page.order.lineItems.elements %}
        {% if lineItem.type is same as 'product' %}
            {% if lineItem.cover.url %}
                {% set ratingProduct = {
                    id: lineItem.payload.productNumber,
                    name: lineItem.label,
                    price: lineItem.price.totalPrice,
                    imageUrl: lineItem.cover.url,
                } %}
            {% else %}
                {% set ratingProduct = {
                    id: lineItem.payload.productNumber,
                    name: lineItem.label,
                    price: lineItem.price.totalPrice,
                } %}
            {% endif %}
            {% set ratingProducts = ratingProducts|merge([ratingProduct]) %}
        {% endif %}
    {% endfor %}
    {% set ratingCaptainData = {
        email: page.order.orderCustomer.email,
        external_id: page.order.orderNumber,
        products: ratingProducts
    } %}
    <script>
        var RatingCaptain_data_script = [{{ ratingCaptainData | json_encode | raw }}];
    </script>
    <script src="https://ratingcaptain.com/api/js_v2/[Your website token]" async></script>
{% endblock %}

*Website token you can find here: Website page.
            
        

Why I can not delete the example request template?

It is not possible to delete a given template every moment. If there is even one message with this template that has not been opened, you are not able to delete it. Also you are not allowed to delete the last template of the website. Remember, if you delete  template, all messages which have been shipped and opened also will be deleted.

 

What will happen, if I delete the connected platform?

E-mail messages, which are connected to the platform will continue to be sent. New messages that go to the system won’t be able to connect with this given platform. 

What will happen with the messages, if I delete the website?

All messages and templates connected to this website will be automatically deleted. So it won’t be no longer sent by our system. 

Is it possible to choose which customers will not be sent invitations?

If you do not want feedback to be sent to the selected contacts, you can remove them from the Invitation Queue

 

When there are many such customers, we can create a dedicated solution for you. All you need to do is indicate these customers to us in the list to import (excel or txt). Our application will automatically remove them.

 

Remember, however, that the aim of our application is to 'turn' a dissatisfied customer into a satisfied one, so that they will come back to you and purchase again.

 

Was the article helpful?
mdi-check Yes mdi-close No
Thank you for rate this article.
13 out of 15 found this article helpful
Tabel of contents
Still need help?
If you have not found the information you are interested in, contact us directly. Our support will help to solve your doubts
Contact us
To start
Watch our video explaining the basic functions of Rating Captain.
Watch video
We use cookies to provide the best possible service.
Refer to our privacy policy for more info.
I agree