FoxMetrics Destination
FoxMetrics is a personalization platform that allows users to collect & analyze customer actions through computers, mobile, and web applications. The analytics.js
FoxMetrics destination is open-source. You can browse the code on GitHub.
Getting Started
- From the Segment web app, click Catalog.
- Search for “FoxMetrics” in the Catalog, select it, and choose which of your sources to connect the destination to.
- Add your FoxMetrics
App ID
- When you enable FoxMetrics from the Segment web app, your changes appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading FoxMetrics’s JavaScript onto your page.
Remember to remove FoxMetrics’s native snippet from your page.
Page
If you’re not familiar with the Segment Specs, take a look to understand what the Page method does. An example call would look like:
analytics.page();
When you call page
, we call FoxMetrics’ record
with the exact same parameters.
Identify
If you’re not familiar with the Segment Specs, take a look to understand what the Identify method does. An example call would look like:
analytics.identify("97980cfea0067", {
name: "Peter Gibbons",
email: "peter@example.com",
plan: "premium",
logins: 5
});
When you call identify
on analytics.js
, we call FoxMetrics’ _fxm.visitor.Profile
to store all traits provided.
Track
If you’re not familiar with the Segment Specs, take a look to understand what the Track method does. An example call would look like:
analytics.track("Registered", {
plan: "Pro Annual",
accountType: "Facebook"
});
When you call track
on analytics.js
, we push your event and properties onto the _fxm
object.
Settings
Segment lets you change these destination settings from the Segment app without having to touch any code.
Setting | Description |
---|---|
App ID (required) |
string . You can find your App ID (also listed as your API Key) in your FoxMetrics Applications List under My Account > Applications. |
This page was last modified: 27 Oct 2023
Need support?
Questions? Problems? Need more info? Contact Segment Support for assistance!