| { |
| "source": { |
| "itemId": "CMSServer", |
| "itemType": "custom", |
| "scope": "acme", |
| "properties": {} |
| }, |
| "requireSegments": true, |
| "requiredProfileProperties": [ |
| "unomiControlGroups" |
| ], |
| "requiredSessionProperties": [ |
| "unomiControlGroups" |
| ], |
| "personalizations": [ |
| { |
| "id": "perso1", |
| "strategy": "score-sorted", |
| "strategyOptions": { |
| "threshold": -1, |
| "controlGroup" : { |
| "percentage" : 100.0, |
| "displayName" : "First perso", |
| "path" : "/home/perso1.html", |
| "storeInSession" : ###storeInSession### |
| } |
| }, |
| "contents": [ |
| { |
| "id": "perso1content1", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ], |
| "properties": { |
| "interests": "health food" |
| } |
| }, |
| { |
| "id": "perso1content2", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/contactus.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content3", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/documentation.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content4", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/aboutus.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content5", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/products.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content6", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/services.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content7", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/community.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content8", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/projects.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content9", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/home.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content10", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/theend.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| } |
| ] |
| }, |
| { |
| "id": "perso2", |
| "strategy": "score-sorted", |
| "strategyOptions": { |
| "threshold": -1 |
| }, |
| "contents": [ |
| { |
| "id": "perso2content1", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ], |
| "properties": { |
| "interests": "health food" |
| } |
| }, |
| { |
| "id": "perso2content2", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/contactus.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso1content3", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/documentation.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content4", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/aboutus.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content5", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/products.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content6", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/services.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content7", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/community.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content8", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/projects.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content9", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/home.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| }, |
| { |
| "id": "perso2content10", |
| "filters": [ |
| { |
| "condition": { |
| "parameterValues": { |
| "minimumEventCount": 1, |
| "eventCondition": { |
| "type": "booleanCondition", |
| "parameterValues": { |
| "operator": "and", |
| "subConditions" : [ |
| { |
| "type": "eventTypeCondition", |
| "parameterValues": { |
| "eventTypeId": "view" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.pagePath", |
| "propertyValue": "/theend.html", |
| "comparisonOperator": "equals" |
| } |
| }, |
| { |
| "type": "eventPropertyCondition", |
| "parameterValues": { |
| "propertyName": "target.properties.pageInfo.language", |
| "propertyValue": "en", |
| "comparisonOperator": "equals" |
| } |
| } |
| ] |
| } |
| }, |
| "numberOfDays": 30 |
| }, |
| "type": "pastEventCondition" |
| }, |
| "properties": { |
| "score": -1000 |
| } |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "sessionId": "test-session-id" |
| } |