- Decide whether to implement cross-project events
- Find and edit cross-project events
Optimizely X Web's cross-project events help large optimization teams track consistent, program-level metrics across multiple properties.
Usually, an event lives and is tracked only in the project where it was created. Cross-project events help you track key events across all Optimizely X Web projects.
With cross-project events, you can:
Track the same event across different projects to ensure consistency
Create a set of program-level metrics and reuse them for all your sites
Define metrics for a global component that crosses into property-specific events
Imagine that your company has multiple web properties that are split into separate Optimizely projects. One set of program-level metrics are used to manage all the properties. For example, a key metric tracks engagement with the search bar in the enterprise site and all local store sites. In order to track this same metric in all properties, you'd ordinarily have to set it up in every project. With cross-project events, you can add the pre-defined event to any Optimizely X Web project.
Plus, cross-project events do not affect snippet size! Just enable cross-origin tracking so project snippets can synchronize. And if you expect visitors to cross domains or top-level domains, you can use the waitForOriginSync API.
Cross-project events are available in Optimizely X Web Enterprise packages. For more information, contact your account manager.
Create a cross-project event
If you have an Optimizely X Web Enterprise account, cross-project events are automatically enabled in your projects. All your events will be cross-project events. Create an event as usual, and it will be available in projects for which you have a collaborator role.
Add a cross-project metric
By default, the Metrics flow shows events in the current project. To include cross-project events, select All projects.
The All projects view shows events that are shared across all Optimizely X Web projects where you’re a collaborator. Click the event to add it as a metric.
That’s it! Don’t forget to click Save to confirm your changes.
Edit a cross-project event
To edit a cross-project event, you'll need to navigate to the project where it was originally created. The project name is listed below the event name.
Switch to the project where the event lives.
Under Implementation > Events, select and edit the event.