uPersonal.Umbraco7 1.9.1

Additional Details

Trigger bug. please use later version

There is a newer version of this package available.
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                
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="uPersonal.Umbraco7" Version="1.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add uPersonal.Umbraco7 --version 1.9.1                
#r "nuget: uPersonal.Umbraco7, 1.9.1"                
#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 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

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 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. 
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.9.5 462 4/30/2021
1.9.3 319 3/19/2021
1.9.2 359 3/16/2021
1.9.1 417 3/16/2021 1.9.1 is deprecated because it has critical bugs.