Page parents/depth/hierarchy
-
Afternoon chaps,
I have a small problem that I’m struggling to find a solution for (as it’s a little hard to explain to Google). I’m currently tagging a wordpress site (all static pages, used as a CMS) with the Omniture SiteCatalyst page tag (an analytics tool).
What I’m trying to do is find a way to pull out the page hierachy for single pages. The Omniture page tag has variables such as prop1, prop2, prop3 etc, which should populate with details of each page.
So for say the page:
http://www.mysite.com/about/the-company/london-office/I’d like the page tag to appear as:
s.prop1=”about”
s.prop2=”the-company”
s.prop3=”london-office”
s.prop4=””
s.prop5=””Are there any php tags that can display the url in chunks like this?
Thanks,
Daniel // Shadowise
The topic ‘Page parents/depth/hierarchy’ is closed to new replies.