Download the PHP package axitrace/module-tracking without Composer

On this page you can find all versions of the php package axitrace/module-tracking. 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 module-tracking

AxiTrace for Magento 2 / Adobe Commerce

Server-side tracking module for Magento 2 / Adobe Commerce stores. Forwards order, product-view, add-to-cart, and other commerce events to AxiTrace, which relays them to Facebook CAPI, TikTok Events API, Google Ads offline conversions, and GA4 — server-side, with deterministic event ids that dedupe against any client-side pixels you may also be running.

The module itself is free under the MIT License. AxiTrace bills the SaaS that processes the forwarded events on axitrace.com (Stripe). There is no module-level licence check or API call back to AxiTrace for billing purposes.


Install (Composer — recommended)

Install (ZIP — for hosts without Composer access)

  1. Download the latest ZIP from axitrace.com/downloads/axitrace-magento-plugin-latest.zip.
  2. Unzip into app/code/AxiTrace/Tracking (and Hyva/AxiTraceTracking if you need Hyva support).
  3. Run the same module:enable / setup:upgrade / cache:clean sequence.

Install (Adobe Commerce Marketplace)

The module is distributed primarily via Composer/Packagist and direct ZIP (above) — no Marketplace account is required to install it. An Adobe Commerce Marketplace listing may be published later for discovery; if/when it is, you will also be able to install with the Marketplace authentication keys from commercemarketplace.adobe.com/customer/accessKeys/.


Configure (under 5 minutes)

  1. Get your workspace public key: sign in at axitrace.com/dashboard. Each workspace has a pk_live_... / pk_test_... key. Copy it.
  2. Open the Magento adminStores → Configuration → AxiTrace.
  3. Enable AxiTrace tracking: set to Yes.
  4. Paste your workspace public key. The field is encrypted at rest.
  5. (Optional) Auto-Detect Domain: if you have a verified custom tracking domain on AxiTrace, click the button to populate it. Otherwise leave blank to use the default (stat.axitrace.com).
  6. Test Connection: the button issues an AJAX request to AxiTrace and shows a coloured status. Green means you're connected.
  7. Save Config.
  8. Place a test order in your storefront. Within 1–2 minutes, the Status indicator turns green ("last event N minutes ago") and AxiTrace's dashboard shows the order on the events feed.

What it captures

Event Source
transaction.charge sales_order_save_after observer fires on the first state transition into processing. Idempotent via axitrace_event_log UNIQUE constraint.
view_content Storefront pixel on PDP (Luma + Hyva)
view_category Storefront pixel on category page
product.addToCart Storefront pixel via Magento cart events
page.view Off by default (high volume)

PII (email, phone) is forwarded in plain text server-to-server; Facebook's PHP SDK and TikTok's API hash internally per their requirements.

Operations

Logs

All module activity logs to a dedicated file:

Critical events (->critical()) also flow through Magento's central log so they are picked up by any monolog-based alert pipeline.

Idempotency table

The module ships its own table axitrace_event_log (declared via etc/db_schema.xml):

column purpose
event_id_hash UUID v5 from magento_order:{increment_id}; UNIQUE — blocks double-fire on async payment auto-invoice flows
status pending, sent, failed, skipped
attempts retry counter — capped at 5 by the retry cron
last_error truncated error from ingestion-api

You can inspect it via any DB client; nothing in it should ever be PII.

Cron jobs

Two cron jobs are registered (etc/crontab.xml):

name schedule what
axitrace_consumer_runner every minute spawns the axitrace_order_consumer for up to 100 messages
axitrace_retry_failed every 15 minutes re-publishes axitrace_event_log rows with status=failed and attempts<5

If Magento cron is healthy (bin/magento cron:run runs every minute via system cron), the module needs zero ops intervention.

Manual retry

Equivalent effect to one tick of the retry cron — useful after an ingestion-api incident.

Troubleshooting

Symptom Likely cause Fix
axitrace_event_log empty after placing an order Module disabled, or the order didn't transition to processing Enable in config; verify the payment method auto-invoices
Rows stuck in pending Magento cron not running bin/magento cron:run --group=default once; install system cron
Rows stuck in failed with connection timed out Outbound network blocked from your hosting Allowlist api.axitrace.com:443
Hyva storefront fires no events Hyva compat package not installed composer require axitrace/module-tracking-hyva + setup:upgrade
Hyva CSP errors in browser console Hyva FPC + block_html cache stale bin/magento cache:flush full_page block_html

Reporting issues

github.com/axitrace/axitrace-magento-plugin/issues or email [email protected].

License

MIT — see LICENSE.md.


All versions of module-tracking with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 || ^8.2 || ^8.3 || ^8.4
ext-json Version *
ext-curl Version *
magento/framework Version ^103.0
magento/module-sales Version ^103.0 || ^104.0
magento/module-catalog Version ^103.0 || ^104.0
magento/module-checkout Version ^100.0
magento/module-config Version ^101.0
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 axitrace/module-tracking contains the following files

Loading the files please wait ...