GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   tracking ccbill's /confirmSignup.cgi page in google analytics (https://gfy.com/showthread.php?t=1080443)

Alex911 09-05-2012 10:08 AM

tracking ccbill's /confirmSignup.cgi page in google analytics
 
Hi all,

I am trying to modify my join page to track ccbill stats in google analytics (tracking Multiple domains in Google Analytics) using _link() and _linkByPost()

It looks like I have to modify the CCBILL form!

I.E. this ccbill form:

Quote:

<form action='https://bill.ccbill.com/jpost/signup.cgi' method=POST>
<div align="center"><b><font color="#000000" size="4" face="Verdana, Arial, Helvetica, sans-serif">CREDIT CARD</font></b>
<input type=hidden name=clientAccnum value='934401'>
<input type=hidden name=clientSubacc value='0002'>
<input type=hidden name=formName value='50cc'>
<input type=hidden name=language value='English' >
<input type=hidden name=allowedTypes value='0000001322:840,0000040762:840' >
<input type=hidden name=subscriptionTypeId value='0000001322:840' >
<br>
<!----------------Don't Modify button text------------------------------->
<input type="submit" name="submit" value="Instant Credit Card Access">
</div>
</form>
After a lot of research and a big headache :eyecrazy I found that if I want the ccbill form to allow Google Analytics to track Multiple Domains, It needs to be setup with the following code in the form:

Quote:

<form name="f" method="post" onsubmit="pageTracker._linkByPost(this);">
My question is: how should I add this line of code in the CCBILL form?

Should I changeonly the last line of the CCBILL form:
Quote:

<input type="submit" name="submit" value="Instant Credit Card Access">
by something like this?
Quote:

<input type="submit" name="submit" value="Instant Credit Card Access" onsubmit="pageTracker._linkByPost(this);">
Thanks for your insights !

RyuLion 09-05-2012 10:27 AM

Have you tried using the Goal function?
I added these and that's how I track what you're trying to do..
/jpost/approved.cgi
(approved sale)

Ask your ccbill rep what other URL's you should add..

Bladewire 09-05-2012 10:36 AM

Quote:

Originally Posted by RyuLion (Post 19164905)
Have you tried using the Goal function?
I added these and that's how I track what you're trying to do..
/jpost/approved.cgi
(approved sale)

This is how we do it as well :food-smil02

Alex911 09-06-2012 06:48 AM

Quote:

Originally Posted by RyuLion (Post 19164905)
Have you tried using the Goal function?
I added these and that's how I track what you're trying to do..
/jpost/approved.cgi
(approved sale)

Ask your ccbill rep what other URL's you should add..

Yes that's what I use as well but wouldn't it be nice to actually see what happens on CCBILL's billing forms? (especially since now GA is in real time)

Alex911 09-07-2012 04:06 AM

I found this in Google Analytics Help:

Quote:

Set up forms.
If you send information between domains using forms, you'll need to use the _linkByPost() method.

Asynchronous Code (default)
<form name="f" method="post" onsubmit="_gaq.push(['_linkByPost', this]);">


Note: This should also work with forms that use GET method. However, keep in mind that since both the form data and the Analytics tracking can create a long query string, using this method with GET forms might cause issues if your web server imposes a URL length restriction (such as 255 bytes).
Should I add the whole line <form name="f" method="post" onsubmit="_gaq.push(['_linkByPost', this]);"> into the ccbill form?

Alex911 09-11-2012 03:25 AM

Got the answer on another board:

Quote:

<form action='https://bill.ccbill.com/jpost/signup.cgi' method="POST" onsubmit="_gaq.push(['_linkByPost', this]);">

DWB 09-11-2012 05:02 AM

Quote:

Originally Posted by Alex911 (Post 19181988)
Got the answer on another board:

What data does GA give you from the form?

CurrentlySober 09-11-2012 05:27 AM

Quote:

Originally Posted by Squirtit (Post 19164925)
This is how we do it... :food-smil02







:thumbsup:thumbsup:thumbsup

Alex911 09-12-2012 02:26 AM

Quote:

Originally Posted by DWB (Post 19182073)
What data does GA give you from the form?

After a few hours of data, it still shows bill.ccbill.com as a source when someone hits the /jpost/approved.cgi page ! :Oh crap

It looks like the GA cookie is not forwarded when a visitor submits a form that takes him to bill.ccbill.com, and as it does not find a cookie it will start a brand new GA visit as a new visitor.

Yet I use the <form action='https://bill.ccbill.com/jpost/signup.cgi' method="POST" onsubmit="_gaq.push(['_linkByPost', this]);"> to forward the damn cookie!!!

I've contacted ccbill on this thread: https://gfy.com/showthread.php?t=921411 to have some kind of explanation because it looks like they're not doing their job there, even the GA snippet on their forms use the old traditional syntax, not the async one :mad:


All times are GMT -7. The time now is 03:24 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc