Setting page title for Jetpack stats.
-
I have a page that has some dyanamic content included – (based on parameters passed in).
eg:
https://www.radiofreeuk.org/show/20160115/1/Gets recooked to call the page with the date and sequence as parameters which I use to generate the content of the page.
Jetpack uses the page title ‘Listen!’ for its basic stats, so I can’t track which show/episode was seen.
I want the jetpack stats to register hits as different pages based on the parameters – so I want to modify the page title based on the parameters.
I have added a filter for ‘wp_title’ but by the time this sees the title it seems to have already been processed by jetpack (or jetpack is getting the title elsewhere).
What do I need to do fix the page title for jetpack to count them separately?
Thanks.
- The topic ‘Setting page title for Jetpack stats.’ is closed to new replies.