Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • K Schneider Friend
    #165301

    Hi,

    where do I put the google +1 button script
    I need to put it in the header.

    http://www.google.com/webmasters/+1/button/

    Phill Moderator
    #396757

    I have outlined how to add analytics in the following thread but it will work equally well with your code – http://www.joomlart.com/forums/topic/insert-google-analytic-in-ja-minisite/#post-393219

    K Schneider Friend
    #396759

    The code needs to be Placed in the header or just before closing bodytag

    Phill Moderator
    #396775

    It is fine in the head of your document.

    <blockquote><!– Place this tag in your head or just before your close body tag –>
    <script type=”text/javascript” src=”https://apis.google.com/js/plusone.js“></script>
    <!– Place this tag where you want the +1 button to render –>
    <g:plusone></g:plusone></blockquote>

    The above link detaild how to put it in the head.

    K Schneider Friend
    #396780

    where can I find the head?

    Phill Moderator
    #396781

    It is all in that link I posted above but here it is again.

    Copy the file plugins>system>jat3>jat3>base-themes>default>page>default.php into templates>ja_your-template-name>page>default.php and insert your analytics code just before the </head> tag as per below.


    <head> <?php //gen head base on theme info $this->showBlock
    ('head'); ?> <?php $blocks =
    T3Common::node_children($this->getBlocksXML ('head'), 'block'); foreach
    ($blocks as $block) : $this->showBlock ($block); endforeach; ?>
    <?php echo $this->showBlock ('css') ?>************YOUR ANALYTICS CODE
    HERE*************</head>

    K Schneider Friend
    #396786

    <em>@phill luckhurst 247574 wrote:</em><blockquote>It is all in that link I posted above but here it is again.</blockquote>

    sorry that I asked about it but it :((

    <em>@phill luckhurst 247574 wrote:</em><blockquote>
    I have outlined how to add analytics in the following thread but it will work equally well with your code – http://www.joomlart.com/forums/showt…l=1#post243040
    .</blockquote>

    is not in the link you posted

    Phill Moderator
    #396861

    Don’t be sorry, just trying to point to where it is.

    What part are you struggling with?

    The link – http://www.joomlart.com/forums/topic/insert-google-analytic-in-ja-minisite/#post-393219
    Contains how to insert google analytics cos but you can insert your script where it is highlighted in red in that thread.

    If you really cannot do it then please PM me an ftp account and I will make the change for you.

    K Schneider Friend
    #397078

    its working

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

This topic contains 9 replies, has 2 voices, and was last updated by  K Schneider 13 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum