{"_id":"59cd5cd89d0a130010f20f34","project":"560c93ad7e9b9d0d00ca81a2","version":{"_id":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","__v":9,"createdAt":"2015-10-01T02:00:14.709Z","releaseDate":"2015-10-01T02:00:14.709Z","categories":["560c93af7e9b9d0d00ca81a6","560c9d9399bb5a0d0044f220","560d76d899bb5a0d0044f307","560d76ee1ec45619006069ed","560d86e099bb5a0d0044f32e","560dba80373c0e0d0024ff3b","57c722ecdf19130e001fba5d","57c743d1b6f94a2200659903","58995ec083f743190077bbe2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"560dba80373c0e0d0024ff3b","pages":["560dbc6677c8940d001c3bcd","560dbc768e6f870d004e3e6a","560f171e83e4100d00a9851f","56a1574444f3d80d00a2c398"],"project":"560c93ad7e9b9d0d00ca81a2","version":"560c93ae7e9b9d0d00ca81a5","__v":4,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-01T22:58:08.137Z","from_sync":false,"order":2,"slug":"setup-guides","title":"Alternate Event and Revenue Tracking"},"user":"560c92f2ac2859170013faa3","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-09-28T20:34:32.600Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"If you have Salesforce, you can now connect Attribution and see your Return on Ad Spend for each of your pipeline stages.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Salesforce Attribution Connector Requirements\"\n}\n[/block]\n**REST API ACCESS**\n\nYour Salesforce edition must have REST API Access enabled that includes: Enterprise Edition, Unlimited Edition, Developer Edition or Performance Edition.\n\n**ENABLE LEAD TRACKING**\n\nAttribution checks for Lead's status and tracks them as events.\n\nNOTE: In order for Lead tracking to work you must enable Lead Status History in Salesforce (Setup → Objects and Fields → Object Manager → Lead → Fields & Relationships → Set History Tracking finally check \"Enable Lead History\", check \"Lead Status\" and click \"Save\").\n\nOPPORTUNITY TRACKING\n\nYour Salesforce Opportunities will be automatically tracked and every Opportunity Status change is reflected as event in Attribution. If an Opportunity has status Closed/Won and has an amount, it will be tracked as Revenue in Attribution (for calculating Return on Ad Spend and Lifetime-Value)\n[block:api-header]\n{\n  \"title\": \"Setting Up Attribution for Salesforce\"\n}\n[/block]\n**Note: Salesforce integration requires that you identify() users with email attribute set and matching your Salesforce lead or account email.** Be sure you have completed the [getting started steps](https://docs.attributionapp.com/docs/getting-started) before you connect your Salesforce account.\n\nThis includes 1. Placing the Tracking Code and 2. Identifying Users.\n\nStep 1: Sign into Attribution and Visit the [Settings](https://dashboard.attributionapp.com/#!/settings/integrations) Page.  Then scroll down and click the \"Connect to Salesforce\" button.\n\nStep 2: Sign into Salesforce with your account credentials.  Note, you are signing in directly on the Salesforce site, and if you have 2-factor authentication enabled, you will have to complete that step as well.\n\nStep 3.  You're all set!  You should now see the confirmation dialog.  Just click finish!\n\nIt will take about 15 minutes for your new Salesforce events to start populating in the dashboard.","excerpt":"Attribution has created a Salesforce connector that easily allows you to add Leads and Opportunity Stages including Closed/Won) as conversion events, along with reported revenue.","slug":"salesforce-attribution","type":"basic","title":"Salesforce Attribution"}

Salesforce Attribution

Attribution has created a Salesforce connector that easily allows you to add Leads and Opportunity Stages including Closed/Won) as conversion events, along with reported revenue.

If you have Salesforce, you can now connect Attribution and see your Return on Ad Spend for each of your pipeline stages. [block:api-header] { "type": "basic", "title": "Salesforce Attribution Connector Requirements" } [/block] **REST API ACCESS** Your Salesforce edition must have REST API Access enabled that includes: Enterprise Edition, Unlimited Edition, Developer Edition or Performance Edition. **ENABLE LEAD TRACKING** Attribution checks for Lead's status and tracks them as events. NOTE: In order for Lead tracking to work you must enable Lead Status History in Salesforce (Setup → Objects and Fields → Object Manager → Lead → Fields & Relationships → Set History Tracking finally check "Enable Lead History", check "Lead Status" and click "Save"). OPPORTUNITY TRACKING Your Salesforce Opportunities will be automatically tracked and every Opportunity Status change is reflected as event in Attribution. If an Opportunity has status Closed/Won and has an amount, it will be tracked as Revenue in Attribution (for calculating Return on Ad Spend and Lifetime-Value) [block:api-header] { "title": "Setting Up Attribution for Salesforce" } [/block] **Note: Salesforce integration requires that you identify() users with email attribute set and matching your Salesforce lead or account email.** Be sure you have completed the [getting started steps](https://docs.attributionapp.com/docs/getting-started) before you connect your Salesforce account. This includes 1. Placing the Tracking Code and 2. Identifying Users. Step 1: Sign into Attribution and Visit the [Settings](https://dashboard.attributionapp.com/#!/settings/integrations) Page. Then scroll down and click the "Connect to Salesforce" button. Step 2: Sign into Salesforce with your account credentials. Note, you are signing in directly on the Salesforce site, and if you have 2-factor authentication enabled, you will have to complete that step as well. Step 3. You're all set! You should now see the confirmation dialog. Just click finish! It will take about 15 minutes for your new Salesforce events to start populating in the dashboard.