TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria 1.0.2

dotnet add package TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria --version 1.0.2                
NuGet\Install-Package TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria --version 1.0.2                
#r "nuget: TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

  1. Install the package:
    Run the following command in your package manager console:

    Install-Package TechnicalDogsbody.Optimizely.CloudflareGeoLocationCriteria
    
  2. Configure Cloudflare:
    Ensure that your Cloudflare account is set to send the CF-IPCountry header.

  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 98 11/26/2024 1.0.2 is deprecated.
1.0.1 89 11/25/2024
1.0.0 88 11/22/2024