Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-24-2013, 05:03 AM   #1
mikesinner
Confirmed User
 
mikesinner's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 5,646
Anyway To Hide HTML From The Source Code?

Lets say I want to hide my Google analytics code so that no surfer can see it when they click on the source code. can I do this simply?

This would make is so I can track all adult and mainstream sites together without letting anyone know I run both.

I think this isn't possible if I want the code to track the traffic.
__________________

My Best Sponsors MPl l Camsl CUMSHOTSl LESBIANSl FETISHl BJ RACESl TEEN BJl BSDMl VODl USE YOUR PC TO CURE CANCER
mikesinner is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 09:10 AM   #2
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
i was worried about this too.,
but then found about creating new accounts in analytics admin.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 09:13 AM   #3
nexcom28
So Fucking Banned
 
Join Date: Jan 2005
Posts: 3,716
I presume you could obfuscate it.
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 09:19 AM   #4
DeadFidel
Confirmed User
 
DeadFidel's Avatar
 
Join Date: Jul 2003
Location: This was my wife circa 2002
Posts: 6,749
Quote:
Originally Posted by nexcom28 View Post
I presume you could obfuscate it.

DeadFidel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 09:36 AM   #5
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,383
Here you go: http://www.fhgstore.com/wmtools.html and find the X-HTML Encoder there.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 09:50 AM   #6
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
Quote:
Originally Posted by mikesinner View Post
Lets say I want to hide my Google analytics code so that no surfer can see it when they click on the source code. can I do this simply?

This would make is so I can track all adult and mainstream sites together without letting anyone know I run both.

I think this isn't possible if I want the code to track the traffic.
Just make a new property.
__________________
I'm out.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 10:00 AM   #7
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by mafia_man View Post
Just make a new property.
new property/new account , idk but one of them has fixed id and one last incremental so its eacy to find all others site and

other creates new random id for each account i guess..

i have 10+ accounts in admin, i am not talking about differnt analytics accounts ..
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 12:33 PM   #8
bbobby86
partners.sexier.com
 
bbobby86's Avatar
 
Industry Role:
Join Date: Jan 2007
Location: San Francisco, CA
Posts: 11,926
you can upload analytics.php file with your code in it... and just include analytics.php in header...
__________________

bbobby86 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 01:09 PM   #9
lezinterracial
Confirmed User
 
Industry Role:
Join Date: Jul 2012
Posts: 3,073

Quote:
Originally Posted by bbobby86 View Post
you can upload analytics.php file with your code in it... and just include analytics.php in header...

Looks like easiest option here.
__________________
Live Sex Shows
lezinterracial is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 01:14 PM   #10
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,108
Quote:
Originally Posted by bbobby86 View Post
you can upload analytics.php file with your code in it... and just include analytics.php in header...
That will show it in the browser source code.

Analytics is a browser script running client-side. So your only choise would be to opfuscate it
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 01:15 PM   #11
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by lezinterracial View Post
Looks like easiest option here.
That will still show in the sources.
You can base64 encode the entire GA code, and then use eval() and base64 decode it in javascript.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 01:16 PM   #12
Va2k
I’m still alive barley.
 
Va2k's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Va
Posts: 10,060
Quote:
Originally Posted by lezinterracial View Post
Looks like easiest option here.
Well then they can view the source code and find that file name.php and add the domain name/filename.php and blam there you go they will have what you do not want them to have!

Damn as I was typing this out I was beating to it lol
__________________
Va2k is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 01:23 PM   #13
nexcom28
So Fucking Banned
 
Join Date: Jan 2005
Posts: 3,716
Quote:
Originally Posted by DeadFidel View Post
????????
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 02:10 PM   #14
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,413
Quote:
Originally Posted by Fungus View Post
Well then they can view the source code and find that file name.php and add the domain name/filename.php and blam there you go they will have what you do not want them to have!

Damn as I was typing this out I was beating to it lol


"beaten to it" would be normal.
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 04:16 PM   #15
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
encode in some way yes, hide totally (from skilled guys like me) no fucking way
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 04:24 PM   #16
pornmasta
Too lazy to set a custom title
 
pornmasta's Avatar
 
Join Date: Jun 2006
Posts: 19,097
how to find the stats of someone else in analytics ?
pornmasta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-24-2013, 04:37 PM   #17
Aidoru
Confirmed User
 
Aidoru's Avatar
 
Industry Role:
Join Date: Jul 2012
Posts: 655
What nexcom said
__________________
Gravurecash - 50% Lifetime RevShare on all signups and rebills, 5% Webmaster Referral
Aidoru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2013, 12:28 AM   #18
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by pornmasta View Post
how to find the stats of someone else in analytics ?
you cant, but you can find thier other sites using their analytics code.,

reverseinternet.com
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2013, 02:19 AM   #19
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,383

I already gave you a 100% working solution above. Here is an example.

1) Some GA code "AS IS":

Code:
<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
  try {
    var pageTracker = _gat._getTracker("UA-15549240-1");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
  } catch(err) {}
</script>
2) The same GA code altered by X-HTML Encoder:

