문제

I have script that use Urllib to open webpage in which I installed google analytics. My question is why if I execute a script there is no visits shown on GA?

도움이 되었습니까?

해결책

Google Analytics script is a JavaScript code and your urllib code does not evaluate it, so this view does not trigger GA.

You can trigger it calling directly the __utm image, but it is not exactly what you want. This way, you have to set all data and send it to GA instead of just trigger some client side code. Check it here: https://webmasters.stackexchange.com/questions/15230/the-simplest-way-to-track-google-analytics-without-javascript

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top