• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Google Analytics problems

Started by hotskull,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hotskullTopic starter

Hey I have a google analytics issue. I used google analytics for 5 years on my clients project and my personal projects. I added the script code in the tracking code input box in {sitename}/moderator and for 7 days it shows there isn't any traffic coming to my site when alexa says otherwise.

I tried adding the script code to tpl.globals.php and it either gives me a php coding error or the code is commented out when I inspect the HTML source code.

I need some suggestions on fixing this issue. I know there is someone one out there who had this issue before I would love if you came forward.

Regards
Rudy
  •  

slmovix

I have a similar problem, when I try to add google Analytics code through admin configuration setting
it gives me 404 error page (page not found)
can somebody help me with this.. Please 
  •  

PHPVibe A.

You can't paste ' without escaping it like \' between php echo or variable assignment anywhere.

Here is an sample http://www.phprevolution.com/forum/troubleshooting-issues/analytics-code/msg12481/#msg12481

slmovix can I see an copy of your error log? Something on your server setup sounds fishy.

slmovix

Hi Alexander,

I have attached the error.log file,

Thank you
  •  

PHPVibe A.

PHP Warning:  file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in


This is the only issue I see which is serious, as may affect functionality. It sais your host cannot connect to facebook's open graph url https://graph.facebook.com/slmovix .

Maybe shutting down facebook count would be an option.




hotskullTopic starter

Thanks a million man, very simple issue.
  •  

gaunt93

Quote from: slmovix on
I have a similar problem, when I try to add google Analytics code through admin configuration setting
it gives me 404 error page (page not found)
can somebody help me with this.. Please

I had this problem, and I solved it. You need to get rid of the <script> and </script> tags when you place it in the configuration panel in the admin section.

Hope that helps.
  •  

slmovix

  •  

slmovix

without the <script> </script> doesn't  give the 404 error but
google analytics doesn't show any spikes in the reports! zero
please help me,
  •  

PHPVibe A.

Quote from: Alexander on
You can't paste ' without escaping it like \' between php echo or variable assignment anywhere.

Here is an sample http://www.phprevolution.com/forum/troubleshooting-issues/analytics-code/msg12481/#msg12481

Add it to the template.

slmovix

  •  

Similar topics (7)