-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Now you can download two apps simultaneously from the Google Play Store
By Sagar Naresh,
- google play store
- (and 4 more)
- 9 replies
- 4 views
-
Google asks court to completely dismiss US DOJ's antitrust lawsuit against its ad operations
By Karthik Mudaliar,
- department of justice
- (and 5 more)
- 0 replies
- 2 views
-
Newly posted code suggests ChromeOS could refresh its default font
By Sagar Naresh,
- 3 replies
- 3 views
-
Android 15's Notification Cooldown will help reduce vibrations for successive notifications
By Sagar Naresh,
- 1 reply
- 4 views
-
Google is testing a new 'Speaking practice' feature to help improve your English
By Aditya Tiwari,
- google search
- (and 4 more)
- 3 replies
- 4 views
-
Question
PALMERx64
Hey guys, I'm not very familiar with Analytics (or JavaScript, for that matter). I'm much more familiar with HTML/CSS and PHP.
Normally I just copy/paste the tracking code in <script> before the closing </head> tag like the Analytics page says, instead can I just do it this way:
In an index.html or index.php could I just use <?php include 'analytics.js'; ?> before the head tag
And the .js file will have the following code:
Or will Analytics somehow not work with this sort of setup?
Link to comment
Share on other sites
10 answers to this question
Recommended Posts