Results 1 to 14 of 14
  1. #1
    MMM
    MMM is offline Private Member
    Join Date
    October 2014
    Posts
    1,773
    Thanks
    467
    Thanked 721 Times in 504 Posts

    Default Geotargetting Plugin question

    Hi,

    Question: I use a geotargetting plugin and as i understand, you need to disable the caching for that to work.

    Is there a way not to do that or to disable the caching only for the specific part of the page?

    Thank you
    Best casinos to play slot machines online for real money. Reviews of best Real Money Casinos online.
    Check OnlineBlackjackExplorer for ratings of the best casinos to play blackjack online. Which games offer the lowest house edge, as well as free blackjack games, live dealer and mobile blackjack sites.

  2. #2
    RacingJim is offline Public Member
    Join Date
    May 2013
    Posts
    1,898
    Thanks
    896
    Thanked 1,370 Times in 845 Posts

    Default

    Ahhh the penny drops for me now. I have caching on my site and was wondering why I was having so many geo-targetting issues.

    Hmmm balancing act now, do I go for geo targetting knowing I need to mess about with caching or do I keep the benefits of caching and leave geo targetting? Tricky really.

  3. #3
    JackTenSuited is offline Private Member
    Join Date
    March 2004
    Posts
    1,013
    Thanks
    23
    Thanked 334 Times in 207 Posts

    Default

    Also if you are behind cloudflare you will probably get issues with geo plugins too

  4. #4
    MMM
    MMM is offline Private Member
    Join Date
    October 2014
    Posts
    1,773
    Thanks
    467
    Thanked 721 Times in 504 Posts

    Default

    Quote Originally Posted by RacingJim View Post
    Ahhh the penny drops for me now. I have caching on my site and was wondering why I was having so many geo-targetting issues.

    Hmmm balancing act now, do I go for geo targetting knowing I need to mess about with caching or do I keep the benefits of caching and leave geo targetting? Tricky really.
    I've stopped the caching of few pages which i geotarget, not the whole site.

    Quote Originally Posted by JackTenSuited View Post
    Also if you are behind cloudflare you will probably get issues with geo plugins too
    Regarding cloudflare - I had issues at start, but i think I managed to solve it by disabling the caching of those pages in cloudflare as well. I am not 100% sure, but tested with VPN and it seems to work.

    However, i think there has to be a solution where you can cache the page and just leave small part not cached. maybe a div that it will pull from some place else.

    P.S. If one of you in UK / US and can click at the first link in my sig and see if the table comes up right- that would be great.
    Best casinos to play slot machines online for real money. Reviews of best Real Money Casinos online.
    Check OnlineBlackjackExplorer for ratings of the best casinos to play blackjack online. Which games offer the lowest house edge, as well as free blackjack games, live dealer and mobile blackjack sites.

  5. #5
    nwalker's Avatar
    nwalker is offline Private Member
    Join Date
    June 2013
    Location
    England
    Posts
    622
    Thanks
    196
    Thanked 456 Times in 270 Posts

    Default

    When I implemented GEO targeting I found a few problems.

    I found that when i was testing using VPNS etc I was still getting strange results and that was because I was using the same PC and the plugin had dropped a cookie on my machine. The plugin then looked for that every time and so would always display that country code. It was only a problem during testing, because normally visitors would not normally be switching countries every few minutes lol. I just cleared my cookies when I was doing testing.

    I didn't find Cloudflare to be a problem but I did the Wordfence Security caching. In the end I just excluded those pages.

    Another gotcha is in TablePress. I put some geo targeting in some tables and again it wouldn't switch when I visited different countries.. By default Tablepress has some internal caching switched on, so you need to switch it off for those tables where you use GEO Targeting.
    Sold www.livecasinocomparer.com in April 2025 - Now retired

  6. #6
    MMM
    MMM is offline Private Member
    Join Date
    October 2014
    Posts
    1,773
    Thanks
    467
    Thanked 721 Times in 504 Posts

    Default

    Quote Originally Posted by nwalker View Post
    I found that when i was testing using VPNS etc I was still getting strange results and that was because I was using the same PC and the plugin had dropped a cookie on my machine. The plugin then looked for that every time and so would always display that country code. It was only a problem during testing, because normally visitors would not normally be switching countries every few minutes lol. I just cleared my cookies when I was doing testing.
    - Same here.


    Quote Originally Posted by nwalker View Post
    Another gotcha is in TablePress. I put some geo targeting in some tables and again it wouldn't switch when I visited different countries.. By default Tablepress has some internal caching switched on, so you need to switch it off for those tables where you use GEO Targeting.
    - Good to know. With Tablepress probably the best just to geo the whole table.
    Best casinos to play slot machines online for real money. Reviews of best Real Money Casinos online.
    Check OnlineBlackjackExplorer for ratings of the best casinos to play blackjack online. Which games offer the lowest house edge, as well as free blackjack games, live dealer and mobile blackjack sites.

  7. #7
    RacingJim is offline Public Member
    Join Date
    May 2013
    Posts
    1,898
    Thanks
    896
    Thanked 1,370 Times in 845 Posts

    Default

    Yep I also had a lot of problems testing and was getting weird results. I'd love to get geo-targetting working, missing out on a fair % of signups methinks.

  8. #8
    MMM
    MMM is offline Private Member
    Join Date
    October 2014
    Posts
    1,773
    Thanks
    467
    Thanked 721 Times in 504 Posts

    Default

    I think i got my working (I am with Custom Content by Country, W3Cache)

    I just wish i could somehow geotarget just part of the page and not the whole page. Btw, i am not sure i will be able to help, but feel free to PM me.
    Best casinos to play slot machines online for real money. Reviews of best Real Money Casinos online.
    Check OnlineBlackjackExplorer for ratings of the best casinos to play blackjack online. Which games offer the lowest house edge, as well as free blackjack games, live dealer and mobile blackjack sites.

  9. #9
    nwalker's Avatar
    nwalker is offline Private Member
    Join Date
    June 2013
    Location
    England
    Posts
    622
    Thanks
    196
    Thanked 456 Times in 270 Posts

    Default

    Quote Originally Posted by MMM View Post
    I think i got my working (I am with Custom Content by Country, W3Cache)

    I just wish i could somehow geotarget just part of the page and not the whole page. Btw, i am not sure i will be able to help, but feel free to PM me.
    The Flytonic geo plugin will allow you to do parts of a page or even individual bits of text if you want. Perhaps you should look at that.
    Sold www.livecasinocomparer.com in April 2025 - Now retired

  10. #10
    MMM
    MMM is offline Private Member
    Join Date
    October 2014
    Posts
    1,773
    Thanks
    467
    Thanked 721 Times in 504 Posts

    Default

    Quote Originally Posted by nwalker View Post
    The Flytonic geo plugin will allow you to do parts of a page or even individual bits of text if you want. Perhaps you should look at that.
    Haven't explained myself correctly. I do geotarget just certain parts of the page with this plugin. My problem is that i still want this page to be cached and only the small part to change.
    Best casinos to play slot machines online for real money. Reviews of best Real Money Casinos online.
    Check OnlineBlackjackExplorer for ratings of the best casinos to play blackjack online. Which games offer the lowest house edge, as well as free blackjack games, live dealer and mobile blackjack sites.

  11. #11
    RacingJim is offline Public Member
    Join Date
    May 2013
    Posts
    1,898
    Thanks
    896
    Thanked 1,370 Times in 845 Posts

    Default

    The problem for me is, Google likes cached sites as they load quicker and you get more points on their page speed checker thingy. But caching appears to be mucking up the geo-targetting. Annoying. I was using the Flytonic one by the way, could not get it to behave at all for me.

  12. #12
    MMM
    MMM is offline Private Member
    Join Date
    October 2014
    Posts
    1,773
    Thanks
    467
    Thanked 721 Times in 504 Posts

    Default

    I decided for now not to cache few specific pages and geo target them and that works for me.

    There are 2 better solutions - 1. To not cache only specific part of the page. 2. To cache different page version for each country. I am planning to try that one, but haven't got to it yet.
    Best casinos to play slot machines online for real money. Reviews of best Real Money Casinos online.
    Check OnlineBlackjackExplorer for ratings of the best casinos to play blackjack online. Which games offer the lowest house edge, as well as free blackjack games, live dealer and mobile blackjack sites.

  13. #13
    timersys is offline Public Member
    Join Date
    April 2017
    Location
    Argentina
    Posts
    21
    Thanks
    0
    Thanked 12 Times in 8 Posts

    Default

    Quote Originally Posted by MMM View Post
    Hi,

    Question: I use a geotargetting plugin and as i understand, you need to disable the caching for that to work.

    Is there a way not to do that or to disable the caching only for the specific part of the page?

    Thank you
    Depending on what you use. Geotargeting WordPress it's fully compatible with any cache plugin by using AJAX. And can grab the correct IP from several providers like cloudflare, Akamai, etc .
    Take a look for example on https://geotargetingwp.com/demos/casino

    PS: Im the author of it.

  14. #14
    petimi's Avatar
    petimi is offline Public Member
    Join Date
    February 2016
    Posts
    177
    Blog Entries
    8
    Thanks
    42
    Thanked 100 Times in 74 Posts

    Default

    a quick tip for TablePress users who experienced issues with geo-targeting or shortcodes in table cells not rendering.
    You can add a parameter that will disable the TablePress internal caching feature that may cause issues in some cases

    you can do it by adding the following shortcode attribute, for example:

    [table id=1 cache_table_output=false /]

    hope this helps some of you

  15. The Following 2 Users Say Thank You to petimi For This Useful Post:

    Scampi (25 October 2017)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •