Attribution
Send your event data from RudderStack to Attribution.
Attribution is a marketing analytics platform that provides single and multi-touch attribution. It offers the ability to view your true marketing ROI, understand your marketing funnel and view your full customer paths. Additionally, Attribution offers a Data Export feature to let you export all raw data related to campaigns and visitors for your Data Science team to analyze and unlock trends.
RudderStack supports Attribution as a destination to which you can seamlessly send your customer data.
Find the open source transformer code for this destination in the GitHub repository.
Connection compatibility
Destination info |
---|
- Status: Generally Available
- Supported sources:
Android,
iOS
,
Web,
Unity,
AMP
,
Cloud,
React Native
,
Warehouse,
Flutter,
Cordova,
Shopify
- Refer to it as ATTRIBUTION in the Integrations object.
|
Connection modes
|
---|
Source | Cloud mode | Device mode | Hybrid mode |
---|
AMP | | | |
Android | | | |
Cloud | | | |
Cordova | | | |
Flutter | | | |
iOS | | | |
React Native | | | |
Shopify | | | |
Unity | | | |
Warehouse | | | |
Web | | | |
Supported message types |
---|
Source | Identify | Page | Track | Screen | Group | Alias |
---|
Cloud mode |
---|
Supported sources | | | | | | |
Get started
Once you have confirmed that the source platform supports sending events to Attribution, follow these steps:
- From your RudderStack dashboard, add a source. Then, from the list of destinations, select Attribution.
- Assign a name to the destination and click Continue.
- Select the data source and click Next.
- Enter your Attribution Project key to configure the destination.
For more information on getting your Attribution project key, refer to the
FAQ section below.
Your Attribution destination is now configured and enabled in RudderStack.
Identify
The identify
call lets you associate a visiting user to their actions. It also lets you record the traits about them like their name, email address, etc.
As a best practice, make sure that the identify
call is made at the start of every session or page load for logged-in users. This will ensure all latest user traits are captured.
A sample identify
call is as shown:
rudderanalytics.identify("userid", {
name: "Alex Keener",
email: "alex@example.com",
phone: "+1-202-555-0146",
birthday: "01/24/1982",
gender: "Male",
avatar: "https://www.gravatar.com/avatar/alex",
title: "Mr",
})
Track
The track
call lets you capture user events along with the properties associated with them.
A sample track
call is as shown:
rudderanalytics.track("Order Completed", {
revenue: 77.6,
})
Page
The page
call lets you record your website’s page views with any additional relevant information about the viewed page.
A sample page
call is as shown:
rudderanalytics.page("Cart", "Cart Viewed", {
path: "/cart",
referrer: "test.com",
search: "term",
title: "test_item",
url: "http://test.in",
})
Group
The group
call lets you link an identified user with a group such as a company, organization, or an account. It also lets you record any custom traits associated with that group like the name of the company, number of employees, etc.
A sample group
call is as shown:
rudderanalytics.group("sample-group-id", {
name: "Example Company",
employees: 1000,
industry: "Software",
});
Alias
The alias
call lets you merge different identities of a known user.
A sample alias
call is as shown:
rudderanalytics.alias("to", "from", options, callback)
The above alias
call has the following parameters:
Parameter | Presence | Description |
---|
to | Required | Denotes the new identifier |
from | Optional | Denotes the old identifier which will be an alias for the to parameter. If not provided, the SDK will populate this as the currently identified userId , or anonymousId in case of anonymous users. |
options | Optional | This dictionary provides additional context to the event payload. |
callback | Optional | This function gets executed after successful execution of the alias() method. |
FAQ
How do I get the Attribution Project Key?
To get the Attribution Project Key, follow these steps:
- Go to your Attribution dashboard.
- Navigate to Settings and copy the Attribution Project ID associated with your project.
Questions? Contact us by email or on
Slack