Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to set Page Title, Page Type, Entry Page etc in php tracking #321
Comments
This comment has been minimized.
This comment has been minimized.
Please give the code in master a try. There are some fixes there that are relevant to this issue.
… On Mar 11, 2018, at 10:53 PM, userpqr ***@***.***> wrote:
The question looks astonishingly simple. But, I searched a lot and could get no answer.
I have added the php tracking code in footer. Views are getting tracked, but page titles, entry page, exit page etc are showing as not set. I tried setting
owa->setPageTitle($_SERVER['PATH_INFO'];
But, got no result.
I got the php tracking code from the website->get tracking code. It looks like it does not work. Can someone give me a sample php code for owa for tracking page titles etc as mentioned above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This comment has been minimized.
This comment has been minimized.
Thanks for the response. I am now using the code that is mentioned here : https://github.com/padams/Open-Web-Analytics/wiki/PHP-Invocation What I understood is, if the URL contains some parameter like ?a=0 then the Page path, title etc gets set. Otherwise, it shows page path not set. Am I missing something here in the code or in the settings ? Is there any way I can set the page path etc when the URL does not have any parameter ? |
This comment has been minimized.
This comment has been minimized.
Can you please give me the URL of the code in master that you referred here ? |
This comment has been minimized.
This comment has been minimized.
WmShrPy
commented
Mar 18, 2018
Same remark as userpqr, on a fresh installation of 2018-03-18 master version. |
pushed a commit
that referenced
this issue
Mar 20, 2018
This comment has been minimized.
This comment has been minimized.
Just added the fix to master. |
This comment has been minimized.
This comment has been minimized.
githubtd01
commented
Mar 20, 2018
•
Thank you! Did a complete new installation with the new master and I'm still having the same problem. Was anybody else successful? |
This comment has been minimized.
This comment has been minimized.
Did you use a clean db?
… On Mar 20, 2018, at 1:53 AM, githubtd01 ***@***.***> wrote:
did a complete new installation with the new master and I'm still having the same problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This comment has been minimized.
This comment has been minimized.
githubtd01
commented
Mar 20, 2018
I did deleted the complete database and created a new one. |
This comment has been minimized.
This comment has been minimized.
Make sure you clear your owa_s cookie when you retest otherwise you will be stuck in the same session.
If you turn on development logging in the config file. OWA will tell you exactly what it’s doing to every property passed by the tracker. That should give you a clue as I can’t reproduce your issue.
… On Mar 20, 2018, at 8:19 AM, githubtd01 ***@***.***> wrote:
I did deleted the complete database and created a new one.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#321 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAPPnK0E5M7Auq-zuARDijjLz4nbZOMjks5tgUgtgaJpZM4SmQmk>.
|
userpqr commentedMar 12, 2018
•
edited
The question looks astonishingly simple. But, I searched a lot and could get no answer.
I have added the php tracking code in footer. Views are getting tracked, but page titles, entry page, exit page etc are showing as not set. I tried setting
owa->setPageTitle($_SERVER['PATH_INFO'];
But, got no result.
I got the php tracking code from the website->get tracking code. It looks like it does not work. Can someone give me a sample php code for owa for tracking page titles etc as mentioned above ?