Doubt: Google Analitycs JS runs on PHP file_get_contents?

Asked

Viewed 17 times

0

I have a site where you have the JS from Google Analitycs, it happens that from time to time I run a function in file_get_contents in PHP to get information on this site. My question is: Google Analitycs can identify the connection via file_get_contents?

1 answer

1


No, because this happens on the server side. What happens with the PHP process, Google Analitycs will not be able to obtain any data. After finishing the PHP process, the output is sent to the browser containing or not the HTML. Once it has been submitted and the page rendered, Google Analitycs starts collecting the information.

Therefore, the file_get_contents function will not be read by Google Analitycs.

  • Thank you very much!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.