Back to Top

Magento 2 Product User Activity

Updated 20 March 2024

Introduction

The Magento 2 Product User Activity extension helps store owners to track the activity of their customers.

Further, the admin can check the complete record of the actions, movements, and as well pages that a customer visited.

Records are present in a tabular data form. Further, send promotional emails to the customer with content and subject. 

Also, you can check the product revision history of a particular product in admin backend panel using the Magento 2 Product Revision History Extension.

Searching for an experienced
Magento 2 Company ?
Find out More

Note: The module only works for logged-in customers, Moreover the activity of the guest users can not be recorded.

Check the plugin workflow at the storefront 

g_kvQjWCV3A

Features

  • For the Activity tracking for Customers on Catalog pages implemented.
  • The user activity can be tracked over multiple pages such as product, home, cart, category, checkout, search, wishlist, & compare. 
  • User activity data can be exported which is in CSV or XML format.
  • The admin can also find which event type is being carried out by the user such as add to cart or wishlist, page load, redirect, searched or compared different products. 
  • The admin can send promotional emails to multiple customers at a time with personalized content and subject.
  • You can get a list of all the customers who visited the page using the GraphQl API.
  • The user activity can be recorded store-view wise.
  • The custom email template can be used for sending promotional emails to the customer.
  • The senders’ names on the delivered email can be set accordingly.

Install Extension from Webkul Store

#1 Download Module

Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section.

Further, verify and then download and extract the contents of this zip folder on the system.

#2 Upload Folder

Once the module zip is extracted, follow path src>app and then copy the app folder into the Magento 2 root directory on the server as shown below.

installation

#3 Run Commands

After uploading the module folder, you need to run the following commands in the Magento 2 root directory.

First command –

php bin/magento setup:upgrade

Second Command –

php bin/magento setup:di:compile

Third Command –

php bin/magento setup:static-content:deploy

Fourth Command –

php bin/magento indexer:reindex

Fifth Command –

php bin/magento cache:flush

Install Extension from Magento Marketplace

If you have purchased this extension from the Magento Marketplace then please follow the below process or visit this link.

#1 Get Access Keys

You need to get access keys, navigate to My Profile in Magento Marketplace, then choose Access Keys in the My Products section.

my-profile

Go to Magento 2 and then you need to copy both the Access Keys – Public Key and Private Key. These access keys will be needed in the next steps for authentication.

copy-keys

If access keys are not created earlier, click Create A New Access Key, enter any name and click OK.

create-key-name

#2 Update composer.json File

To know the component name and version number, go to your Magento Marketplace account section, My Profile>My Purchases, then find this extension to view the details. 

Please note – Below is an example image, every extension will have its unique component name and version.

know-component-name-version

After that, navigate to your Magento project directory and update your composer.json file in the following format.

composer require <component-name>:<version>

For example, to install version 5.0.0 of this extension you need to run the following command:

composer require webkul/catalog-user-activity:5.0.0

#3 Enter Access Keys

Now you will need to enter the Access Keys that you obtained as explained in the first step #1 Get Access Keys.

Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.

#4 Run Command

You need to run the following commands:

First command –

php bin/magento setup:upgrade

Second Command –

php bin/magento setup:di:compile

Third Command –

php bin/magento setup:static-content:deploy

Fourth Command –

php bin/magento indexer:reindex

Fifth Command –

php bin/magento cache:flush

Multilingual Support – Product User Activity

For multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options. 

Henceforth, select the locale as German (the language into which the admin wants to translate his store content).

Google-Translate-lang1

Language Translation – Product User Activity

If a user wants to translate their module from English to German.

Henceforth, they need to follow the path app/code/Webkul/ProductUserActivity/i18n in their unzipped Magento2 Product User Activity folder. There one can get a CSV file with the name “en_US.csv”.

Now they will rename that CSV as “de_DE.csv” and translate all right side content after the comma in the German language.

So, after editing the CSV, save it and then upload it to the path app/code/Webkul/ProductUserActivity/i18n. where they have installed Magento2 on the server.

Thus, the module will get translated into the German Language. It supports both RTL and LTR languages.

encrypt-01

Thus, the user can edit the CSV like the image below.

Lang-translation-1

Module configuration – Product User Activity

For the basic configuration, the admin needs to go to Stores -> Configuration as shown in the below image.

module-configuration

Afterwards,  navigate to the Product User Activity Settings -> General Settings.

Configuration-Settings-Stores-Magento-Admin-35

Promotional Email: Further select the email template to send the mail. 

Email Sender Name: However, the admin can enter the sender’s name in this field as a result, the name will be present on the mail sent to the customers.

Admin Email: Also, the admin can enter his email id using which emails will be sent to the customer.

Check User Activity

To visit this section on the Admin sidebar, go to Product User Activity > User Activity as shown given below.

product-user-activity

Here, The record of all the activity or movement of the store visitors (logged-in customers) is visible here.

user-activity-1

Customer Id: Identify your customer by checking their Id from the table.

Customer Email: Here, the email address of the customer’s account is visible. 

Product Id: The product visited by the customer is listed here using the product Id of that particular product.

Filter the User Activity Results

You can define the filter options fields and then click Apply Filters to narrow the actions displayed.

user-activity1

Moreover, to clear the filter options and return to the full report, click Clear All.

The admin can send promotional emails to its customer by selecting any one or multiple rows from the checklist then tap on actions and click Send Email.

Also, the admin can delete one or multiple rows by selecting row(s) from the checklist and then click on Delete.

User-Activity-Product-User-Activity-Magento-Admin-1-1

As a result, an entry field with the option to write Content and Subject of the email will appear in the pop-up.

Henceforth, after writing the content of the email press Send to deliver the mail or click Cancel to leave.

User-Activity-Product-User-Activity-Magento-Admin-4

Understand User Activity Workflow

Let’s suppose multiple new or previous customers of your store land in at your online store and further below are the possible scenarios.

Scenario – 1

  • Here, A purchase made by the customer.
Success-Page

Scenario – 2

  • The customer added in some items in his/her shopping cart or as well as a wish list.

Bags-Gear-3-1

cenario -3

  • The user browsed a few products.
Jackets-Tops-Women

Scenario – 4

  • Furthermore, Searched for a product or compared different items together.
Search-results-for-wrist-

Afterwards, spend some time the customers leave.

At last, I conclude that, for the time being, they remain offline what are the chances of your customers returning back.

Send them emails to engage.

Catalog-Activity-Catalog-User-Activity-Magento-Admin-1

Here, check the sample email sent to the customer.

Kevin-check-out-the-latest-with-Premium-pack-this-month-virvikramsingh935-gmail-com-Gmail

That’s all for the Magento 2 Product user activity extension.

However, if you still have any questions regarding the module please create a support ticket by clicking here or send an email to [email protected]

You may also browse other Magento 2 marketplace addons and our quality Magento 2 extensions.

Current Product Version - 5.0.3

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
  • Version 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
  • Version 2.0.x , 2.1.x , 2.2.x , 2.3.x , 2.4.x
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home