{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Company based Attribution","type":"basic","slug":"company-based-attribution","excerpt":"See return on ad spend on a company level rather than individual","body":"In certain cases it may be more relevant to your team to see return on ad spend on a company rather than individual level. \n\nFor example, you may have one visitor sign up for a trial, then another may come back later to make the first payment. This is a common case with SaaS software where an intern may investigate a tool, but the admin has the final say. \n\nIn this case this conversion should be summed up to the company level rather than individual per user.\n\nThe screenshot below shows company based Attribution, where the spend, visits and conversions of the two users **Info:::at:::sky** and **Matthew** are summed into one company **Sky**\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/c9d1ac7-Screen_Shot_2021-02-10_at_7.41.17_PM.png\",\n        \"Screen Shot 2021-02-10 at 7.41.17 PM.png\",\n        480,\n        645,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nNote: company based attribution is a paid feature \n[block:api-header]\n{\n  \"title\": \"Adjusting Identify() to acknowledge companyId\"\n}\n[/block]\nTo begin using Company Based Attribution you must adjust your identify() calls to include a unique companyId parameter. \n\nThis can be anything you choose, but it must be unique as it will be used to tie visitors together. \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Attribution.identify('your_userid_here', { \\n  email: '[email protected]',\\n  firstName: 'Konstantin',\\n  CompanyId: '00812938', // this is how visitors will be tied together\\n  lastName: 'Pats',\\n  createdAt: new Date() // Note: Only do this once or specify exact datetime\\n});\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\nIn the example above the companyId 00812938 would be unique to the ee.com company and all visitors from that company would share this unique companyId.\n\nIf you have questions please feel free to reach out to [email protected]","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"60006299323cc1007368fa97","createdAt":"2021-01-14T15:26:17.107Z","user":"560c92f2ac2859170013faa3","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"FAQ when installing","slug":"faq-when-installing","order":2,"from_sync":false,"reference":false,"_id":"600060c72dcd9d002fa13656","createdAt":"2021-01-14T15:18:31.879Z","version":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","__v":0},"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["560c93af7e9b9d0d00ca81a6","560c9d9399bb5a0d0044f220","560d76d899bb5a0d0044f307","560d76ee1ec45619006069ed","560d86e099bb5a0d0044f32e","560dba80373c0e0d0024ff3b","57c722ecdf19130e001fba5d","57c743d1b6f94a2200659903","58995ec083f743190077bbe2","5fabfb070e9b0600424707dd","60004359deee820012dc1efc","600060c72dcd9d002fa13656","6001ac08c104fe002b933b7c","6009604d81b288001417df30","60097b7be8ec1e00334419f6","600aa98de28fae003a33108a","600aa9ee7d3e350018e7d6e4","601176819ca8c90011cfe6ac","606eef795bb7ed00790e9e68","609bf103a1334800624b7541"],"_id":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","createdAt":"2015-10-01T02:00:14.709Z","releaseDate":"2015-10-01T02:00:14.709Z","__v":20},"project":"560c93ad7e9b9d0d00ca81a2","__v":0,"parentDoc":null}

Company based Attribution

See return on ad spend on a company level rather than individual

In certain cases it may be more relevant to your team to see return on ad spend on a company rather than individual level. For example, you may have one visitor sign up for a trial, then another may come back later to make the first payment. This is a common case with SaaS software where an intern may investigate a tool, but the admin has the final say. In this case this conversion should be summed up to the company level rather than individual per user. The screenshot below shows company based Attribution, where the spend, visits and conversions of the two users **[email protected]** and **Matthew** are summed into one company **Sky** [block:image] { "images": [ { "image": [ "https://files.readme.io/c9d1ac7-Screen_Shot_2021-02-10_at_7.41.17_PM.png", "Screen Shot 2021-02-10 at 7.41.17 PM.png", 480, 645, "#333" ] } ] } [/block] Note: company based attribution is a paid feature [block:api-header] { "title": "Adjusting Identify() to acknowledge companyId" } [/block] To begin using Company Based Attribution you must adjust your identify() calls to include a unique companyId parameter. This can be anything you choose, but it must be unique as it will be used to tie visitors together. [block:code] { "codes": [ { "code": "Attribution.identify('your_userid_here', { \n email: '[email protected]',\n firstName: 'Konstantin',\n CompanyId: '00812938', // this is how visitors will be tied together\n lastName: 'Pats',\n createdAt: new Date() // Note: Only do this once or specify exact datetime\n});", "language": "javascript" } ] } [/block] In the example above the companyId 00812938 would be unique to the ee.com company and all visitors from that company would share this unique companyId. If you have questions please feel free to reach out to [email protected]