emartech / emarsys-magento2-extension

emartech/emarsys-magento2-extension

Magento2 integration for the Emarsys Marketing Platform

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass proprietary

Are you the maintainer of emartech?

Packagento pulls emartech's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

For development environment information refer to dev README.

Magento2 integration for the Emarsys Marketing Platform installation guide

  1. Composer install the package

    $ composer require emartech/emarsys-magento2-extension
    
  2. Run Magento setup to install the module

    $ bin/magento setup:upgrade
    
  3. Get your connect token

    The connect token contains a token for Magento webapi and your current hostname, so that we can send requests to your instance.

    To get your token, navigate to Stores > Configuration page in your Magento admin, expand the Emarsys panel on the left side and click Connect. Your token will be displayed in a textarea, copy that string.

  4. Connect your Emarsys account

    Navigate to Emarsys Suite, from the top menu choose Add-ons and click the Magento 2 menu item.

    On the settings page click Connect, paste your connect token and click the Connect button.

    Next, you have to click the Stores button. Your store and website data will be loaded, so first choose the Magento website you want to connect with your Emarsys account. A list of the stores on the website will be populated, choose any of the stores you want to connect. You may change the Slug field for something meaningful for you (please keep the slug format, no spaces, special characters, etc). Click the Connect button.

  5. Turn on the features

    Now you can start turning on the provided features. Note that some features and depending on each other, so for example you will not be able to turn on Orders until the initial Customers upload is finished.

    Also note, that if your store does not use the Magento provided frontend, the Web behavior tracking feature will not work. You will have to implement tracking as described here.

Release notes:

2.0.18 (2026-04-14)

  • Fix
    • Product Sync field mapping - make 'qty' field selectable

2.0.17 (2026-03-12)

  • Fix
    • Security update of test dependencies to the latest available packages

2.0.16 (2025-12-03)

  • Fix
    • Security update of test dependencies to the latest available packages
    • Web behavior commands cart and purchase price handling
    • Avoid order duplication during order sync

2.0.15

  • New
    • Orders filtering & Refund polling based on timestamps

2.0.14

  • Fix
    • Fixing email trigger, if not default template has been choosen for guests orders not triggered

2.0.13

  • Fix
    • Fixing email trigger, if not default template has been selected

2.0.12

  • Fix
    • Fixing error during installation on Magento Cloud

2.0.11

  • Fix
    • Fixing type conversion for PHP 8.1.
Versions
Version Stability QA Status Compatibility Released
2.0.18 stable Fail Magento 2.4.7-2.4.9 Details 2026-05-04 13:59:09
2.0.15 stable Not tested Not yet tested Details 2025-07-17 07:27:02
2.0.14 stable Not tested Not yet tested Details 2024-11-19 07:49:27
2.0.13 stable Not tested Not yet tested Details 2024-08-05 08:20:41
2.0.12 stable Not tested Not yet tested Details 2023-11-23 18:40:12
2.0.11 stable Not tested Not yet tested Details 2023-11-16 15:44:45
2.0.10 stable Not tested Not yet tested Details 2023-11-14 13:23:31
2.0.9 stable Not tested Not yet tested Details 2023-07-17 13:50:02
2.0.8 stable Not tested Not yet tested Details 2023-07-17 13:35:35
2.0.7 stable Not tested Not yet tested Details 2023-04-12 14:57:45
2.0.7-beta beta Not tested Not yet tested Details 2023-04-12 08:00:56
2.0.6 stable Not tested Not yet tested Details 2023-03-07 15:09:12
2.0.5 stable Not tested Not yet tested Details 2023-02-14 09:30:45
2.0.4 stable Not tested Not yet tested Details 2023-01-26 13:44:06
2.0.3 stable Not tested Not yet tested Details 2022-12-20 13:54:39
2.0.2 stable Not tested Not yet tested Details 2022-12-09 12:44:16
2.0.1 stable Not tested Not yet tested Details 2022-12-02 14:59:42
2.0.0 stable Not tested Not yet tested Details 2022-12-01 15:21:17
1.16.2 stable Not tested Not yet tested Details 2022-08-10 08:43:47
1.16.1 stable Not tested Not yet tested Details 2022-06-29 07:52:32
1.16.0 stable Not tested Not yet tested Details 2022-02-14 14:15:58
1.15.0 stable Not tested Not yet tested Details 2021-10-06 13:30:53
1.14.5 stable Not tested Not yet tested Details 2021-07-08 12:13:22
1.14.4 stable Not tested Not yet tested Details 2021-07-01 12:03:59
1.14.3 stable Not tested Not yet tested Details 2021-06-08 11:06:13
1.14.2 stable Not tested Not yet tested Details 2021-05-13 08:35:17
1.14.1 stable Not tested Not yet tested Details 2020-11-18 10:02:32
1.14.0 stable Not tested Not yet tested Details 2020-10-15 08:14:45
1.13.0 stable Not tested Not yet tested Details 2020-09-07 09:11:40
1.12.1 stable Not tested Not yet tested Details 2020-07-13 12:50:18
1.12.0 stable Not tested Not yet tested Details 2020-06-24 11:50:44
1.11.0 stable Not tested Not yet tested Details 2020-06-02 08:23:43
1.10.1 stable Not tested Not yet tested Details 2020-05-11 11:36:17
1.10.0 stable Not tested Not yet tested Details 2020-04-15 12:10:01
1.9.2 stable Not tested Not yet tested Details 2020-02-19 09:17:21
1.9.1 stable Not tested Not yet tested Details 2020-02-13 14:01:16
1.9.0 stable Not tested Not yet tested Details 2020-01-21 13:29:19
1.8.3 stable Not tested Not yet tested Details 2019-12-17 12:16:51
1.8.2 stable Not tested Not yet tested Details 2019-11-25 11:53:13
1.8.1 stable Not tested Not yet tested Details 2019-11-14 14:09:52
1.8.0 stable Not tested Not yet tested Details 2019-11-13 06:05:49
1.7.2 stable Not tested Not yet tested Details 2019-11-06 12:40:38
1.7.1 stable Not tested Not yet tested Details 2019-10-17 10:51:40
1.7.0 stable Not tested Not yet tested Details 2019-10-02 10:31:55
1.6.4 stable Not tested Not yet tested Details 2019-09-27 09:23:31
1.6.3 stable Not tested Not yet tested Details 2019-09-17 14:00:34
1.6.1 stable Not tested Not yet tested Details 2019-08-28 13:20:10
1.6.0 stable Not tested Not yet tested Details 2019-08-15 13:03:58
1.5.5 stable Not tested Not yet tested Details 2019-07-25 14:28:15
1.5.4 stable Not tested Not yet tested Details 2019-06-18 07:52:56
1.5.3 stable Not tested Not yet tested Details 2019-06-05 11:19:25
1.5.0 stable Not tested Not yet tested Details 2019-05-27 07:41:34
1.4.0 stable Not tested Not yet tested Details 2019-04-29 08:13:59
1.3.0 stable Not tested Not yet tested Details 2019-03-06 13:19:24
1.2.4 stable Not tested Not yet tested Details 2019-01-28 15:10:54
1.2.3 stable Not tested Not yet tested Details 2019-01-24 11:38:20
1.2.2 stable Not tested Not yet tested Details 2019-01-09 14:04:16
1.2.1 stable Not tested Not yet tested Details 2018-12-14 15:17:47
1.2.0 stable Not tested Not yet tested Details 2018-12-10 16:29:32
1.1.3 stable Not tested Not yet tested Details 2018-11-22 14:29:54
1.1.2 stable Not tested Not yet tested Details 2018-11-13 09:35:59
1.1.1 stable Not tested Not yet tested Details 2018-11-05 13:15:27
1.1.0 stable Not tested Not yet tested Details 2018-10-24 08:12:25
1.0.0 stable Not tested Not yet tested Details 2018-10-04 08:45:07

Requires 1

Package Constraint
php >7.0.1

Requires-dev 1

Package Constraint
roave/security-advisories dev-master

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 22 17 errors, 5 warnings (ruleset: Magento2) — 4 auto-fixable with phpcbf
PHPMD Warning 34 34 rule violations (IfStatementAssignment:6, UnusedFormalParameter:5, UnusedLocalVariable:5, UndefinedVariable:4, ExcessiveClassComplexity:3)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 82 82
2.4.8 82 82
2.4.9 82 82

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
proprietary
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.