PHP help? Tracking URLs for click thrus…
-
I have a slightly odd question.
I recently added “next post” and “previous post” links to all my posts. I want to determine whether or not anyone is actually clicking on them….
Problem is the code for the URLs is buried in php. Here it is:
<?php previous_post_link('<h5>« Previous post:</h5> %link', '<h4>%title</h4>'); ?>What I want to do is add something like “?NEXTLINK” to the URLs so that I can look at Google analytics later and see if ?NEXTLINK is coming up.
Does that make any sense?
If so, how can I alter “previous_post_link” to include something extra on the url?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP help? Tracking URLs for click thrus…’ is closed to new replies.