Website Tracking
With Website Tracking enabled, you can identify visitor behavior, understand which content is generating interest, and use that information to create more relevant marketing experiences.
What is Website Tracking?
Website Tracking allows Transpond to monitor activity on your website and associate that activity with known contacts when possible.
Once enabled, you can see information such as:
- Which pages visitors view
- How often visitors return
- Where visitors are located
- Which campaigns are driving traffic
- How contacts engage with your website after clicking links in emails or other marketing communications
This helps you better understand what interests your audience and how effective your marketing efforts are.
Website Tracking also works alongside Automations, allowing you to trigger actions based on website activity. For example, you could automatically send a follow-up email when someone visits a pricing page or deliver targeted content based on the pages they've viewed.
Enabling Website Tracking
To enable Website Tracking:
- Navigate to Websites > Tracking.
- Enter the URL of the website you want to track.
- Copy the tracking code provided by Transpond.
- Add the tracking code to your website's source code.
- Click Add Site.
Important
For Website Tracking to work correctly, the tracking code should be added within the <head> section of your website so that it loads on every page.
If you're unsure how to make this change, contact your website administrator or web developer.
Once Transpond detects that the tracking code is active, your website will appear as verified and visitor activity will begin to be recorded.
You can use the same tracking code across multiple websites by repeating the process for each site you want to track.
Viewing Website Tracking Data
Once Website Tracking has been enabled and visitors begin interacting with your website, you can review tracking information at any time.
To view your tracking data:
- Navigate to Websites > Tracking.
- Select the website you want to review.
From here, you can access information such as:
- Unique visitors
- Page views
- Visitor locations
- Campaign activity
This makes it easy to understand how visitors are engaging with your website and where your marketing efforts are having the greatest impact.
Advanced Website Tracking
In addition to standard page tracking, developers can send additional information to Transpond to track specific actions and enrich contact records.
This can be useful for scenarios such as:
- Shopping cart abandonment
- Logged-in user activity
- Product interactions
- Custom website events
- Passing customer information directly into Transpond
Once the Website Tracking script has been installed, developers can use the following variables.
Variables you can pass
| Variable | Description |
|---|---|
| mpEmailAddress | The email address |
| mpGroupId | The id of the group you would like new email addresses sent to. If not set, un-recognised addresses will be ignored. |
| mpPath | The current path on your website. |
| mpQuery | The current querystring on your website |
| mpCustomFields | An object containing any custom field values you would like to send in. You can send anything in here, we will auto create the fields if they don't exist. We will even attempt to auto detect the type of data you are pushing in! |
Inline
You can pass variables by simply initiating/updating them anywhere on your page like this...
<script>
var mpEmailAddress = "test@test.com";
var mpGroupId = 74175;
var mpPath = "/path.html";
var mpQuery = "?query=1";
var mpCustomFields = {
"First Name": "Colin",
"Age": 19,
"Birthdate": new Date("2015-03-25").toISOString(),
"Male: true
};
</script>
Programatically
You can force the variables to update by programatically calling a function like this...
<script> manualTracking(mpPath,mpQuery,mpEmailAddress,mpCustomFields,mpGroupId); </script>
Next Steps
Once Website Tracking is enabled, consider combining it with Transpond Automations to create more personalised customer journeys. By using website activity as a trigger, you can automatically follow up with contacts based on their interests and behaviour, helping you deliver more relevant and timely communications.