• Hi there,

    I need to add a tracking parameter to my WordPress page.

    For example:

    example.com/news?abc_tracking=true

    Although, wordpress doesn’t let me do that when I add ?abc_tracking=true to the end of my page’s link.

    How do I add this custom parameter to 1 page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • This should be handled from the code. You can’t add GET parameters directly on the page in admin panel, however custom script should do it.

    Thread Starter audiowarrior

    (@zonwarrior)

    Is there a plugin you recommend? Or, can you teach me how to create this script? And where should I add it? Thank you

    I can’t say I’ve used plugin for this before, so I’m uncertain if they even exist. Perhaps if not, I’ll be able to write it and publish it.

    Anyways, if you’re going to write this on your own, you should be looking to create a new plugin for it, inside of ‘plugins’ folder.

    Unfortunately, I can’t teach you this, I can only guide you in the proper direction and that would be to use wordpress filter page_link to modify page URL (on which you’ll append GET parameter).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add custom parameter to a page?’ is closed to new replies.