Title: Pass through Filepath dynamically
Last modified: August 18, 2016

---

# Pass through Filepath dynamically

 *  [ny23designx](https://wordpress.org/support/users/ny23designx/)
 * (@ny23designx)
 * [19 years ago](https://wordpress.org/support/topic/pass-through-filepath-dynamically/)
 * I’m trying to pass the file path of the current URL of my site, into web analytics
   page code.
 * s.pagename=”/index.php/wp/etc….”
 * currently I’m using the php geturl function but I really just want the filep 
   path.
 * Any ideas on how I can accomplish this? Also, if I so chose, how would I grab
   the document.title ?
 * thanks

The topic ‘Pass through Filepath dynamically’ is closed to new replies.

## Tags

 * [filepath](https://wordpress.org/support/topic-tag/filepath/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ny23designx](https://wordpress.org/support/users/ny23designx/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/pass-through-filepath-dynamically/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
