Skip to content
Advertisement

GEO IP based content display

I have added the below code into this page so that I can display specific content when people come from India. But it is not working as needed. In the head section

JavaScript

& in the body section

JavaScript

Please help with the correct code. This can be at present viewed here

Advertisement

Answer

You’re trying to use jQuery’s API before it’s loaded. Just move the jQuery CDN to the top of your embedded code.

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement