# nosto/module-nostotagging

> Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

`composer require nosto/module-nostotagging`

Canonical URL: https://packagento.com/nosto/module-nostotagging

## At a glance

- **Vendor**: nosto (https://packagento.com/nosto.md)
- **Latest version**: 8.1.7 — released 2026-06-22
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/nosto/module-nostotagging and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require nosto/module-nostotagging:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

## README

Increase your conversion rate and average order value by delivering your
customers personalized product recommendations throughout their shopping
journey.

Nosto allows you to deliver every customer a personalized shopping experience
through recommendations based on their unique user behavior - increasing
conversion, average order value and customer retention as a result.

[http://nosto.com](http://nosto.com/)

### Installing

The preferred way of installing the extension is via [Composer](https://getcomposer.org/). If you don't have composer installed yet you can get it by following [these instructions](https://getcomposer.org/doc/00-intro.md). It's recommended to install composer globally. You will also need public key and private key from Magento Marketplace or Magento Connect in order to install packages to Magento 2 via Composer. Please follow these instructions to get public key and private key http://devdocs.magento.com/guides/v2.1/install-gde/prereq/connect-auth.html. Once you have composer installed you can install Nosto extension (nosto/module-nostotagging).

For complete installation instructions please see our [Wiki](https://github.com/Nosto/nosto-magento2/wiki)

### License

Open Software License ("OSL") v3.0

## Changelog

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

#### 8.1.7
* Fixed currency format synchronization to preserve existing Nosto currency format settings

#### 8.1.6
* Sync cart tagging logic across recobuy.js and addtocart.phtml (Luma/Hyva templates)

#### 8.1.5
* Fix category sync indexing behavior

#### 8.1.4
* Fix configurable parent price fallback when indexed SKU price resolves to zero

#### 8.1.3
* Consider pending payment state as a new order

#### 8.1.2
* Fix variable usage in cart

#### 8.1.1
* Switched heredoc to nowdoc in PHP templates to prevent unintended interpolation of JavaScript ES6 template literals

#### 8.1.0
* Fix adding to cart instantly

#### 8.0.10
* Fix plugin names for category and product
* Pass JS layout to Block

#### 8.0.9
* Minor fixes to ensure compatibility with PHP 8.1 and above

#### 8.0.8
* Minor adjustments to ensure compatibility with PHP 8.1 and above

#### 8.0.7
* Improve CSP compliance by wrapping inline JavaScript scripts with markup

#### 8.0.6
* Fixed detection of Hyvä themes
* Ensure customer reference is generated or retrieved correctly when handling customer events

#### 8.0.5
* Improve detection of Hyvä themes

#### 8.0.4
* Fixed issue where variation tagging is applied when MC is disabled

#### 8.0.3
* Add search token support during Nosto account setup via CLI
* Separate customer reference population into a standalone CLI command to improve deployment time

#### 8.0.2
* Fix category export issue where only parent categories are included

#### 8.0.1
* Add page-type tagging for Hyvä checkout page
* Add default recommendation slots for Hyvä checkout page

#### 8.0.0
* Add compatibility and support for Hyvä themes
* Add support for Nosto tagging providers 
* Implement a new indexer for indexing categories in Nosto
* Send category url to Nosto

#### 7.6.1
* Remove whitespaces from category strings
* Make rabbitmq publishing error message more clear

#### 7.6.0
* Deprecate MySQL as message queue provider, the extension now uses RabbitMQ as the default message queue provider
* Add command to clear the Nosto message queue
* Move Nosto logfiles to its own files nosto-debug.log(debug), nosto-system.log(info) and nosto-exception.log(error)

#### 7.5.1
* Upgrade SDK to 7.4
* Remove PII information from Order Export
* Query speed-up when building categories
* Crypto utilities now use GCM mode

#### 7.5.0
* Add category parent id to tagging and product data

#### 7.4.0
* Replace deprecated Zend_db_select usage
* Update Yotpo compatibility to > 4.1 and remove < 3.3
* Add db_schema_whitelist.json to ensure database schema changes are applied correctly
* Log error in order builder when failing to convert from base price
* Replace Zend_Uri_Http with Laminas\Uri (@piotrkwiecinski)

#### 7.3.1
* Fix issue with category export where default categories were not exported correctly

#### 7.3.0
* Update tagging with category listing support
* Add category export

#### 7.2.6
* Convert price in cart tagging item to avoid rounding errors

#### 7.2.5
* Restore `nosto_product_sync.delete` message queue consumer to handle product deletion

#### 7.2.4
* Add null check in order observer to allow for orders overriding

#### 7.2.3
* Update PHP-SDK to fix an issue that would cause category id's to be removed by the crawler

#### 7.2.2
* Fixes an issue with Zend_Validate that would cause the admin to not connect to a Nosto account

#### 7.2.1
* Add store filter to the DefaulCategoryService to generate categories for specific store

#### 7.2.0 
* Remove `nosto_product_sync.delete` message queue consumer

#### 7.1.2
* Remove unreffered system configuration for enabling 'Indexer full reindex' for Nosto indexers

#### 7.1.1
* Fix query filter format. Uses `IN` instead of `OR` when filtering attributes (by @TzviCons)

#### 7.1.0
* Add category ids to product tagging

_(Changelog truncated for .md surface. Full history on https://packagento.com/nosto/module-nostotagging.)_

## Recent Versions

| Version | Released |
|---|---|
| 8.1.7 | 2026-06-22 |
| 8.1.6 | 2026-06-11 |
| 8.1.5 | 2026-05-27 |
| 8.1.4 | 2026-03-18 |
| 8.1.3 | 2026-03-03 |
| 8.1.2 | 2025-12-10 |
| 8.1.1 | 2025-11-24 |
| 8.1.0 | 2025-11-18 |
| 8.0.10 | 2025-09-03 |
| 8.0.9 | 2025-08-07 |

Showing 10 of 214 versions. Full release history on https://packagento.com/nosto/module-nostotagging.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| ext-json | * |
| laminas/laminas-uri | * |
| magento/framework | >=101.0.6\|~104.0 |
| nosto/php-sdk | 7.7.7 |
| php | >=7.4.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| drenso/phan-extensions | 3.5.1 |
| magento-ecg/coding-standard | 4.5.* |
| magento/magento-coding-standard | ^5.0 |
| magento/module-asynchronous-operations | 100.4.3 |
| magento/module-bundle | 101.0.3 |
| magento/module-catalog | 104.0.2 |
| magento/module-catalog-search | 102.0.3 |
| magento/module-configurable-product | 100.4.3 |
| magento/module-directory | 100.4.3 |
| magento/module-grouped-product | 100.4.3 |
| magento/module-quote | 101.2.3 |
| magento/module-review | 100.4.3 |
| magento/module-sales | 103.0.3 |
| magento/module-sales-inventory | 100.4.0.* |
| magento/module-sales-rule | 101.2.3 |
| magento/module-search | 101.1.3 |
| magento/module-store | 101.1.3 |
| phan/phan | 5.3.0 |
| phing/phing | 2.* |
| phpmd/phpmd | ^2.5 |
| phpunit/phpunit | ~9.5.18 |
| sebastian/phpcpd | * |
| staabm/annotate-pull-request-from-checkstyle | ^1.1 |
| yotpo/module-yotpo-combined | ^4.1 |

### Suggest

| Package | Constraint |
|---|---|
| magento/product-community-edition | 2.* |
| yotpo/module-yotpo-combined | ^4.1 |

## Quality

Latest release (8.1.7) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| 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 | – | – | 1 | 1 |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — 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.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 292 | 292 warnings (ruleset: Magento2) — 20 auto-fixable with phpcbf |
| PHPMD | Warning | 43 | 43 rule violations (IfStatementAssignment:11, CyclomaticComplexity:10, NPathComplexity:6, UnusedFormalParameter:6, ExcessiveClassComplexity:3) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 46 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 5 | valid; 5 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 147 | 147 | – | – |
| 2.4.8 | – | 148 | 148 | – |
| 2.4.9 | – | – | 151 | 151 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| 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 | – | – | not tested | Error |

#### Integration Tests

| 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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Fail | 21 | 21 advisories (high:9, low:3, medium:8, unknown:1); 9 high+, 9 medium/unknown, 3 low |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["nosto/module-nostotagging"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

nosto is a Magento 2 vendor on Packagento. See https://packagento.com/nosto.md for their full catalogue.

