1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google Analytics 0.5

Add Google Analytics tracking code to Hotaru

  1. carlo75

    carlo75 Design & Development

    Hi richfr,
    I'll check for this code, but anyway GA want to put the snippet always before the closing of head tag </head>
     
  2. richrf

    richrf New Member

    Thanks for looking into it for me carlo. I will place the info as you suggested.

    Rich
     
  3. carlo75

    carlo75 Design & Development

    Hi rich, you are welcome,
    I've updated the plugin, you can use directly it, and monday I try to upload a new improved version
     
    Last edited: Aug 28, 2010
    richrf likes this.
  4. richrf

    richrf New Member

    Thanks carlo. Have a great weekend!

    Rich
     
  5. skorpyo

    skorpyo Well-Known Member

    I think you should change the title in to the appropriate version...0.4 not 0.2...right?
    It would be great if Hotaru would have a proper extensions directory...not a forum...
     
  6. carlo75

    carlo75 Design & Development

    I've updated to 0.5.
    Updated GA code and added a control for do not count visits made by users with Admin rights (admin permission).
     
    petsagouris, skorpyo and objective like this.
  7. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    shibuya246 submitted a new resource:

    Google Analytics - Add Google Analytics tracking code to Hotaru

    Read more about this resource...
     
  8. hilmwa

    hilmwa New Member

    I'm getting ads on my website. This is strange and I'm not sure where they come from, but last plugin I installed was Google Analytics. Did anyone else experience this?
     
  9. robin007

    robin007 Well-Known Member

    Confirm once you have removed the adsence code from bookmarking plugin
     
    hilmwa and valMETNG like this.
  10. valMETNG

    valMETNG Administrator Staff Member Admin

    More specifically, you're looking for the following code, starting on line 109 of \content\plugins\bookmarking\templates\bookmarking_post.php:
    Code:
            <div class="hidden-xs put this in plugin :)">
            <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
            <!-- narrow -->
            <ins class="adsbygoogle"
                 style="display:inline-block;width:728px;height:90px"
                 data-ad-client="ca-pub-5634143173853305"
                 data-ad-slot="1346783428"></ins>
            <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
            </script>
            </div>
    You can comment out/remove this code or add your own AdSense ID so you get the credit. The current ID in there helps to financially support Hotaru.
     
    hilmwa likes this.
  11. hilmwa

    hilmwa New Member

    Thank you Robin and valMETNG
    I was using my phone and didn't have my laptop with me. I investigated it today and realized this was already in the bookmarking code.
    Weird thing it only shows on the desktop view on the phone and not while on the laptop.
     

Share This Page