Select Page

How to merge Google Analytics code with your website?

Andrew Padniewski, WebWebSite Trailblazer

There is no life on the internet without Google. That might sound funny, but when you want to improve your online business, you have to start using Google tools. And Analytics is a free and powerful tool, that you should start with.

Long story short, Google Analytics will show you everything about your visitors: where they are from when they are visiting your website, and if you will sit and learn this tool you can easily put some scenarios (sales conversions), and check when they are working better.

But today we won’t write about Analytics options, but focus on that, how it should be installed.

Don’t worry, it is cheap mlb jerseys easier than it might look!

Create your account, add your website

Google Analytics is for free: there is, indeed, another version (Analytics 360), that you need to pay for it, but in my hole carrier only one company, that I worked on, were using that. But they had over 1,1M users monthly Website – hope, that your business will be close to that number one day!

Staying with a free version, simply go to website and create your account (if you have Google account, it should work straight away). Are you there?

You should see something like this:

To not get my customers sad (because we like them!) we covered websites details in bottom left sector of that screen.

Now, go to Admin level (marked by red arrow).

Here you can add a new account and property. Let’s start with a new account, that we will merge with your website. Click on a button below “Account”, and simply choose last visible option, which is “Create new account”.

Can you see that?

That is the part, which let you create code, which you will need to pass on your website later.

Now, just simply put all necessary details, which are Account holder name, Website name and HTTP address. Accept all terms, choose your time zone and your business sector (or simply choose: Other) and create an account.

It is easy, isn’t it?

Accept terms and conditions and you will receive code, that you need to add to your website now.

Can you see it?

There are two types of codes because there are two types of possible implementation. Truly? I have never used the second one. There is no point to do that…

Implementation of this code at your website

So, copy the first box, that Google creates for you.

Now you need to be aware of one thing: basically, there are two types of websites: static and dynamic. Static page doesn’t use PHP, Ruby or Python code. Dynamic does that.

Even if that does not sound similar to you, you just need to know, where you should put the code, that you receive from Google Analytics.

So, go to your FTP account (how to connect with that you can find in our guide about installing WordPress), and try to find file called header.php. If there is one, your website is dynamic and you need to put Google Analytics code in that file. If there is nothing like that, you will need Molecule02 to put it on every website (HTML) file, that you can find at your FTP…

Sorry, hope your website is dynamic.

Here or there, just make sure to put the code into the body section (not to head section).

I will show you how to place it in header.php file of the website, that you are right now.

Header file with passed into it Google code should be looking like this (opened by using Notepad++):

The red arrows show the start of body section and place, that I put Google Analytics code (head lighted).

Now save file, sent it back using FTP, and your Google Analytics code should be merged correctly!

Hope to hear you soon!

apadniewskiHas your Analytics works correctly?

If you received any problems, please leave your comment below or send me email at
Andrew Padniewski, WebWebSite Trailblazer

.et_bloom .et_bloom_optin_4 .et_bloom_form_content { background-color: #ededed !important; } .et_bloom .et_bloom_optin_4 .et_bloom_form_container .et_bloom_form_header { background-color: #ddd1c1 !important; } .et_bloom .et_bloom_optin_4 .carrot_edge .et_bloom_form_content:before { border-top-color: #ddd1c1 !important; } .et_bloom .et_bloom_optin_4 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_4 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: transparent !important; border-left-color: #ddd1c1 !important; }
@media only screen and ( max-width: 767px ) {.et_bloom .et_bloom_optin_4 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_4 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: #ddd1c1 !important; border-left-color: transparent !important; }
}.et_bloom .et_bloom_optin_4 .et_bloom_form_content button { background-color: #c0b283 !important; } .et_bloom .et_bloom_optin_4 .et_bloom_form_content button { background-color: #c0b283 !important; } .et_bloom .et_bloom_optin_4 h2, .et_bloom .et_bloom_optin_4 h2 span, .et_bloom .et_bloom_optin_4 h2 strong { font-family: "PT Sans", Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_4 p, .et_bloom .et_bloom_optin_4 p span, .et_bloom .et_bloom_optin_4 p strong, .et_bloom .et_bloom_optin_4 form input, .et_bloom .et_bloom_optin_4 form button span { font-family: "PT Sans", Helvetica, Arial, Lucida, sans-serif; }



Our newsletter provides custom tips, tutorials and all news, that you need to be aware of running online business.

You have Successfully Subscribed!

Share This

Hope we helped you!

Now, do not be greedy, share that text with your friends!

Sign up to our newsletter to receive Top10 Rating of hottest Wordpress plugins!

We provide our newsletter to help you to improve your business.

We do not spam, we sent emails only once per week.

You have Successfully Subscribed!