Home > Paid Traffic Sources > Mobile

Device Callout Script (15)


04-25-2014 04:55 PM #1 intervention (Member)
Device Callout Script

Where can I find a device callout script that recognises the device like "Samsung Galaxy S3"

So far, all I have been able to find is scripts that say "Samsung"

If you guys know such a script, I'd really appreciate it


04-25-2014 05:47 PM #2 theboss (Member)

This is the one I use: https://github.com/serbanghita/Mobile-Detect

You did not specify language, server side, js, etc. so I can't be more specific than that.

You can test it by pointing your phone here: http://demo.mobiledetect.net/


04-25-2014 07:28 PM #3 jorgos (Member)

Not sure which mobile tracker you use, but trackers like Voluum or iMobitrax pass on device parameters to landers. You need a script to call them out:

Voluum (free until May 31, 2014): http://feedback.Voluum.com/knowledge...rticles/318335
iMobitrax: you need to include the landing page script and echo the device data via PHP, something like >> <?php echo $device_marketing; ?>

I haven't tried STM tracker yet.


04-30-2014 12:08 AM #4 dr_ngo ()

Go with what Jorgos says

Powerful technique for pre-qualifying the user.

"Your Samsung Galaxy S3 may potentially have a virus..."


04-30-2014 08:14 AM #5 rob_gryn (Member)

Not to hijack OPs thread but do you gentlemen know of a good database that will have the actual names of phones/tablets as opposed to the code. For example Samsung Note 3 instead of Samsung SM-N9005? We're looking for a solution for Voluum, we use a mix of dbs at this time (as no single one is good at everything) and it looks like we may just need to map this out by hand for the top 100 devices.


04-30-2014 10:57 AM #6 zeno (Administrator)

What about Scentia WURFL? I recall Alex saying that MobAff Tracker used it for device detection. Not sure if it gives nice names though - as you said this might be better done by hand.


04-30-2014 11:14 AM #7 rob_gryn (Member)

We have a WURFL license and use it for device detection, but no nice names as far as we checked.

Although I do see marketing_name on their site.. perhaps that will be sufficient.


04-30-2014 07:22 PM #8 jorgos (Member)

Quote Originally Posted by zeropark View Post
Although I do see marketing_name on their site.. perhaps that will be sufficient.
Combining 'brand_name' + 'marketing_name' via WURFL produces the following results :

Samsung Galaxy S III for a Samsung Galaxy S3 (tested on real device):
Samsung = brand_name
Galaxy S III = marketing_name

Apple for iPad Air (tested on real device):
Apple = brand_name
... = marketing_name

So:

1) In case WURLF does not produce the marketing_name for whatever reason, the brand name could still make sense in a LP setup, but for reporting / analytics it would clearly lead to disappointments.
2) I used to work for a company that managed + updated an in-house device database manually (1 FTE) as part of their core business. This database was supplemented with data from external sources like Wurfl and DeviceAtlas. So there is no single one that is good at everything.


04-30-2014 08:29 PM #9 thelpguy (Member)

Quote Originally Posted by jorgos View Post
iMobitrax: you need to include the landing page script and echo the device data via PHP, something like >> <?php echo $device_marketing; ?>
I just tried this and it returned "Desktop - Windows" on every emulator and device I tried. Does anyone have any insight to what will fix the issue?


04-30-2014 09:02 PM #10 jorgos (Member)

No issues here, works flawlessly.

Recap for iMobitrax:

1) include the LP script in your lander before <html> : <?php include ('/YOUR SERVER PATH/lp_track.php'); ?>
2) echo device data <?php echo $device_marketing; ?> inside <html> </html>
3) test iMobitrax campaign url via user agent switcher or real device

If it still does not work, I'd suggest to submit a ticket to iMobitrax support, as this feature is officially supported.


04-30-2014 09:24 PM #11 thelpguy (Member)

I figured out the problem. Thanks.


05-01-2014 02:14 AM #12 richierich (Member)

Quote Originally Posted by zeropark View Post
Not to hijack OPs thread but do you gentlemen know of a good database that will have the actual names of phones/tablets as opposed to the code. For example Samsung Note 3 instead of Samsung SM-N9005? We're looking for a solution for Voluum, we use a mix of dbs at this time (as no single one is good at everything) and it looks like we may just need to map this out by hand for the top 100 devices.
Hello Zeropark,

Most device detection databases are not updated. This one actively maintained by community: http://wurfl.sourceforge.net/
If, you are looking for better detection look here: https://deviceatlas.com/

Other than this, you can use own regex hacks. But it won't be that effective. Best bet is to go with deviceatlas for any serious project. Imobitrax uses DeviceAtlas.

Here is their method:


A list of known models is supplied with their tracking tool.
Then, if visitor comes across unknown model, its added to their unkown list.
This list is sent to developer who runs this through deviceatlas and sends back updated list.


05-01-2014 10:49 AM #13 rob_gryn (Member)

Thanks richierich,

We currently use a hybrid of http://uadetector.sourceforge.net/ and WURFL.

We tested DeviceAtlas in 2012 and weren't happy with it. Will revisit it next week.


05-01-2014 11:25 AM #14 h0mp (Member)

Model names always are a pain.

i log unknown models in an unknown list. when i click the unknown, a google search is made and i have to add the name manually.

Its not a lot of work if i do this on a weekly basis.

I did notice that names for the same model can be different according to geo.


05-01-2014 02:00 PM #15 zeddnaz (Member)

Quote Originally Posted by thelpguy View Post
I figured out the problem. Thanks.
What was the problem? I'm only getting "Web Browser" when I check my LP from my phone.


Home > Paid Traffic Sources > Mobile