• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

is there anyway that i can

Status
Not open for further replies.
Joined
Mar 19, 2012
Posts
306
Reaction score
2
Have a different advertising banner show on my website depending on which country the user is accessing my site from?

I currently display a CPA banner on my site that is aimed at the UK market but some of my viewers come from the US. How can I upload a different banner to show if the site us accessed from the US?
 
I use a good wordpress plugin for this if that's what your site uses.
 
I am using WordPress. Do you have a link or a name for the plugin please?
 
I am using WordPress. Do you have a link or a name for the plugin please?

Sorry, I was on my phone which is why I didn't before.

The plugin is called WP Geocode: https://wordpress.org/plugins/wpgeocode/

For example, I use it so that I can show UK and non-UK different 'buy now' affiliate links: http://delivermethis.co.uk/wear/horse-head-mask/

Code:
[wpgc_is_country_name country_name="United Kingdom"][button link="http://delivermethis.co.uk/get/uk/horse-head-mask" type="big" newwindow="yes"] Buy now[/button][/wpgc_is_country_name]

[wpgc_is_not_country_name country_name="United Kingdom"][button link="http://delivermethis.co.uk/get/us/horse-head-mask" type="big" newwindow="yes"] Buy now[/button][/wpgc_is_not_country_name]

I hope that helps.
 
If you happen to use cloudflare, check the CF-IPCountry header sent with every request.
 
Status
Not open for further replies.
Top Bottom