Apache Unomi 2.x - Documentation
if (unomiWebTracker.getCookie(unomiTrackerTestConf.wemInitConfig.trackerSessionIdCookieName) == null) { unomiWebTracker.setCookie(unomiTrackerTestConf.wemInitConfig.trackerSessionIdCookieName if (unomiWebTracker.getCookie(unomiTrackerTestConf.wemInitConfig.trackerSessionIdCookieName) == null) { unomiWebTracker.setCookie(unomiTrackerTestConf.wemInitConfig.trackerSessionIdCookieName "type": ["null", "string"] }, "lastName": { "type": ["null", "string"] }, "email": { "type": ["null", "string"]0 码力 | 117 页 | 4.78 MB | 1 年前3Apache Unomi 1.x - Documentation
"itemId" : "/tracker/", "itemType" : "page", "scope" : "realEstateManager", "version" : null, "properties" : { "pageInfo" : { "destinationURL" : "http://localhost:8181/tracker/ : "testFormTracking", "itemType" : "form", "scope" : "realEstateManager", "version" : null, "properties" : { } }, "persistent" : true } You can see in this event that the form values application/json" \ -d @- << EOF { "itemId": "form-mapping-example", "itemType": "rule", "linkedItems": null, "raiseEventOnlyOnceForProfile": false, "raiseEventOnlyOnceForSession": false, "priority": -10 码力 | 158 页 | 3.65 MB | 1 年前3Apache Unomi 1.1.x - Documentation
tweetedFrom = (List) profile.getProperty(TWEETED_FROM_PROPERTY); if (tweetNb == null || tweetedFrom == null) { // create tweet number property type PropertyType propertyType = new PropertyType(new setProperty(TWEET_NB_PROPERTY, tweetNb + 1); final String sourceURL = extractSourceURL(event); if (sourceURL != null) { tweetedFrom.add(sourceURL); } profile.setProperty(TWEETED_FROM_PROPERTY, tweetedFrom); return url = (String) source.getProperties().get("url"); if (url != null) { return url; } } return null; } 2.4. CONCLUSION We have seen a simple example how to interact with 0 码力 | 32 页 | 477.20 KB | 1 年前3
共 3 条
- 1