IMPORTANT: As of June 15, we have switched to a subscription model for working with modules.
Until July 1, modules will be sold in a transitional mode. Then you will be able to subscribe to modules, but you will not be able to purchase a module separately!

Read More

Integration with Roystat

The module transmits roistat_visit to My Store (moysklad.ru). Developed by MakeShop.pro
Please enter a valid addres(es) of the shop where you are going to use the add-on.
2 000  3 990 
Latest module version 2.0.10 Updated: 26.12.2022
Have questions about the module? Write to us: HelpDesk
30 days for return
If you are not satisfied with the operation of the module, we will return your money with bonus points in your Personal Account
Bonus for review
We will give 1000 bonus points in your Personal Account for a review after purchasing the module
Multi-display
One price regardless of the number of display cases, no need to pay extra
Support
Free consultation and support on the module, assistance with installation
Discount for revision
We will give a discount of up to 50% on improvements to any functionality when purchasing a module from us

ATTENTION : This module is distributed by subscription. By subscribing you get access to all make shop modules.

Please note: modules will only work with an active subscription!

Roistat

Roistat is a multichannel analytics tool. Roistat tools help marketers, analysts, and business owners work with analytics, leads, traffic, sales, and loyalty.

Roistat Integration add-on

The add-onis easy to install, but configuration requires careful attention. After configuration, it allows you to send prepared data to the Roistat service by accessing its API. Data is transmitted when orders are created, edited, or modified (as well as their statuses), and when user data is modified. It is also possible to configure data transmission using the MySklad service: data is transmitted to MySklad, and then sent to Roistat from there.

Add-onfeatures

  • Easy installation.
  • Configuration of transmitted data.
  • Instant information delivery.
  • Possibility of data transmission through MySklad - transmission of roistat_id to MySklad.

Upcoming features

  • Transmission of order cost price set as a percentage of the order cost.
  • Transmission of order cost price from the add-on (add-on from Retail Factory) (add-on from Retail Factory).
Localization:
  • English
  • Русский
Compatible versions:
  • 4.18.X
  • 4.17.X
  • 4.16.X
  • 4.15.X
  • 4.14.X
  • 4.13.X
  • 4.12.X

Installation

After downloading add-on, its installation is performed using standard CS-Cart tools on the page Administration panel → Add-ons → Manage add-ons → Download and install add-ons(+).

For CS-Cart version over 4.13.1Panel of admin →Add-ons → Manage add-ons → Gear Button → Manual Installation

Click Download, in the window that appears, select the add-onfile, then Upload & Install

