Provider: Adobe Analytics (Omniture)

Setup

To use the Adobe Analytics provider, you'll need to include their JavaScript library in your application and then configure it with Angulartics2.

1. Add Adobe Analytics Script

Add the Adobe Analytics tracking code to your index.html file.

2. Configure Angulartics2

In your root component (e.g., app.component.ts), inject the Angulartics2AdobeAnalytics service and call startTracking().

import { Component } from '@angular/core';
import { Angulartics2AdobeAnalytics } from 'angulartics2';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
})
export class AppComponent {
  constructor(angulartics2AdobeAnalytics: Angulartics2AdobeAnalytics) {
    angulartics2AdobeAnalytics.startTracking();
  }
}

This will activate automatic page tracking and enable you to use the other tracking methods for Adobe Analytics.