TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria
1.0.2
It is now on Optimizely nuget feed - https://nuget.optimizely.com/package/?id=TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria
dotnet add package TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria --version 1.0.2
NuGet\Install-Package TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria -Version 1.0.2
<PackageReference Include="TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria" Version="1.0.2" />
paket add TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria --version 1.0.2
#r "nuget: TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria, 1.0.2"
// Install TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria as a Cake Addin #addin nuget:?package=TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria&version=1.0.2 // Install TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria as a Cake Tool #tool nuget:?package=TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria&version=1.0.2
TechnicalDogsbody's Optimizely CloudflareGeoLocationCriteria
A lightweight integration for Optimizely CMS that adds support for Cloudflare's geolocation headers in visitor groups. This package simplifies creating personalised experiences based on visitors' geographical location.
Features
- Adds a new visitor group criterion for geolocation using Cloudflare headers.
- Supports Cloudflare's
CF-IPCountry
header. - Seamless integration with Optimizely CMS.
Getting Started
Install the package:
Run the following command in your package manager console:Install-Package TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria
Configure Cloudflare:
Ensure that your Cloudflare account is set to send theCF-IPCountry
header.Add the Criterion to Visitor Groups:
- Navigate to the Optimizely Admin interface.
- Add the Cloudflare GeoLocation criterion to a visitor group.
- Configure the allowed countries as per your requirements.
Prerequisites
- Optimizely CMS 12
- .NET 8.0+
- A site hosted on Optimizely DXP or behind Cloudflare with geolocation headers enabled.
Documentation
Visit the GitHub repository for detailed usage instructions and examples.
License
This package is licensed under the GNU General Public License v3.0 (GPL-3.0). For more information, visit the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- EPiServer.CMS.Core (>= 12.4.0)
- EPiServer.Personalization.Content.UI (>= 1.0.1)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.