Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Track Device Used When A Customer Places An Order Rate Topic   - - - - -

 

Posted 14 May 2019 - 02:10 PM #1

Hi all,

 

I was wondering if anyone knows if its possible to see what kind of device is used when someone places an order on my site. Eg - Desktop Computer, Mobile Phone, Tablet etc?

 

Does anyone know if this is possible or can it only be achieved via google analytics?

 

Thanks



 

Posted 14 May 2019 - 04:33 PM #2

Hi all,

 

I was wondering if anyone knows if its possible to see what kind of device is used when someone places an order on my site. Eg - Desktop Computer, Mobile Phone, Tablet etc?

 

Does anyone know if this is possible or can it only be achieved via google analytics?

 

Thanks

Hello, yes it is possible.

 

You can use this library to detect device type - http://mobiledetect.net/

 

Code samples:

// Include and instantiate the class.
require_once 'Mobile_Detect.php';
$detect = new Mobile_Detect;
 
// Any mobile device (phones or tablets).
if ( $detect->isMobile() ) {
 
}
 
// Any tablet device.
if( $detect->isTablet() ){
 
}

Only helpful and unique addons https://store.retailfactory.ru


 

Posted 21 May 2019 - 12:25 PM #3

Thank you for the reply! I will have a look into this.