Download the PHP package onetracepro/onetrace-bitrix without Composer

On this page you can find all versions of the php package onetracepro/onetrace-bitrix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package onetrace-bitrix

OneTrace.pro for 1C-Bitrix

CI

Connects a 1C-Bitrix "Site management" store to OneTrace.pro, the customer data platform: orders, customers and newsletter consents from the server, the website tracker, product views, the product catalog, recommendation widgets and Web Push. Abandoned cart, browse abandonment, post-purchase and win-back journeys, product recommendations and predictions work right after you connect the store.

Русская версия

What it sends

Data When How
identify — email, phone, name, city, country, language registration, login, profile changes, every order server, secret key
Newsletter consent subscribing and unsubscribing in the module "Email marketing"; a Yes/No order property of the checkout server, with identify
order_completed the order is placed (any checkout, the admin, the API) server
order_paid, order_refunded, order_cancelled the order becomes paid, a payment is returned, the order is cancelled server, once per order event
add_to_cart, remove_from_cart, checkout_started cart changes and the checkout page (sale.order.ajax), for visitors with the tracker cookie or signed in server
product_viewed the product page: the view counter of the standard catalog.element templates server, works with the composite cache
Page views the storefront browser tracker
Product catalog product, price and stock changes, daily, and the "Upload the whole catalog" button server, products.write
search the first page of the catalog search results, with "Product search" on server

Every Bitrix order has a user (the guest checkout registers one), so orders, the cart and the account land in one profile; the browser of the checkout is saved with the order, so its later events (payment, refund) use it too.

Installation

  1. Download onetrace.connector.zip from the latest release and unpack it into /local/modules/ (the folder onetrace.connector).
  2. Marketplace → Installed solutions: install "OneTrace — customer data platform".
  3. In your OneTrace project, open API keys and create a write key (for the storefront) and a secret key with the products.write permission (for the server).
  4. Settings → Product settings → Module settings → OneTrace: on the tab of each site enter the platform address (the domain you open OneTrace at) and both keys, click Test connection.
  5. Run agents on cron (agents_use_crontab), otherwise the queue waits for visitors' hits.

Catalog

The catalog is made of the products of the commercial catalog infoblocks bound to the site. Trade offers are not separate products: an offer uploads its parent, and a product with offers takes the lowest offer price. The price is what a guest pays with discounts; the old price — the price before discounts. Categories are the element sections with their parents; the brand — the property BRAND, BRAND_REF or MANUFACTURER; attributes — the properties of the smart filter.

Product search

Turn on Product search in the settings (the plan of the project must include it) and replace the component in the search page of the catalog — in the template of the complex component bitrix:catalog it is search.php:

Languages of the catalog

The catalog of a project comes from its first site. Other sites connected to the same project (the same address and secret key) with another language have their own copies of the catalog — as the exchange with 1C makes them — and the products and sections with the same XML_ID add translations: names, links on that site and the values of the attributes. The platform shows recommendations, widgets, search results and emails in the visitor's language.

Recommendations and Web Push

Privacy

Development

The tests download the trial distribution of "Small business" (the latest version), pass the installation wizard without a browser (tests/env/wizard.py, adapted from BitrixBox, MIT) and install the module from the working copy: orders go through the sale API (basket, shipment, payment), subscriptions through the "Email marketing" module.

License

MIT


All versions of onetrace-bitrix with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
onetracepro/onetrace-php Version ^1.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package onetracepro/onetrace-bitrix contains the following files

Loading the files please wait ...