Home
Web Front-end
JS Tutorial
How to load google-analytics (or other third party) JS_javascript tips



How to load google-analytics (or other third party) JS_javascript tips
js
After registering ga, ga will generate a js script. Many people directly copy this js to the end of
(including Blog Park, CSDN, BlogJava). But is this JS automatically generated by ga really the most reasonable?What is reasonable and what is unreasonable? Because ga is just an analysis tool, its use must not affect our program. If it does, it is unreasonable. It is reasonable if it does not affect it.
Current use of ga:
First look at the js script automatically generated by ga, as follows:
Copy code The code is as follows:
"));
"));