FoxMetrics Destination


On this page


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.

This document was last updated on October 15, 2018. If you notice any gaps, outdated information or simply want to leave some feedback to help us improve our documentation, let us know!

Getting Started

Before you start, make sure FoxMetrics supports the source type and connection mode you’ve chosen to implement. You can learn more about connection modes here.

Web Mobile Server
📱 Device-mode
☁️ Cloud-mode
  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.

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.

App ID

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: 20 Oct 2020

Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
or
Create free account