Code:
<SCRIPT LANGUAGE="Javascript"><!--
//encoded with X-HTML Encoder (http://www.maturedesign.com)
function xhtmldecode(x){
document.write(unescape(x))
}
function runit(){
x="%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%20%20%76%61%72%20%67%61%4A%73%48%6F%73%74%20%3D%20%28%28%22%68%74%74%70%73%3A%22%20%3D%3D%20%64%6F%63%75%6D%65%6E%74%2E%6C%6F%63%61%74%69%6F%6E%2E%70%72%6F%74%6F%63%6F%6C%29%20%3F%20%22%68%74%74%70%73%3A%2F%2F%73%73%6C%2E%22%20%3A%20%22%68%74%74%70%3A%2F%2F%77%77%77%2E%22%29%3B%0D%0A%20%20%20%20%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%22%25%33%43%73%63%72%69%70%74%20%73%72%63%3D%27%22%20%2B%20%67%61%4A%73%48%6F%73%74%20%2B%22%67%6F%6F%67%6C%65%2D%61%6E%61%6C%79%74%69%63%73%2E%63%6F%6D%2F%67%61%2E%6A%73%27%20%74%79%70%65%3D%27%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%27%25%33%45%25%33%43%2F%73%63%72%69%70%74%25%33%45%22%29%29%3B%0D%0A%3C%2F%73%63%72%69%70%74%3E%0D%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%74%72%79%20{%0D%0A%20%20%20%20%76%61%72%20%70%61%67%65%54%72%61%63%6B%65%72%20%3D%20%5F%67%61%74%2E%5F%67%65%74%54%72%61%63%6B%65%72%28%22%55%41%2D%31%35%35%34%39%32%34%30%2D%31%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%44%6F%6D%61%69%6E%4E%61%6D%65%28%22%6E%6F%6E%65%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%41%6C%6C%6F%77%4C%69%6E%6B%65%72%28%74%72%75%65%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%74%72%61%63%6B%50%61%67%65%76%69%65%77%28%29%3B%0D%0A%20%20}%20%63%61%74%63%68%28%65%72%72%29%20{}%0D%0A%3C%2F%73%63%72%69%70%74%3E"
xhtmldecode(x)
}
runit()
//-->
</script>
Do you need anything else?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2013, 02:29 AM   #20
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by CyberSEO View Post
I already gave you a 100% working solution above. Here is an example.

1) Some GA code "AS IS":

Code:
<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
  try {
    var pageTracker = _gat._getTracker("UA-15549240-1");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
  } catch(err) {}
</script>
2) The same GA code altered by X-HTML Encoder:

Code:
<SCRIPT LANGUAGE="Javascript"><!--
//encoded with X-HTML Encoder (http://www.maturedesign.com)
function xhtmldecode(x){
document.write(unescape(x))
}
function runit(){
x="%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%20%20%76%61%72%20%67%61%4A%73%48%6F%73%74%20%3D%20%28%28%22%68%74%74%70%73%3A%22%20%3D%3D%20%64%6F%63%75%6D%65%6E%74%2E%6C%6F%63%61%74%69%6F%6E%2E%70%72%6F%74%6F%63%6F%6C%29%20%3F%20%22%68%74%74%70%73%3A%2F%2F%73%73%6C%2E%22%20%3A%20%22%68%74%74%70%3A%2F%2F%77%77%77%2E%22%29%3B%0D%0A%20%20%20%20%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%22%25%33%43%73%63%72%69%70%74%20%73%72%63%3D%27%22%20%2B%20%67%61%4A%73%48%6F%73%74%20%2B%22%67%6F%6F%67%6C%65%2D%61%6E%61%6C%79%74%69%63%73%2E%63%6F%6D%2F%67%61%2E%6A%73%27%20%74%79%70%65%3D%27%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%27%25%33%45%25%33%43%2F%73%63%72%69%70%74%25%33%45%22%29%29%3B%0D%0A%3C%2F%73%63%72%69%70%74%3E%0D%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%74%72%79%20{%0D%0A%20%20%20%20%76%61%72%20%70%61%67%65%54%72%61%63%6B%65%72%20%3D%20%5F%67%61%74%2E%5F%67%65%74%54%72%61%63%6B%65%72%28%22%55%41%2D%31%35%35%34%39%32%34%30%2D%31%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%44%6F%6D%61%69%6E%4E%61%6D%65%28%22%6E%6F%6E%65%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%41%6C%6C%6F%77%4C%69%6E%6B%65%72%28%74%72%75%65%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%74%72%61%63%6B%50%61%67%65%76%69%65%77%28%29%3B%0D%0A%20%20}%20%63%61%74%63%68%28%65%72%72%29%20{}%0D%0A%3C%2F%73%63%72%69%70%74%3E"
xhtmldecode(x)
}
runit()
//-->
</script>
Do you need anything else?
I could use online version of that
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2013, 02:29 AM   #21
[ Nate ]
Confirmed User
 
[ Nate ]'s Avatar
 
Industry Role:
Join Date: Mar 2007
Location: Asia
Posts: 1,468
Make a new google account for the mainstream and then import the data into your current account so you can view them all from the same admin.
__________________
Ladyboy Inc. / Asian Money Machine
[ Nate ] is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2013, 02:31 AM   #22
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,383
Quote:
Originally Posted by KlenTelaris View Post
I could use online version of that
If I have some free time, I'll make the one. That desktop app was written almost 10 years ago...
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-25-2013, 02:40 AM   #23
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
new property or code your html, but people that will track you will probably bypase coding...
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.