Skip to content

Commit

Permalink
remove mayWeTrackByTracker(
Browse files Browse the repository at this point in the history
Co-authored-by: Even Tobiesen <52675688+gmovr@users.noreply.github.com>
  • Loading branch information
briowill and gmovr committed May 25, 2024
1 parent db809c2 commit 38e4885
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/lib/analytics/ad-tracking/load-tracking-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ function getTrackingScriptsToLoad() {

// The Gtag script needs to be loaded with an ID in the URL so we search for the first available one.
const enabledGtags = [
mayWeTrackByTracker( 'ga' ),
mayWeTrackByTracker( 'googleAds' ) && TRACKING_IDS.wpcomGoogleAdsGtag,
mayWeTrackByTracker( 'floodlight' ) && TRACKING_IDS.wpcomFloodlightGtag,
].filter( ( id ) => false !== id );
Expand Down

0 comments on commit 38e4885

Please sign in to comment.