3 Ways to Track Shoppers Checking-in From Different Devices

Smart devices are just increasing and improving with time. The digital era has definitely introduced many devices that will offer convenience and ease out your problems. With multiple platforms available for logging into your favourite store, it becomes difficult for you as a store owner or a developer to track the device the shopper is using to present themselves. A shopper might use a tablet to browse, and a desktop to purchase. A tracking of both the activities is a must for the owner.

Here's how you can integrate multi device tracking for your Magento store.

User ID vs. Client ID

The one stop solution for device attribution problem is the universal analytics' user Id feature. The client ID is unique and is a combination of the web browser and device from which the particular store has been accessed. A single thing changes, and it leads to a change in the client Id. The only issue being, if a single user tends to login from different devices, then each visit will be considered unique. The other way of solving the problem is by using the user Id. this ID is sent by the user across the web to authenticate themselves when logging into your store. Using the user Id, you have the freedom to create your own ids, and track the shopper when they check in from different devices. This way, you will be able to track the unique users and their unique sessions from multiple devices with precision and accuracy. You will get an insight into the customer purchase journey with this user Id.

Session Unification Setting

This is a user Id setting which allows you to define a collection of hits before assigning a particular user ID. It is generally enabled which allows you to have a view of the log. In case it is disabled, you will be able to view the hits that are collected within the user login session, and the association will be made through the user ID. In case, the user ID is not present, the views will not be logged in.

Integrating Cross Device Measurement

You can track your consumers using the three steps cross device measurement method.

  • Enable User Id Feature: This feature is generally enabled in the universal analytics'. You can set the ID at the property level. How to set the user ID?

    Go to Admin, select an account and property. Here you can click on tracking info, and add the user ID. Enable the ID feature and move to the next step

  • Add User Id to Data Collection: Once you have enabled the User Id, it is time to add user ID to the tracking code. You will also need to add the following code to Google Analytics tracking code page, and then enable session unification.

       ga('set', '&uid', {{USER_ID}}); // Set the user ID using the signed in User_ID
  • Create a Reporting View: You will need to click on "Create" to create a view of the User ID. You can enter the reporting view name along with the user Id. You should also select a reporting time zone.

Add to Google Tag Manager

You can add the user ID via Google Tag Manager

Click on more settings, and then fields to set. You will now need to create a macro to call the user ID. Next, define the datalayer for the unique user Id for your site

dataLayer = [{
'uid' = '12345' //you will need to enter the unique user id here

Deepa, a technical writer with Semaphore Software, who now devotes her time in advising its clients to hire magento ecommerce developers. Her love for reading helps her constantly provide latest information on different technical and design aspects of Magento

Deepa Ranganathan
  • magento store
  • magento tracking
By Deepa Ranganathan On 18 Jun, 15  Viewed: 259

Other blogs you may like

How to Manage the Backend Functionality of Your Magento Store?

Helper contains the necessary functions for you; you can call in a helper from anywhere. An example of helper is as below $helper = Mage::helper('monhelper'); The call can be related to $helper = Mage::helper('monhelper/data'); **Let's create a helper file** You will need to... By Deepa Ranganathan   On 17 Jul 2015  Viewed: 226

How to Programmatically Create a Dropdown Login for your Magento Store?

If you want to improve the interface of your Magento store, then you must include the dropdown login form. This would help create an interactive base for your consumers, and offer convenience too! Let’s see how you can include the form programmatically. Go to... By Deepa Ranganathan   On 07 Jul 2015  Viewed: 1,433