Web Analytics

The Web Analytics API refers to the parameters you can add to your website links, allowing the Fresh Relevance script to read them. This includes parameters like those used by Google Analytics. The simplest and most common way to use these parameters is to track "last-click" attribution from your triggered messages. To learn more, see Last Click attribution .

You can use Web Analytics to pass information from emails and external web pages to Fresh Relevance. This API is frequently used to read codes, which are added to links by some email marketing systems. Once the data has been read into Fresh Relevance, any data loaded to ESPs can be tagged with the most recent values. It can also be used to mailmerge in triggers.

Here's an example link from a marketing email to your website, including typical Google Analytics parameters.

http://www.myco.com/myproduct/?utm_source=ET&utm_medium=Email&utm_campaign=1234&utm_content=linkcode&[email protected]

Query String Parameters

Fresh Relevance will read the query string collection and store the values as person-level attributes with the names shown in the following table.

The first column in the table is the default name on the query collection. You can change this or add additional mappings by expanding the User menu, and go to Settings > Website Settings > Query Collection Fields.

Query string parameterStored as (default mapping)Description
utm_campaigncampaign_idCampaign ID (for Google Analytics).
utm_contentlink_idID of the link clicked on the email marketing campaign (for Google Analytics).
utm_sourcesourceSource code. Commonly the name of the ESP (for Google Analytics).
utm_mediumnot stored by defaultAdvertising medium such as "email" (for Google Analytics).
campaign_idcampaign_idCampaign ID (alternative to utm_campaign).
e or esp_emailesp_emailEmail Address from the email marketing campaign. Helps identify shoppers and makes remarketing more effective.
eeesp_email_rc4Email Address from the email marketing campaign. RC4 encrypted and Base64 encoded. Helps identify shoppers and makes remarketing more effective.
reesp_email_rsaEmail Address from the email marketing campaign. RSA encrypted and Base64 encoded. Helps identify shoppers and makes remarketing more effective.
eideidUnique ID of each visitor, which is added to links by some ESPs. Helps identify shoppers . This will be used if it is mapped with a Fresh Relevance name of eid.