SugarCRM SupportProduct GuidesSugar MarketSugar Market User GuideSugar Market Web Tracking
Sugar Market was formerly known as Salesfusion.

Sugar Market Web Tracking

Overview

Sugar Market web tracking provides valuable insight into your marketing campaigns, including real-time details on visits to your website. This page describes how to use Sugar Market's Web Tracker and how to configure web tracking.

Using Web Tracker

The Web Tracker provides real-time information on visitors to your website, including specific activities. Web activity is shown here for all pages where you have added the Sugar Market web tracking script.

Accessing Web Tracker

To access Web Tracker, navigate to Analyze > Web Tracker.
SM UG Webtrack menu

The Web Activity page displays with the following information:

  • Web ID: Unique, internal identifier.
  • Organization Name: The company/organization name that is visiting the website.
  • Email: The email address of the visitor, if known.
  • Session Start: Date and time when the session started.
  • Keyword: The search terms that were used to find the website.
  • Source: Location where the web visit originated (e.g. organic, email, paid search, etc.).
  • City: The city where the visitor is located.
  • Region: The region where the visitor is located.
  • Country: The country where the visitor is located.

SM UG Webtrack tracker

Filtering Web Activity

Click the Filter button at the top right of the page to narrow web activity results based on the following criteria:

tracker filter popup

To view the currently applied filter criteria, click the Filter Details tab at the top of the page. 

You can also filter web activity by clicking on the individual filters under the headings.  Enter a search term, click the filter icon, and then select the parameter to be applied to the term (e.g. contains).
SM Webtrack filter

Viewing Web Activity Details

There are several actions you can take on web tracking activity. These actions, described below, are available in the dropdown menu next to each activity line.

SM Webtrack actions

Viewing Sugar Market Records

You can view Sugar Market records that are linked to the web activity by selecting one of the following options from the Actions menu:

  • Open Account: Links directly to the Account record in Sugar Market. 
  • Open Contact: Links directly to the Contact Card in Sugar Market if the web activity shows a known contact (has an email address). 
  • Quick Account: Opens a pop-up window with a quick view of the Account information without leaving the Tracker page.
  • Quick Contact: Opens a pop-up window with a quick view of the Contact information without leaving the Tracker page.

Viewing Web Hit Detail

Drill into the web activity with the following options from the Actions menu:

  • Show Detail: Opens a pop-up window with a detailed section of all the web activity for the given session, including the ISP, IP address, location information, operating system, referrer, and actual query string. 
  • Identify: Displays the web activity ID, organization name, ISP, IP address, and allows you to enter a new organization name. If you choose to create a new organization, enter the name and then click the Create button.
  • Tag User: Allows you to identify the user who visited your site via tags. For example, if you ask a prospect to go to certain pages of your website and see them come up in the Web Tracker, select the Tag User option to open the Tag User pop-up window. Enter the user's email address, and then click the Tag User button. The user has now been tagged and will be identified on future web hits.

Viewing Page Details

Page Details opens a pop-up window with the following page visit information for that session:

  • Interaction Date: When the user was on the page.
  • Title: The title of the page visited.
  • Hostname:  The host domain.
  • Path: The specific path to the page (this is the part that comes after the host name).
  • Parameters: Information from the query string.
  • Duration: Session length of time in seconds. Zeros in the duration field indicate the web session is still active. The duration default to 180 seconds if a user only touches a single page. The default is 60 seconds for the last page a user touches.

Sharing Web Activity

Email Activity opens a pop-up window where you can compose an email alert related to the web activity. Enter a subject line for the alert and optionally add your own email address as a "cc" on the email and a message. Enter the email address(es) for the alert, and then click the Forward Web Activity button.

Configuring Web Tracking

The remainder of this page refers to setup information that typically occurs during your customer onboarding, but is included here for your reference.

To allow Sugar Market to track the accounts and contacts that browse your site, you need to paste the Sugar Market web tracking code into a common header or footer in the raw HTML of your website. The web tracking code is a simple JavaScript code that is unique to your Sugar Market account. This section includes the following setup information for web tracking in Sugar Market:

Enabling Web Tracking

Enable web tracking by copying your unique Sugar Market web tracking code into your website's header or footer.

To enable web tracking:

  1. Navigate to User menu >  Administration View.
    Configuration
  2. In the Administrator > General section, select "Web Tracking Code".
    webtracking
  3. Click the Web Tracking Code button, and then copy the code from the text box to your system clipboard.
    webtracking2
  4. Paste the code into the raw HTML of a common header or footer on your website.
  5. Save and publish your website.

Setting Up Web Analytics Categories

A Web Analytics Category is a customized version of your web tracking code. It is used to track sub-sites or separate categories on your site where you want the page hits to be identified separately (e.g. a separate blog or two different brands you want to track separately). Pages tracked under a web analytics category are tagged with a unique ID in the web analytics category when you create a custom report using the "Subsite" field on the Web Activity Table

To set up web analytics categories:

  1. Navigate to User menu > Administration View.
    Configuration
  2. In the Administrator > General section, select "Web Analytics Category".
    SM Admin webtrack menu2
  3. Click the New button at the top right to create a new category.
    SM UG Admin webcat new
  4. Type a name and description for the new category, and then click the Save button. The new category populates the list of web analytics categories.
  5. From the Action menu next to the new category, select "Script".
    SM Admin webcat script
  6. Copy the code from the text box to your system clipboard.
  7. Paste the code into the raw HTML of a common header or footer on each page of your website to be included in the web analytics category.
  8. Save and publish your website.

Dynamically Loading Your Web Tracking Script

To adhere to GDPR regulations, configure your website to conditionally load the Sugar Market tracking script only in response to a visitor's interaction with the page. This prevents the web tracking script from being loaded until an action occurs to which you can attach the script. Example interactions that can conditionally load the script include when a user:

  • Clicks a specific button on the page
  • Selects a checkbox
  • Selects a checkbox and clicks a button

There are a number of visitor actions to utilize, but we highly recommend you consult with your own development team on how to conditionally load this script within all pages on your website where it is used.

Disclaimer: The following is just a suggested example of dynamically loading external scripts on your page. The correct implementation of this will ultimately depend on the decision that you and your development team have made. Therefore, the example below should not be interpreted as the only solution.

To run external JavaScript code on your page based on specific actions, such as user consent, you need to dynamically load the script on your page. In an external JavaScript file or in an inline style block on your page, embed the code that will dynamically load the external script on the page.

Loading external JavaScript function:

Function for externally loading a javascript function

You can then implement this method based on a user-specific action in your code:

WebtrackingCode3.png

Note: If your website is hosted on a Wordpress-based site, there are a few cookie consent plug-ins that could serve as an alternative method of implementing a dynamic script.

Updating Web Tracking Script with a CNAME

While we recommend using a CNAME for your cookie server, it could cause loss of data if this is done after your initial setup. For example, if you have used msgapp.com for the tracking script on your website, Sugar Market will cookie your recipients with this domain. Cookies cannot go across different domains, so if you were to update your CNAMEs to customer.com, for example, Sugar Market will cookie on customer.com instead, and all previous cookies on msgapp.com would be lost.

Last modified: 2021-07-14 21:48:29