File size: 374 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { mayWeTrackByTracker } from '../tracker-buckets';
import { recordPlansViewInCriteo } from './criteo';

// Ensure setup has run.
import './setup';

/**
 * A generic function that we can export and call to track plans page views with our ad partners
 */
export function retargetViewPlans() {
	if ( mayWeTrackByTracker( 'criteo' ) ) {
		recordPlansViewInCriteo();
	}
}