uPersonal.Umbraco8
1.9.1
Trigger bug. Please use later version.
See the version list below for details.
dotnet add package uPersonal.Umbraco8 --version 1.9.1
NuGet\Install-Package uPersonal.Umbraco8 -Version 1.9.1
<PackageReference Include="uPersonal.Umbraco8" Version="1.9.1" />
paket add uPersonal.Umbraco8 --version 1.9.1
#r "nuget: uPersonal.Umbraco8, 1.9.1"
// Install uPersonal.Umbraco8 as a Cake Addin #addin nuget:?package=uPersonal.Umbraco8&version=1.9.1 // Install uPersonal.Umbraco8 as a Cake Tool #tool nuget:?package=uPersonal.Umbraco8&version=1.9.1
uPersonal
uPersonal is an on-site realtime personalization package for Umbraco 7 and Umbraco 8.
Your website visitors build a user profile by simply browsing your website. The package provides tools to adapt the content based on their user profile.
Features
- Content recommendation
- Section in Umbraco backoffice for editors
Requirements
- Umbraco 7.1.1+ & Umbraco 8.1
- Entity Framework 6
- SQL Server database
Getting started
- Get your uPersonal Licence at https://upersonal.nl/licentie-aanvraag/ Licenses are free for local deployments that have hostname localhost or *.local.
- Setup Umbraco
- Make sure you select SQL Server as database backend
- Install Entity Framework using NuGet
- Launch Umbraco (CTRL+F5) and install uPersonal-*.zip using the Umbraco package manager. In the Umbraco backoffice, go to Developer → Packages and press Install local.
Now we have the basic setup for uPersonal. Let's create a document type for our demo.
- Go to Settings → Document Types → Create Document Type
- Name: Demo Page
- Go to Settings → Templates → Demo Page. Replace the Razor template with the following code:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.DemoPage>
@using ContentModels = Umbraco.Web.PublishedContentModels;
@{
Layout = null;
var up = uPersonal.Umbraco.uPersonalHelper.Current;
}
@if (up.IsInSegment("Developer"))
{
<p>Hello World!</p>
} else {
<p>Refresh</p>
}
We created a template that will show the text Hello World! if you are a developer. Next we will configure uPersonal to recognize you when you are a developer.
- Go to uPersonal → Model → Segments → Create segment
- Segment name: Developer
- Segment lifetime: 30 hours
- Go to uPersonal → Logic → Actions → New Actions
- Action name: Set segment - Developer
- Action type: uPersonal → Set Segment
- Segment: Developer
- Go to uPersonal → Logic → Triggers → New Trigger
- Trigger name: Trigger - Developer
- Add trigger rule
- Type: Page visit → Page of document type
- Content Type: Demo Page
- Minimum hits: 3
- Add trigger action
- Set segment - Developer
- Type: Page visit → Page of document type
We created the Developer segment and have it trigger after visiting a Demo Page document type 3 times. Let's try it out!
Go to Content → Create → Demo Page
- Name: Demo
Click the link for the Demo page
You should see some content. Refresh the page 2 more times and you should see the text Hello World! Congratulations, you triggered the rule to put yourself in the developer segment.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- ClientDependency (>= 1.9.7)
- EntityFramework.SqlServerCompact (>= 6.4.0)
- LightInject (>= 5.4.0)
- Microsoft.AspNet.Mvc (= 5.2.7)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.0.0)
- Microsoft.Owin.Security (>= 4.0.1)
- Microsoft.Owin.Security.Cookies (>= 4.0.1)
- Microsoft.Owin.Security.OAuth (>= 4.0.1)
- Newtonsoft.Json (>= 12.0.1)
- Serilog (>= 2.8.0)
- UmbracoCms (>= 8.0.0 && < 9.0.0)
- UmbracoCms.Web (>= 8.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.