• Hi everyone,

    I added the google tracking code into myy css header.php file a underneath the < body > tag.

    However google anayltics isn’t registering any page vissits. Could this be due to stuff I’ve added in the plugin “custom css”. This is what I wrote there. Would any of this conflict with adding the trackingcode to the header.php? Thanks for your help

    .singular #content, .left-sidebar.singular #content {
    margin: 0 5%;
    }

    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
    width:90%; text-align:justify
    }

    .singular.page .hentry {
    padding-top: 0;
    }

    #branding #searchform {
    display: none;
    }

    #site-title, #site-description { display: none;}

    .singular .entry-title {
    color: #18a805;font-size: 34px;font: ubuntu-1}

    .singular .entry-title {text-align:left;}

    #branding {
    background: url(http://acupunctuurbaidu.nl/wp-content/uploads/2014/02/Utrecht-Acupunctuur-logo.jpg);
    background-size: contain ;
    padding-top: 18%;
    }

    #access {
    background: #18a805;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your CSS will not interfere with the Google Analytics code because the Analytics code is written in JavaScript, which is completely different.

    Always try to include a link to your site. It makes it easier to see what the problem might be.

    I took a look at the source code for your site and the Google Analytics code looks OK. When did you put it in? It takes at least a day, and maybe two or three days, for any stats to show up.

    Thread Starter acupunctuurpraktijk

    (@acupunctuurpraktijk)

    Thanks for your help! It was working fine, but stopped a few weeks ago. Now I have added it yesterday, so I guess I’ll wait a few days to see what happens

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Analytics doesnt work. CSS problem?’ is closed to new replies.