• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

How to run google ads for iPhone owners only?

redabr

Active member
May 5, 2022
124
35
28
I want to make a target in google adword for people who have Iphone and Ipod, can someone help me?
 
You can try this

PHP:
<?php

$is_iphone = stripos($_SERVER['HTTP_USER_AGENT'],"iPhone");

if ($is_iphone) {
 /// load code here
}

?>
 
You can try this

PHP:
<?php

$is_iphone = stripos($_SERVER['HTTP_USER_AGENT'],"iPhone");

if ($is_iphone) {
 /// load code here
}

?>
thank you but i don't know where i can put this code, can you explain me more please
 
  • Like
Reactions: vcless
thank you but i don't know where i can put this code, can you explain me more please
In your php header where you would insert your analytics code. If you need help send me a PM with your FTP, SSH, or hosting login (best to create a temporary account that you can delete afterwards)
 
  • Like
Reactions: redabr
In your php header where you would insert your analytics code. If you need help send me a PM with your FTP, SSH, or hosting login (best to create a temporary account that you can delete afterwards)
Thank you, check your Pm
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock