Google Analytics Code Disappears


donniec
Asked:
2012-10-22 11:55 am EST

Hits: 550
After pasting Google analytics code on each page, the code disappears from all pages the next time I make any change to any page. I am using the Plesk Site Biuilder Zeug-13 template, but can't find it anywhere. Is there a master page or template page that will not be modified on which to place the GA code?
Thanks,
DonnieC

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
9,968 Points
2012-10-22 12:22 pm EST
Hello DonnieC, and thanks for the question.

In order to use the Google Analytics code with your Premium Website Builder site. You'd want to add the (Script) module from the right-hand side-bar to each page that you have, with your GA JavaScript code entered into there.

Unfortunately there is not a centralized template or master page that you can add this code to and have it propagated to all of your other pages. So this is something that would need to be done on each and every page that you wish to track.

I see currently that you have this code placed on your (index.php) and (Home.php) pages, are you manually going in and adding the code after publishing from the Premium Web Builder? Or are you utilizing the script module already? If you're using the script module from within the Premium Web Builder then it should be staying put on edits to that page, so long as you aren't removing that module.

Please provide us with some further information such as what pages the code seems to go missing from if this didn't exactly answer your question, so that we can provide you with a better explanation.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!