Hello João, It seems this is a limitation of the web tracker implementation. If you look at this code here in the fillPageData it only copies some of the data:
https://github.com/apache/unomi/blob/a068e0242f50bc7f46a62e0020cf5ce3728c1396/extensions/web-tracker/javascript/src/analytics.js-integration-apache-unomi.js Unomi.prototype.fillPageData = function(unomiPage, props) { unomiPage.attributes = []; unomiPage.consentTypes = []; unomiPage.interests = props.interests || {}; unomiPage.pageInfo = extend({}, unomiPage.pageInfo, props.pageInfo); unomiPage.pageInfo.pageName = unomiPage.pageInfo.pageName || props.title; unomiPage.pageInfo.pageID = unomiPage.pageInfo.pageID || props.path; unomiPage.pageInfo.pagePath = unomiPage.pageInfo.pagePath || props.path; unomiPage.pageInfo.destinationURL = unomiPage.pageInfo.destinationURL || props.url; unomiPage.pageInfo.referringURL = unomiPage.pageInfo.referringURL || props. referrer; this.processReferrer(); }; I agree this is not ideal and should be made more generic. Feel free to submit a PR if you want. Regards, Serge... Serge Huber CTO & Co-Founder T +41 22 361 3424 9 route des Jeunes | 1227 Acacias | Switzerland jahia.com <http://www.jahia.com/> SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER <https://twitter.com/sergehuber> | VCARD <http://www.jahia.com/vcard/HuberSerge.vcf> > JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained and to discover why Jahia is a leading User Experience Platform (UXP) for Digital Transformation. On Thu, Dec 5, 2019 at 7:07 PM João Correia <joao.corr...@gmail.com> wrote: > Hi Unomiers, > > Im looking to enrich a profile with some properties like CompanyDomain, > Employees and others. Im trying to do this with the JS tracker by sending a > pageview with properties but they aren't showing up on Unomi. > > I'm sending this: > > path = "/cb"; > properties = { > path: path, > attributes : ["test1"], > pageInfo: { > destinationURL: location.href, > tags : [ "tag1", "tag2", "tag3"], > categories : ["category1", "category2", "category3"], > }, > interests : { > "interest1" : 1 > ,"interest2" : 2 > ,"interest3" : 3 > }, > attributes: [ "testattribute" ], > properties : { > "CompanyDomain": "Igloo Analytics" > ,"CompanyEmployees" : "1-10" > } > }; > > //console.log(properties); > window.unomiTracker.page(properties); > > In the profile I see the event below. > Why aren't the properties I sent showing up? Any ideas? > > { > "itemId": "c600f6c5-ed0d-438f-bd29-5a2ac744446b", > "itemType": "event", > "scope": "aaa", > "version": 1, > "eventType": "view", > "sessionId": "44ca434d-35ce-5c14-a9bc-35cac9fe943c", > "profileId": "30ba35a2-c7cb-42d9-a58c-5569ab2d34ec", > "timeStamp": "2019-12-05T18:02:44Z", > "properties": {}, > "source": { > "itemId": "aaa", > "itemType": "site", > "scope": "aaa", > "version": null, > "properties": {} > }, > "target": { > "itemId": "/cb", > "itemType": "page", > "scope": "aaa", > "version": null, > "properties": { > "attributes": [], > "consentTypes": [], > "interests": { > "interest1": 1, > "interest3": 3, > "interest2": 2 > }, > "pageInfo": { > "destinationURL": "https://www.xxxxx.com/", > "categories": [ > "category1", > "category2", > "category3" > ], > "pageID": "/cb", > "pagePath": "/cb", > "pageName": "xxx: xxxxxxxxxxxx", > "tags": [ > "tag1", > "tag2", > "tag3" > ], > "referringURL": "" > } > } > }, > "persistent": true > } > > > > > Thanks > Joao Correia > -- > > *João Correia* > > San Diego, CA > mobile: +1 (858) 284-6010 > web: https://joaocorreia.io > > > > > > > > > > > > >