uPersonal.Umbraco7
1.9.1
Trigger bug. please use later version
See the version list below for details.
dotnet add package uPersonal.Umbraco7 --version 1.9.1
NuGet\Install-Package uPersonal.Umbraco7 -Version 1.9.1
<PackageReference Include="uPersonal.Umbraco7" Version="1.9.1" />
paket add uPersonal.Umbraco7 --version 1.9.1
#r "nuget: uPersonal.Umbraco7, 1.9.1"
// Install uPersonal.Umbraco7 as a Cake Addin #addin nuget:?package=uPersonal.Umbraco7&version=1.9.1 // Install uPersonal.Umbraco7 as a Cake Tool #tool nuget:?package=uPersonal.Umbraco7&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 | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- EntityFramework.SqlServerCompact (>= 6.4.0)
- UmbracoCms (>= 7.0.0 && < 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.