All things Shopify and commerce
I want to know if my buyers are using Android or iPhone to buy my products. Is there a way to check? (not the sessions but the device type used for purchase) and not only mobile, but the type of mobile e.g. iphone or android) Cheers.
Hey @bigello,
Thank you for reaching out to the Community! I'm happy to provide some guidance with generating a report that includes device type as a field, to get this resolved. While this is not natively available within the shops analytics, I recommend checking out the Shopify App Store for an app that may allow for you to achieve this. I've gone ahead and recommended a few you can check out:
As I can completely understand how this may not be ideal, I'm happy to make note of this suggestion with our Developers. We are always looking for ways to improve the platform and appreciate the feedback. As a workaround however, you can look to the apps suggested above as well as our Analytics Documentation for what is currently available.
Please let me know if you have any other concerns!
Blair | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
@bigelloif you're looking for cumulative stats Google Analytics has this.
If you're looking for granular stats, another idea that you could do using code in your theme:
1. Add some JavaScript code on the product page that detects the user's device and adds it as a line item property so that when the user clicks Add to Cart that data is stored in the line item data.
2. When the user checks out, this data will now show on the order details page in your admin.
3. If you want to take a step further and organize orders based on the device you can create rules in Order Automator app to automatically tag orders based on the line item properties (contains iOS for example). Once those orders are tagged, you can filter them by tag and export those customers if you want to do certain marketing to them.
Here's an example script you can put in your theme code to test and see what the output looks like in the dev console. If you're not familiar with using a dev console see this article: https://speedboostr.com/finding-and-fixing-console-errors.
<script>
// This will show the users's device and browser info
console.log("User info: " + window.navigator.userAgent);
</script>
That script will help you get the device info, then you would add a hidden element to your product page that adds that info (or whatever you want) to show up as a line item property.
If you need help implementing that feel free to reach out to my team of professional Shopify developers at speedboostr.com/contact. We can do pretty much anything development-wise in a Shopify store.
Hi @bigello
Claudia here from Better Reports.
Have you been able to find a solution? If not, I would recommend our app Better Reports for this.
We have a set of 4 built-in fields regarding the customer device allowing you to add brand, model and type to your sales reports.
In addition to this, Better Reports has more than 60 built-in reports available out of the box that cover many common use-cases for merchants. You can schedule reports to run at set frequencies to your email or Google Drive or export the reports in CSV, Excel or PDF format.
I encourage you to install Better Reports and start your free 14-day trial and I'll be happy to set this up for you.
What do you think?
Hey there @bigello ,
The Order API has this information stored under client_details.user_agent.
The data will look something like these below:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1
Mozilla/5.0 (Linux; Android 8.1.0; Moto G (5)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36
As you can see, it even gives you the OS version and sometimes even the phone model.
To view this data via the Shopify Admin, simply go to the order detail page and then append .json to the URL after the Order ID to view the raw JSON data for the order, similar to what the API provides (more info here).
If you need to export this data to CSV/Excel in bulk, our app EZ Exporter can also do this for you and you just need to select the field called client_details.user_agent in the app to include this in your report.
You can try Yandex Metrica. It's similar to Google Analytics. It's free and also has a feature to track the screen heat map and customer's behavior with screen recording etc.
There was a bug on my website while using older browsers. The video recording feature helped me to find that bug.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024