Target classic- What is the cleanest way to create a mobile phones segment

Avatar

Avatar
Validate 1
Level 1
gpolkin
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
gpolkin
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
gpolkin
Level 1

15-10-2015

I need to create a segment for "mobile phone" traffic (not tablets)

I realize this can be done in Adobe Analytics and shared via the cloud but we have not implemented the Adobe Cloud Visitor ID.  My current solution is to use an expression target using syntax provided by a co-worker with more coding skills than I possess.

Any easier ideas on how to do this in Classic?

Greg

 

 
var userAgent = user.header( 'user-agent' ) || '';
var mobileAgents = [ 'iPhone', 'Windows Phone', 'Android', 'Mobile' ];
 
for( var i = 0; i < mobileAgents.length; i ++ ) {
if( userAgent.indexOf( mobileAgents[ i ] ) > -1 ) {
return true;
}
}
 
return false;

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Nikhil_Bisne
Level 5

15-10-2015

HI Greg,

 

Go through this document(and its subsections). It will help answer your question. Do let us know in case any queries.

 

Thanks

Nikhil

Answers (5)

Answers (5)

Avatar

Avatar
Validate 1
Level 1
CCWC19
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
CCWC19
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
CCWC19
Level 1

15-10-2015

Hello , 

I'm trying to create a segment for "Mobile" and a segment for "Tablet". Following some of the examples given. They both record the same data.  Is this maybe because tablet are still considered mobile or vice versa ? 

Screenshot attached of both implementation of segments 

If I did configure it wrong, what is the best way to get "Tablets only"

[img]Screen Shot 2015-07-22 at 3.58.54 pm.png[/img]

[img]Screen Shot 2015-07-22 at 4.02.33 pm.png[/img]

Avatar

Avatar
Ignite 1
Level 2
brianh96587047
Level 2

Likes

3 likes

Total Posts

9 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Ignite 1
Level 2
brianh96587047
Level 2

Likes

3 likes

Total Posts

9 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Boost 3
Boost 1
Affirm 1
View profile
brianh96587047
Level 2

15-10-2015

You can easily use the targeting widget as well as seen here:  

Avatar

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
Nikhil_Bisne
Level 5

Likes

10 likes

Total Posts

282 posts

Correct reply

131 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Nikhil_Bisne
Level 5

15-10-2015

Avatar

Avatar
Validate 1
Level 1
xbarcelona
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
xbarcelona
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
xbarcelona
Level 1

15-10-2015

I have the same question...but the LINK you provided does not work 😞

Avatar

Avatar
Level 1
popescu_dan
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
popescu_dan
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
popescu_dan
Level 1

15-10-2015

I`ve the same question