Bitcoin Forum
June 20, 2018, 11:45:36 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help - How can i add google analytics to my faucet ?  (Read 270 times)
zinedine17
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile WWW
July 08, 2017, 04:48:14 PM
 #1

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
Automated Bitcoin Fork Extraction Tool WE DO TOUGH WALLETS: BCH | BTG | BCD | SBTC | UBTC | B2X | BCX | BTF Electrum 2FA, Trezor, Ledger, SegWit, Bech32
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
tungaqhd
Hero Member
*****
Offline Offline

Activity: 700
Merit: 504


From Việt Nam :)


View Profile WWW
July 08, 2017, 05:15:23 PM
 #2

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 ?

zinedine17
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile WWW
July 08, 2017, 06:01:32 PM
 #3

this script http://faucetsystem.com/sp/faucet/
xnd
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250


@DEVRAWL


View Profile
July 08, 2017, 06:18:27 PM
 #4

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>

zinedine17
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile WWW
July 08, 2017, 06:44:12 PM
 #5

when i add the tracking code right after </Head>
then my faucet don't work it shows HTTP ERROR 500
xnd
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250


@DEVRAWL


View Profile
July 08, 2017, 09:43:12 PM
 #6

sorry, add it after
Code:
</head>
but inside the
Code:
<body>

zinedine17
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile WWW
July 08, 2017, 10:59:47 PM
 #7

same problem   Embarrassed
tungaqhd
Hero Member
*****
Offline Offline

Activity: 700
Merit: 504


From Việt Nam :)


View Profile WWW
July 08, 2017, 11:42:46 PM
 #8

You just need to add it like like adding an ad code, then it will work  Cheesy
Good luck

zinedine17
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile WWW
July 09, 2017, 12:09:28 AM
 #9

i know but when i add the code the faucet don't work
tungaqhd
Hero Member
*****
Offline Offline

Activity: 700
Merit: 504


From Việt Nam :)


View Profile WWW
July 09, 2017, 03:02:41 AM
 #10

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

CoinTasker
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile WWW
July 22, 2017, 10:00:21 AM
 #11

Honestly, if you don't know how to add analytics code you might not want to be running a faucet. Just my opinion

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!