Magento
Seeka can be installed on Magento 2 stores via a Composer package.
Installing
-
Retrieve your Composer package registry URL from your Seeka app.
-
In your
composer.json
file, add the below repository, ensuring to replacecomposer_registry_url
with the value retrieved in the previous step.composer.json// ... "repositories": [ { "type": "composer", "url": "composer_registry_url" } ], // ...
-
Install the module with the below command
cd <directory containing your composer.json> composer require seeka-labs/magento2
-
Activate the Seeka extension
php bin/magento module:enable Seeka_Tracking php bin/magento setup:upgrade
-
In your Magento admin, navigate on the left menu to
Stores > Configuration > Seeka
and enter your public key, organisation ID, and instance ID. These can be retrieved from your Seeka app.
Testing
If you are accessing your local development environment with the localhost
hostname, append ?test=full
to your URL to enable the Seeka Browser SDK on your local development environment.
Tracking
Automatic
All standard e-commerce events will be automatically tracked, along with your customer identities.
Custom
For a full reference of supported events and parameters, see the Browser SDK documentation.
Upgrading
Run the below command to upgrade the module.
cd <directory containing your composer.json>
composer upgrade seeka-labs/magento2