Help for configuring Google Analytics with YetiShare v4.2

capitalpartners5663

New Member
YetiShare User
YetiShare Supporter
Jan 14, 2016
2
0
0
Hello Everyone,

Kindly provide detail steps to enable Google Analytics to YetiShare v4.2 . I have google account setup and website added to google analytics, but i'm not sure how to add the following code from Google Analytics :

Code:
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-xxxxxxxx', 'auto');
  ga('send', 'pageview');

</script>
Expecting a detailed steps to resolve this issue.

Thanks.
 

sukhman21

Member
YetiShare User
Jan 26, 2015
508
3
18
go to www.yourwebsite.com/admin/setting_manage.php?filterByGroup=Adverts and it should list you 3 advertisement spots. enter that code there depending on where you want your ad to show up. the ad will show up on the download page.
If you want the ad sitewide, even on your index page and all, then you would need to edit your html pages and put the code accordingly.

Hope this helps.
 

skintzel5348

New Member
Jan 1, 1970
13
0
0
@sukhman21

he is talking about analytics not adsense.

@capitalpartners5663

Admin panel -> site settings -> site options -> scroll down to "Your Google Analytics or other stats code. This is appended to the footer of the site. It should include the script tags."

and include the complete script with <script> tags
 

sukhman21

Member
YetiShare User
Jan 26, 2015
508
3
18
oops, my bad!! i was explaining adsense instead of analytics. shouldnt answer here drunk lol