---
title: Metrics do not track correctly
slug: performance-edge/docs/metrics-do-not-track-correctly
docTags: 
createdAt: 2026-08-05T21:01:08.105Z
---

- Optimizely Web Experimentation
- Optimizely Performance Edge
- Optimizely Personalization

Do you see no conversions at all for a certain metric on [the Optimizely Experiment Results page](docId\:mrUblIuNVOZc1dvjWdsbw)?

Do you see a higher or lower number of conversions than expected for a certain metric?

:::hint{type="info"}
**Note**

If your conversions do not match when compared to another analytics platform. See [Discrepancies in Google Analytics and Universal Analytics](https://support.optimizely.com/hc/en-us/articles/4410284119565).
:::

## Check the snippet

Make sure that the Optimizely Web Experimentation snippet is on your page as high as possible in the \<head> tag, and that there's only one Optimizely Web Experimentation snippet on the page. Optimizely works best when installed directly in the \<head> tag of every page where you want to track a goal. See [Implement the one-line snippet for Optimizely Web Experimentation](docId\:Eynqg8Z-62r76dvDho6dx).

Then, check that the experiment is published and the snippet is up to date. See [Check that the snippet is up to date](docId:72fi6v44ke2eDkB6l9huG). 

## Check that the origin is set

If you have not specified an origin in snippet settings, events may not track correctly. Optimizely uses local storage to sync experiment and variation IDs across protocols and subdomains, so you need to specify where Optimizely is running.

See [Cross-origin tracking in Optimizely Web Experimentation](docId\:D4cK9MtLwo5SilACqb_sh) for how to list the domains where Optimizely runs, and events are tracked.

## Check whether the event is firing

In a running experiment or campaign, [check whether the event is firing](docId\:uNSkf4kX4xWUcRy1MUIOu) on the page. If it is not firing, the experiment or campaign may not be set up correctly.

Check your event setup to verify that it targets the right selector. See [Events: Track clicks, pageviews, and other visitor actions](docId\:puGm9z4XkEG5PDkyaNmlA). 

If you see the event fire in the console but not on the Results page, proceed to the next step.

## Check experiment or campaign activation on the page

1. Check the `LayerStates` field in the network traffic. If the `layerStates` array does not include an entry with `layerId` equal to the campaign ID,  the visitor has not activated the campaign.
2. If you expect the experiment or campaign to be active on this page, ensure it is published and running. If you expect the campaign to have been activated in the past on a different domain, you may need to set up [cross-origin targeting](docId\:D4cK9MtLwo5SilACqb_sh).

If none of the above steps help, [submit a ticket](../../../experimentation-strategy/troubleshoot-and-test/submit-a-ticket-to-contact-optimizely-support.mdx) with Support and include the following information (especially important for custom events):

- The name and ID of the relevant event and how is this event implemented?
- How to trigger the event conversion? Specific steps, which URLs to visit, specific actions one needs to perform, and so on.
- If there is custom code related to the event, include where it is implemented.
