Geo location redirect

Hey! :wave:

Im running the latest version of ghost on digital ocean with casper

I am looking to redirect users by country

I found a way to do that with Cloudflare, I tried to embed a PHP file to index.hbs so it will run the code

but it would just download the .php file instead

I don’t know how to code, but is it possible to do this with Ghost?

-index.hbs :point_down:
<img src="geolocation.php" alt="counter"/>

-geolocation.php :point_down:

Thanks a lot!