dimanche 19 avril 2015

google analytics track php mvc page views

Im trying to figure out how to track google analytics php mvc page views. I have through htaccess told the server to route all requests through an index.php file in the root. My google anayltics tracking is only recording page views for the root folder (/) .... Obviously makes sense because im routing through the index. My question is how to tell google the actual page url for the content im showing in the index.php file. Can anyone help? Do I need to use google Event tracking codes or is there a better solution for this?


Aucun commentaire:

Enregistrer un commentaire