Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect geo from cloudflare headers #1047

Closed
ScottEAdams opened this issue Sep 27, 2023 · 1 comment · May be fixed by #1049
Closed

Detect geo from cloudflare headers #1047

ScottEAdams opened this issue Sep 27, 2023 · 1 comment · May be fixed by #1049

Comments

@ScottEAdams
Copy link
Contributor

Similar to #1028 , would be nice to use cloudflare headers when available - https://developers.cloudflare.com/rules/transform/managed-transforms/reference/

cf-ipcity: The visitor's city
cf-ipcountry: The visitor's country
cf-ipcontinent: The visitor's continent
cf-iplongitude: The visitor's longitude
cf-iplatitude: The visitor's latitude
cf-region: The visitor's region
cf-region-code: The visitor's region code
cf-metro-code: The visitor's metro code
cf-postal-code: The visitor's postal code
cf-timezone: The name of the visitor's timezone

@vklimontovich
Copy link
Contributor

We won't do it as a part of core jitsu, but you can easily do so with functions, see ctx.headers

@vklimontovich vklimontovich closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants