AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.4K members online now
2.4K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Trying to add Experiment and Tracking Code, HELP ME PLEASE :-(

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have tried to edit my GOOGLE SITE page to add tracking code and experiment code.  I've tried adding it in the /head, before the end.  I have tried to use the HTML Box in the page edit.  In either case, when I try to look at the HTML, the code is NO LONGER THERE.  I need to know - can you even edit a google site header?  I have something due tomorrow and I've been working this for 4 days.  I'm at wits end... hoping for some light here.  Thanks in advance!

1 Expert replyverified_user

Re: Trying to add Experiment and Tracking Code, HELP ME PLEASE :-(

Top Contributor
# 2
Top Contributor
Hi Tammi :-)
Google sites has its own method for adding the tracking code and use of javascript is limited for security reasons.
Which means not all functionality of the tracking code can be used
https://support.google.com/sites/answer/97459?hl=en
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here