Download the PHP package triggmine/triggmine-sdk-php without Composer
On this page you can find all versions of the php package triggmine/triggmine-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package triggmine-sdk-php
TriggMine-SDK-PHP
Description
TriggMine is an automated email marketing platform, tailored to the eCommerce needs. We've harnessed the power of behavioral-based email workflows! In real time, our system automatically tracks customers behavior and separates them into highly relevant, behavior-focused segments and sends them highly personalized emails.
It takes less than 30 minutes to launch fully automated email campaign! Now marketers can finally watch your email open rates, clicks and sales sky rocket, without hiring tech experts or touching a single line of code!
TriggMine web site: http://www.triggmine.com/
Composer
To install TriggMine SDK via Composer, run the following command:
$ composer require triggmine/triggmine-sdk-php
How-to
TriggMine API сan take 9 types of events. All events models send through SendEvent method.
Event list with model type
Event type | Model |
---|---|
Registration | ProspectEvent |
Cart | CartEvent |
Order History | OrderHistoryEvent |
Customer History | CustomerHistoryEvent |
Login | LoginEvent |
Logout | LogoutEvent |
Navigation | NavigationEvent |
Order | OrderEvent |
Diagnostic | PluginDiagnosticEvent |
Example
Models fields description
Field | Description | |
---|---|---|
device_id | Device hash generated by FingerprintJS* | |
device_id_1 | Device hash generated by ClientJS* | |
customer_id | Customer Id* | |
customer_first_name | Customer Name | |
customer_last_name | Customer Last Name | |
customer_email | Customer Email | |
customer_date_created | Customer Registration Date | |
order_id | Order Id | |
order_status | Order status (Pending, Paid, Closed etc) | |
price_total | Total amount of order | |
product_categories | Item categories | |
product_desc | Item description | |
product_id | Item ID | |
product_image | Item full path image | |
product_name | Item name | |
product_price | Item price | |
product_qty | Item quantity | |
product_sku | Item vendor code | |
product_total | Item summary price | |
product_url | Item full path url | |
qty_total | Order quantity | |
user_agent | User-Agent header. Optional parameter |
For more detailed documentation see: https://triggmine-php-sdk-triggmine.c9users.io/triggminesdk/docs/
Device hash ClientJS, FingerprintJS - We recommend to use ClientJS and FingerprintJS library for definition unique hash of client device and software. It's need for identify client without his loging.
Customer Id* - Unique Id of a Customer in your DB.