AFL UTM Tracker Documentation

  1. Home
  2. Docs
  3. AFL UTM Tracker Documentation
  4. Developer
  5. Extract Custom UTM Parameter

Extract Custom UTM Parameter

You can extract custom UTM parameter using our WordPress filter and action hook.

Requirements:

  • AFL UTM Tracker v2.14.10

Tutorial

You want to extract utm_keyword and utm_placement from the First and Last Touch UTM URL to store the values into the database and also to display it in the reports.

Code

Copy the PHP code below to your theme’s functions.php without Line 1.