Bitcoin Forum

Economy => Micro Earnings => Topic started by: zinedine17 on July 08, 2017, 04:48:14 PM



Title: Help - How can i add google analytics to my faucet ?
Post by: zinedine17 on July 08, 2017, 04:48:14 PM
hi guys
i would like to add google analytics to my faucet, but i haven't found the method because im using my database not wordpress or blogger.
Please Help guys


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: tungaqhd on July 08, 2017, 05:15:23 PM
hi guys
i would like to add google analytics to my faucet, but i haven't found the method because im using my database not wordpress or blogger.
Please Help guys
You just need to access source code.
https://analytics.google.com , login with your google account, add your faucet and receive tracking code. Then add it to your template. What script are you using ?


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: zinedine17 on July 08, 2017, 06:01:32 PM
this script http://faucetsystem.com/sp/faucet/


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: xnd on July 08, 2017, 06:18:27 PM
go to analytics, add property, get the tracking js code

go to your faucet/template/the-template-you-are-currently-using/src/ and edit loader.tpl

add the tracking code right after
Code:
</head>


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: zinedine17 on July 08, 2017, 06:44:12 PM
when i add the tracking code right after </Head>
then my faucet don't work it shows HTTP ERROR 500


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: xnd on July 08, 2017, 09:43:12 PM
sorry, add it after
Code:
</head>
but inside the
Code:
<body>


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: zinedine17 on July 08, 2017, 10:59:47 PM
same problem   :-[


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: tungaqhd on July 08, 2017, 11:42:46 PM
this script http://faucetsystem.com/sp/faucet/
You just need to add it like like adding an ad code, then it will work  :D
Good luck


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: zinedine17 on July 09, 2017, 12:09:28 AM
i know but when i add the code the faucet don't work


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: tungaqhd on July 09, 2017, 03:02:41 AM
i know but when i add the code the faucet don't work
try to replace " with ' or go to template file that you are using and add it manually in footer file


Title: Re: Help - How can i add google analytics to my faucet ?
Post by: CoinTasker on July 22, 2017, 10:00:21 AM
Honestly, if you don't know how to add analytics code you might not want to be running a faucet. Just my opinion