Bitcoin Forum
May 12, 2024, 09:50:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help - How can i add google analytics to my faucet ?  (Read 359 times)
zinedine17 (OP)
Newbie
*
Offline Offline

Activity: 29
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
1715550637
Hero Member
*
Offline Offline

Posts: 1715550637

View Profile Personal Message (Offline)

Ignore
1715550637
Reply with quote  #2

1715550637
Report to moderator
1715550637
Hero Member
*
Offline Offline

Posts: 1715550637

View Profile Personal Message (Offline)

Ignore
1715550637
Reply with quote  #2

1715550637
Report to moderator
1715550637
Hero Member
*
Offline Offline

Posts: 1715550637

View Profile Personal Message (Offline)

Ignore
1715550637
Reply with quote  #2

1715550637
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715550637
Hero Member
*
Offline Offline

Posts: 1715550637

View Profile Personal Message (Offline)

Ignore
1715550637
Reply with quote  #2

1715550637
Report to moderator
tungaqhd
Hero Member
*****
Offline Offline

Activity: 1540
Merit: 508


View Profile
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 (OP)
Newbie
*
Offline Offline

Activity: 29
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: 297
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 (OP)
Newbie
*
Offline Offline

Activity: 29
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: 297
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 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


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

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

Activity: 1540
Merit: 508


View Profile
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 (OP)
Newbie
*
Offline Offline

Activity: 29
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: 1540
Merit: 508


View Profile
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: 252



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!