Traffic Sources - Dimensions & Metrics Reference

This reference document lists and describes all the dimensions and metrics available through the Real Time Reporting API.

Dimensions

rt:referralPath

The path of the referring URL (e.g. document.referrer). If someone places a link to your property on their website, this element contains the path of the page that contains the referring link. This value is only set when rt:medium=referral.


rt:campaign

For manual campaign tracking, it is the value of the utm_campaign campaign tracking parameter. Otherwise, its value is (not set).


rt:source

The source of referrals to your property. When using manual campaign tracking, the value of the utm_source campaign tracking parameter. When using Google Ads autotagging, the value is google. Otherwise the domain of the source referring the user to your property (e.g. document.referrer). The value may also contain a port address. If the user arrived without a referrer, the value is (direct).


rt:medium

The type of referrals to your property. When using manual campaign tracking, the value of the utm_medium campaign tracking parameter. When using Google Ads autotagging, the value is ppc. If the user comes from a search engine detected by Google Analytics, the value is organic. If the referrer is not a search engine, the value is referral. If the user came directly to the property, and document.referrer is empty, the value is (direct).


rt:trafficType

This dimension is similar to rt:medium for constant values such as organic, referral, direct, etc. It is different for custom referral types. As an example, if you add the utm_campaign parameter to your URL with value email, rt:medium will be email but rt:trafficType will be custom.


rt:keyword

For manual campaign tracking, it is the value of the utm_term campaign tracking parameter. Otherwise, its value is (not set).