Skip to content

Append UTM data from URL query params to page links

Notifications You must be signed in to change notification settings

abh1nash/utm-grabber

Repository files navigation

UTM Grabber plugin for Wordpress

Fetches UTM params from the URL and appends to the href attribute of provided selector.

How to use

  1. Install and activate the plugin on your Wordpress site.
  2. From the menu in your Wordpress admin, navigate to UTM Grabber. It will lead you to the UTM Grabber Configuration page.
  3. In the configuration page, enter the CSS Selector that you want the plugin to target. For example, if you would like all the links on your page to have the UTM params appended, enter a in the Selector field and save.
  4. Done! UTM data is stored on the browser for 30 days.