Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 7 posts - 1 through 7 (of 7 total)

google analytics Triton Pro

Home Forums Misc. General Forums google analytics Triton Pro

  • #12365

    beckett

    subscriber

    Trowfig, can I put Google Analytics on my site.I want to be to see where my traffic is coming from. What do you think?

    Roger

    #16959

    Towfiq I.

    administrator

    There is already and Option to add Google Analytics to your site via Triton options page. Go to Appearance> Triton Options> Misc. and in the Google Analytics id Field, put your GA id.

    #16960

    beckett

    subscriber

    will do.thanks

    #16961

    maduma

    subscriber

    Hi Towfig,

    I have put my GA id in but my site doesn’t seem to be syncing up with my GA account. Is there something else I need to do to make sure they are synced?

    Thanks

    Joe

    #16962

    Towfiq I.

    administrator

    whats your site address?

    #16963

    maduma

    subscriber
    #16964

    Towfiq I.

    administrator

    I just checked your site and the code is there. You can manually put your analytics code. Go to Appearance> Editor and select “footer.php” and find these lines:

    <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '<?php echo $option['trt_ga_id'] ?>']);
    _gaq.push(['_setDomainName', 'none']);
    _gaq.push(['_setAllowLinker', true]);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    </script>

    and replace them with your analytics code.