Web Tracking is a powerful feature of Higher Logic Thrive Marketing Professional (Thrive Marketing Professional) that your organization can use to better understand how users visit and use your site. With it, you can:
- send targeted email messages to your users based on their activity and
- build Target Groups to feed your campaigns based on how your subscribers interact with your site.
NOTE: Web Tracking is very similar to Google Analytics (and it peacefully coexists with it), and allows you to harness Google Analytics data for your digital-marketing efforts.
What you can track
You can embed three activity-specific code snippets in order to track the following three types of user activities that occur on your website.
- Page Views - Track visits to individual web pages and the duration of each visit by embedding the Page Tracking Code.
- Page Interactions - Track a variety of interactions (such as completing forms, watching videos, downloading files) by embedding the Interaction Tracking Code.
- Online Purchases - Track eCommerce and product transactions (e.g., membership renewals, donations, purchases) by embedding the Purchase Tracking Code.
TIP: Before getting started, review the planning information that we've provided in Web Tracking Preparation & Best Practices if you haven't already done so.
Interactions Planning Worksheet
A spreadsheet, Informz Web Site Interactions Planning Worksheet, is available via a link on the Web Tracking page. It will help you map and organize the interactions that you want to track.
To access the spreadsheet:
- Navigate to:
-
- Classic Admin interface - Setup > Web Tracking
- New Admin Experience - Settings > Setup > Web Tracking
- Click the View Instructions button to open the Informz Web Tracking Instructions page in a new tab.
- In the Getting Started paragraph, locate and click the linked text, this spreadsheet.
- The spreadsheet should then be available from your browser download feature.
- Open the spreadsheet and save it "locally" so that you can customize it for your Web Tracking.
TIP: The spreadsheet has an Instructions tab. If you require further assistance, create a case with Higher Logic Support.
Retrieve and embed the tracking codes
To use Web Tracking, you must embed JavaScript code on your site's pages.
- The required code is provided by Higher Logic and is available for you on your site.
- The code has been customized to work with your Thrive Marketing Professional account only.
- Embedding the code will likely require the skills of a web administrator with the appropriate permissions.
Code examples
We have included three examples of the JavaScript codes at the bottom of this article. These are included for you to preview before adding your account-specific code to your account domains.
WARNING: Do NOT use the code examples that are attached to this article! They are examples only! Use only the code that you retrieve from the Informz Web Tracking Instructions page.
To retrieve the custom JavaScript code:
- Navigate to:
-
- Classic Admin interface - Setup > Web Tracking
- New Admin Experience - Settings > Setup > Web Tracking
- Click the View Instructions button for a domain to open the Informz Web Tracking Instructions page in a new tab.
The page has three snippets of code that are specific to the domain you clicked:
- Page Tracking Code
- Interaction Tracking Code
- Purchase Tracking Code
Embed the code snippets
On the pages that you want to track activities, embed the respective code snippets.
NOTE: You don't necessarily have to embed all three code snippets. Embed the code for only those activities that you want to track.
Web Tracking codes notes
This section provides information for each of the tracking codes.
Page Tracking Code
This code is used to track page views and the duration of each visit.
- Place this code on every page of your website; preferably in the header or footer.
Interaction Tracking Code
This code is used to track website interactions.
- As you navigate your site, add a row to the Informz Web Site Interactions Planning Worksheet for each interaction that you want to track. Note that the combination of Category and Action should have a unique identifier for the interaction for your entire site. Your website administrator will use the code samples below to fill in the code column in the spreadsheet before making the website updates.
Purchase Tracking Code
This code is used to track purchasing information.
- Call addItem for each item of the purchase that you want to track.
- Call trackTrans once per page to submit all of the addItem calls to Thrive Marketing Professional.
Execute the code
After the tracking code has been added to the pages of your website:
- Send an email message (with a link to your site's home page) to yourself.
- Open the message and click the link to visit your site's home page.
This will cause the JavaScript to execute for the first time.
NOTE: If everything has been installed properly, Thrive Marketing Professional will indicate that it is receiving data from your domain.
TIP: Before you start tracking, consult the example website in your account to a see a fully working page that you can use as a basis for your own implementation!
Add the domains you want to track
With the tracking code now added to your website, you have to add the domains that you want to track.
- Navigate to Admin > Setup > Web Tracking.
- Click Add New Domain and complete the fields.
Field | Description |
---|---|
Domain Name | Specify only the name of the domain that you want to track. Do not include anything before the domain name (e.g., http://, https://, or www). |
IP Addresses to Ignore | If you have internal IP addresses that hit the website regularly, their activity could skew reporting. You can exclude them from being tracked. |
Parameters to Retain | If navigation within your site occurs by changing a parameter on the URL (e.g., Wordpress), you can enter the name of the parameter(s) so that web tracking recognizes it as a separate web page. |
- Click Add Domain.
NOTE: If a domain has been set up and information has been collected, that information persists in Thrive Marketing Professional, even if the domain is later removed. Previously collected data is not deleted.
- Click View Instructions to view a custom page that provides all of the information that you need to submit to your web developers.
After the Web Tracking code has been added to your website, you can navigate to Web Tracking to view the details for all of the sessions on your website.
Code examples
Below are three examples of the JavaScript code that you can add to your website.
WARNING: Do NOT use these code examples for your web tracking set up! They are examples only! Use only the code that you retrieve from the Informz Web Tracking Instructions page.