UtmParameters

Struct

Parameters conveying information about the source of traffic to a page. See: Google Analytics UTM reference

structs::models::UtmParameters

Parameters conveying information about the source of traffic to a page. See: Google Analytics UTM reference

Fields

Source: strsource

The source of the traffic. e.g., google or newsletter. Max length: 128 characters. Sample query parameter: utm_source=google

Medium: strsource

The type of channel where the traffic came from. e.g., cpc or email. Max length: 128 characters. Sample query parameter: utm_medium=cpc

Campaign: strsource

The name of the campaign. e.g., holdings_irr. Max length: 128 characters. Sample query parameter: utm_campaign=holdings_irr

optionalTerm: Setsource

The search keywords. e.g., carta. Max size: 32 keywords. Max length per keyword: 32 characters. Sample query parameter: utm_term=carta

optionalContent: strsource

The specfic piece of content that was clicked. e.g., cta_button. Useful if you have multiple links to the same URL in a same campaign. Max length: 128 characters. Sample query parameter: utm_content=cta_button

Referenced by