• I have a wordpress site and it has some affiliate links to external sites. For tracking purposes I’d like to be able to pass the ‘Page Title’ of the page where the link is located into the tracking portion of the affiliate link.

    For example, if have a page named ‘DVD Deals’ (dvd-deals), and the affiliate link on the page is dvds.com/affiliates&tracking=blank. I want to be able to change the tracking portion of the affiliate link to some variable like {pagetitle}, so when the affiliate link dvds.com/affiliates&tracking={pagetitle} is placed on the ‘DVD Deals’ page it becomes dvds.com/affiliates&tracking=dvd-deals

    I’ve been messing with this for a while, so any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Any luck? Have been trying to find code to do this for years? There is a plugin, but it’s a manual link to url. With 1000s of posts, I need automatic links.

Viewing 1 replies (of 1 total)
  • The topic ‘Pass Page Title into URL for external Site’ is closed to new replies.