When creating, editing and changing orders, as well as their statuses or changing user data, the formatted data is transferred to the Roistat service by calling its API (https://roistat.api-docs.io/v1/obshie-svedeniya)

After registering and creating a new project in the service, you need to find and copy the following data:

1. Meter number

The number is located in the project settings, menu item Counter code.

The number is copied in one line.

2. User API key

The key is located in the user profile settings, API menu item

Click the Show button and copy the API key.

3. Copy the project number.

The project number is indicated in the service header.

  1. Connect the RoistatAPI add-on in the integration catalog of the Roistat service

This completes the preliminary configuration of the service. As soon as the first transactions get into the system and they are processed (1-2 hours depending on the load on the Roistat service), then the "Project status" section will take the appropriate form:

It will be possible to update the analytic data without waiting in a queue for processing.

The add-on is configured in the CS-Cart administrative panel on the "Manage add-ons" page"

STEP 1.It is necessary to fill in all the fields on the Parameters tab.

After saving the counter ID, API key and project number in the add-on settings, the add-on will check the connection with the Roistat service and display a button that allows you to upload order statuses and existing orders in your store.

If there are data errors, a corresponding message will be displayed

STEP 2. It is required to configure the unloaded fields.

The Roistat system requires 3 required fields to receive applications:

Deal ID, Deal creation date, Deal status IDthese fields are downloaded automatically and do not require any setting on the part of the user.

You can select the rest of the fields for uploading on the Exported fields tab.

Common fields:

Trade name -human-readable name of the transactions of the type "Order No.".Roistat code - visit number.Order amount - transaction amount; used in the key figure Revenue in Roistat.Client id - Client id - client ID in CS-Cart.Cost price- the cost price of the transaction (to work, you need a add-on from RetailFactory Costs and Profits of a store).

Additional fields:

Showcase - the name of the store where the order was made.

The initial data loading takes place in the add-on settings, when you click on the "Upload everything to Roistat" button.

First of all, the statuses of orders from your store will be created and placed in the "In Progress" category.

Attention!

If, while working with the add-on, the button "Upload everything to Roistat" is pressed again, then all order statuses will again be transferred to the "In Progress" category.

After unloading the statuses of orders, all previously created orders will be unloaded, except for orders with the "Incomplete" status. Please note that orders with this status are never processed or uploaded to Roistat!

If you are configuring the add-on for integration with Roistat through MoySklad, then there is no need to fill in the fields "Your API key" and "Project number". In this case, the main configuration is carried out on the side of the Roistat and MoySklad services.

  1. After creating orders, we add the value from the COOKIE roistat_visit to the ms_roistat field (table ?:orders) in the database created during the installation of the add-on.
  2. When synchronizing with MoySklad, add the roistat field (roistat_visit code) and showcase (storefront name) to the xml file.
  3. Roistat with MoySklad is configured and synchronized separately from the add-on.
  1. After registering and creating a new project in the service, you need to find and copy the following data from your account in the Roistat system.

Counter number

The number is located in the project settings, menu item Counter code.

The number is copied in one line.

  1. Next, you need to insert the counter code into the corresponding field of the add-on settings.

  1. Now we have to change the code of the third-party add-on rus_exim_1c.

а. Manual code change.

In the file /app/addons/rus_exim_1c/Tygh/Commerceml/RusEximCommerceml.php add the code fn_set_hook('rus_exim_1c_order_data', $order_data, $order_xml);  into the function public function dataOrderToFile($xml, $order_data, $lang_code).

An example of the added code:

public function dataOrderToFile($xml, $order_data, $lang_code)
    {
        $export_statuses = $this->s_commerceml['exim_1c_export_statuses'];
        $cml = $this->cml;
        $order_xml = $this->getOrderDataForXml($order_data, $cml);
        // new hook for module ms_roistat
        fn_set_hook('rus_exim_1c_order_data', $order_data, $order_xml);
        if (empty($order_data['firstname'])) {
            unset($order_data['firstname']);
......

б. Automatic code addition.

It is possible to automate the process of adding code to a third-party add-on by installing our ms_addon_fixer add-on and applying the Add Hook for Roistat fix in it.

This completes the add-on configuration and you need to configure the MoySklad service.

In your service account, go to the Sales → Buyers' orders tab and click the Settings (gear) button.

In the window that appears, we add two fields, such as string, roistat and showcase.

Further, the connection is configured according to the official instructionshttps://www.cs-cart.ru/docs/4.11.x/user_guide/addons/commerceml/moy_sklad/.

Synchronization of orders occurs according to the configured schedule of the MySklad system.

v2.0.11 (скоро)

[*] Изменены короткие теги

v2.0.10 от 26.12.22

[+] Стандартизация модуля

v2.0.9 от 09.10.22

[+] Стандартизация модуля

v2.0.8 от 11.09.21

[*] Заменена иконка MakeShop.pro

v2.0.8 от 11.09.21

[*] Заменена иконка MakeShop.pro

v2.0.7 от 02.09.21

[!] Исправлена зависимость от модуля теперь она затрагивает отдельное поле, а не весь модуль.

v2.0.4 от 11.08.21

[+] Добавлена зависимость от модуля [RetailFactory] Затраты и прибыль магазина.

[+] Добавлено поле себестоимости от зависимого модуля

v2.0.3 от 12.10.19

[!] Ликвидированы баги при выгрузке

v2.0.2 от 10.10.19

[!] Ликвидированы баги при выгрузке

v2.0.1 от 03.10.19

[+] Добавлена прямая интеграция с RoistatAPI

[+] Ручная выгрузка Статусов заказов, клиентов и заказов

[+] Автоматически выгружаются Заказы и Клиенты при добавлении, обновлении или смене статуса заказа

[+] Организованно логирование запросов к RoistatAPI в файл app/addons/ms_roistat/log.txt

v1.5.1 от 10.09.19

[+] Добавлено поле для выгрузки в МойСклад "showcase"

[-] Удалён смарт-хук order_status.post

Request revision
Reviews

Here you can share your opinion and evaluate our work.

Your feedback helps us become better and offer you even better service.

Similar add-ons