Last Updated on November 21, 2019
Attribution modeling is the rule, or set of rules, that determines how credit for sales and conversions is assigned to touchpoints in conversion paths. For example, the Last Interaction model in Analytics assigns 100% credit to the final touchpoints (i.e., clicks) that immediately precedes sales or conversions. In contrast, the First Interaction model assigns 100% credit to touchpoints that initiate conversion paths. Following is an example of a customer’s conversion path and how the different attribution models would attribute value:
A customer finds your site by clicking one of your AdWords ads. She returns one week later by clicking over from a social network. That same day, she comes back a third time via one of your email campaigns, and a few hours later, she returns again directly and makes a purchase.
In the Last Interaction attribution model, the last touchpoint-in this case, the Direct channel-would receive 100% of the credit for the sale.
In the Last Non-Direct Click attribution model, all direct traffic is ignored, and 100% of the credit for the sale goes to the last channel that the customer clicked through from before converting-in this case, the Email channel.
In the Last AdWords Click attribution model, the last AdWords click-in this case, the first and only click to the Paid Search channel -would receive 100% of the credit for the sale.
In the First Interaction attribution model, the first touchpoint -in this case, the Paid Search channel -would receive 100% of the credit for the sale.
In the Linear attribution model, each touchpoint in the conversion path -in this case the Paid Search, Social Network, Email, and Direct channels–would share equal credit (25% each) for the sale.
In the Time Decay attribution model, the touchpoints closest in time to the sale or conversion get most of the credit. In this particular sale, the Direct and Email channels would receive the most credit because the customer interacted with them within a few hours of conversion. The Social Network channel would receive less credit than either the Direct or Email channels. Since the Paid Search interaction occurred one week earlier, this channel would receive significantly less credit.
In the Position Based attribution model, 40% credit is assigned to each the first and last interaction, and the remaining 20% credit is distributed evenly to the middle interactions. In this example, the Paid Search and Direct channels would each receive 40% credit, while the Social Network and Email channels would each receive 10% credit.
In order to know what is best for the client, you may need to sit down with them and discuss the different attribution models, their goals, and how they would like to see the data.
Last Interaction If your ads and campaigns are designed to attract people at the moment of purchase, or your business is primarily transactional with a sales cycle that does not involve a consideration phase, the Last Interaction model may be appropriate.
Last Non-Direct Click Because the Last Non-Direct Click model is the default model used for non-Multi-channel Funnels reports, it provides a useful benchmark to compare with results from other models. In addition, if you consider direct traffic to be from customers who have already been won through a different channel, then you may wish to filter out direct traffic and focus on the last marketing activity before conversion.
Last AdWords Click If you want to identify and credit the AdWords ads that closed the most conversions, use the Last AdWords Click model.
First Interaction This model is appropriate if you run ads or campaigns to create initial awareness. For example, if your brand is not well known, you may place a premium on the keywords or channels that first exposed customers to the brand.
Linear This model is useful if your campaigns are designed to maintain contact and awareness with the customer throughout the entire sales cycle. In this case, each touchpoint is equally important during the consideration process.
Time Decay If you run one-day or two-day promotion campaigns, you may wish to give more credit to interactions during the days of the promotion. In this case, interactions that occurred one week before have only a small value as compared to touchpoints near the conversion.
Position Based If you most value touchpoints that introduced customers to your brand and final touchpoints that resulted in sales,use the Position Based model.
How a web session is defined in Analytics
A session is a group of user interactions with your website that takes place within a given time frame. You can think of a session as the container for all the actions that a user takes on your site.

One user can create multiple sessions in a day, over several days, weeks, or months. As soon as one session ends another session can begin. There are two ways a session can end:
- Time-based expiration:
- After 30 minutes of inactivity
- At midnight
- Campaign change:
- If a user arrives via one campaign, leaves, and then comes back via a different campaign
Time-based expiration
3o minutes of inactivity
A session lasts until there are 30 minutes of inactivity. You can adjust the time limit so a session lasts from a few seconds to several hours.
If Bill comes to the site, every time he interacts with the site in any way Analytics resets the expiration time by adding an additional 30 minutes from the time of that interaction.
Below is an example of Bill’s interactions with a website:

After event 2, the session expiry is set to 14:34.
On view 1 the session is set to expire at 14:31, but as Bill continues through the site, each additional interaction moves the expiry ahead 30 minutes.
If Bill leaves a page open while taking a 31-minute lunch break, then returns to continue browsing, Analytics sets a new 30-minute expiry and a new session begins. The page Bill is on when he comes back after his break is the landing page for the new session.

End of day expiry
Bill opens your website at 11:50 PM on the 14th of August and leaves your website at 12:10 AM on the 15th of August.
The first session ends at 11:59:59 PM on the 14th of August, and the second sessions begins at 12:00 AM on the 15th of August.
End of day is determined by your view timezone settings.
Campaign based expiration
Every time a user’s campaign source changes, Analytics opens a new session. Even if an existing session is still open if the campaign source changes mid-session the first session is closed and a new session is opened.
Let’s say Bill opens your website in the following order:

In the example above, Bill first arrives at the website via the Google organic keyword Red Widgets, then later returns via the Google paid keyword Blue Widgets.
Each search term updates the campaign, so each keyword corresponds to a new session.
What causes updates to the campaign?
Generally speaking, the campaign updates anytime the user arrives at your site via a search engine, referring website, or campaign-tagged URL. Direct traffic, however, never updates or replaces an existing campaign source such as a search engine, referring site, or campaign-tagged information.
Google Ads autotagging
In the case of Google Ads autotagging, each click generates a unique campaign value (a gclid value). Because each click has its own gclid value, each click is treated as a separate campaign and creates a new session.
Referrals
A new campaign is created every time a user clicks a link to your site from a referring site.
If Bob visits a.com and clicks a link to your site, he starts a session attributed to a referral from a.com. If he immediately visits b.com and clicks a link to your site, he starts a new session attributed to a referral from b.com.
You can use referral exclusions to prevent referrals from specific sites from creating new sessions.
Campaign Tags
The best practice is to use autotagging instead of manual campaign tags, but let’s assume that you manually tagged your Google Ads campaigns with a destination URL like this:
http://www.example.com/?utm_source=google&utm_medium=cpc&utm_campaign=camp1&utm_term=keyword&utm_content=content
Bob clicks your ad, which registers a new session for the first click. However, unlike autotagging, where multiple clicks on the ad can generate multiple corresponding sessions, manually tagged campaign parameter values remain the same for every click so the campaign isn’t updated for each click. This makes it possible to have multiple ad clicks and only one session.
If you advertise on third-party ad networks and use manual campaign tags, you should be aware that each click from a single user on those networks might not generate a corresponding session (if additional clicks happen within the 30-minute time frame). This is a common cause of data discrepancies between Analytics and other product reporting.
Direct traffic
Finally, a quick word about direct traffic in Analytics. Direct as a campaign source never overrides an existing known campaign source like a search engine, referral, or campaign source would.
Direct traffic that interacts with your content within the 30-minute session window has the same effect as leaving your website for less than 30 minutes. The existing session opens and continues from where it left off.
