Install the Magento Storefront Module
The Magento Website Integration consists of a Magento module that tracks your storefront and checkout events.
The Converge Website installation for a Magento store consists of:
Create a new Client Source in Converge
{Storename} Storefront
Install the Magento Plugin
Add the Converge repository to your Magento 2 project’s composer.json
file:
Run the following command to install the Converge Magento 2 module:
Enable the Converge module using the Magento CLI:
Upgrade your Magento setup to ensure the Converge module is integrated properly:
Deploy static content to your Magento store for the Converge module:
Configure the Converge Magento Plugin with your public token
src
looks like https://static.runconverge.com/pixels/AYU51m.js
, then your public token is AYU51m
.Stores
> Settings
> Configuration
> Converge
> Converge
and add the public token you just retrieved.Verify that the integration is working correctly
$page_load
, Added To Cart
, and Started Checkout
events by visiting the store and seeing that these events arrive in the Source Log.This integration auto-tracks the following events on the browser with all properties available according to the Converge Event Spec.
Event Name | Event Description | Integration |
---|---|---|
PageView | When a customer views a page. | Storefront |
Viewed Product | When a customer views a product. | Storefront |
Added To Cart | When a customer adds an item to cart | Checkout |
Started Checkout | When a customer initiates the checkout process. | Checkout |