Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

FoxMetrics Destination


Destination Info
  • Accepts Page, Alias, Group, Identify and Track calls.
  • Refer to it as FoxMetrics in the Integrations object
Connection Modes
Device-modeCloud-mode
Web Web
Mobile Mobile
Server Server

FoxMetrics(link takes you to an external page) 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(link takes you to an external page).


Getting Started

getting-started page anchor
  1. From the Segment web app, click Catalog.
  2. Search for "FoxMetrics" in the Catalog, select it, and choose which of your sources to connect the destination to.
  3. Add your FoxMetrics App ID
  4. 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.


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.


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:

1
analytics.identify("97980cfea0067", {
2
name: "Peter Gibbons",
3
email: "peter@example.com",
4
plan: "premium",
5
logins: 5
6
});

When you call identify on analytics.js, we call FoxMetrics' _fxm.visitor.Profile to store all traits provided.


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:

1
analytics.track("Registered", {
2
plan: "Pro Annual",
3
accountType: "Facebook"
4
});

When you call track on analytics.js, we push your event and properties onto the _fxm object.


Segment lets you change these destination settings from the Segment app without having to touch any code.

Property nameTypeRequiredDescription
App IDstring
required

You can find your App ID (also listed as your API Key) in your FoxMetrics Applications List(link takes you to an external page) under My Account > Applications.