Re: how to track clicks page running in Iframe on different domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Neeraj.
I have completed my script with your help.
thank u verymuch




Rahul Dongre

    

--- On Sun, 15/8/10, Neeraj jain <neerajjain80@xxxxxxxxx> wrote:

From: Neeraj jain <neerajjain80@xxxxxxxxx>
Subject: Re:  how to track clicks page running in Iframe on different domain
To: php-objects@xxxxxxxxxxxxxxx
Date: Sunday, 15 August, 2010, 4:21 PM

var domain = document.domain


Neeraj
On Fri, Aug 13, 2010 at 3:19 PM, rahul dongre <mady_dongre@xxxxxxxxxxx>wrote:

>
>
>
> But how i get domain name(where my iframe is placed) using this function.
>
>
> Rahul Dongre
>
>
>
> --- On Thu, 12/8/10, Neeraj jain <neerajjain80@xxxxxxxxx<neerajjain80%40gmail.com>>
> wrote:
>
> From: Neeraj jain <neerajjain80@xxxxxxxxx <neerajjain80%40gmail.com>>
> Subject: Re:  how to track clicks page running in Iframe on
> different domain
> To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>
> Date: Thursday, 12 August, 2010, 12:02 PM
>
>
> in this case do one thing,
> provide some extra lines of code in javascript with your iframe code which
> will send some data such as counter to your php script which exist on your
> domain. then you can use that counter.
>
> var counter = 0 ;
> $('#frameid').bind('load',
> function()
>                                         {
> counter++;
> $.ajax({ url: "your_php_script_url?ctr="+counter, success: function(data) {
> alert("this is new counter")}, error:
> function(response){alert(response.statusText)} });
>
>                                         });
>
> Is that what you want??
>
> On Thu, Aug 12, 2010 at 3:13 PM, rahul dongre <mady_dongre@xxxxxxxxxxx<mady_dongre%40yahoo.co.in>
> >wrote:
>
> >
> >
> > Thank Neeraj,
> > one more problem i have,i am sharing my code in form of iframe. user can
> > place this iframe in their webpage.now i want to listed all domains that
> are
> > using my iframe on my Google analytical report.is it possible. i Googled
> a
> > lot but not find satisfy answer .............
> >
> > Rahul Dongre
> >
> >
> >
> > --- On Thu, 12/8/10, Neeraj jain <neerajjain80@xxxxxxxxx<neerajjain80%40gmail.com>
> <neerajjain80%40gmail.com>>
> > wrote:
> >
> > From: Neeraj jain <neerajjain80@xxxxxxxxx <neerajjain80%40gmail.com><neerajjain80%
> 40gmail.com>>
>
> > Subject: Re:  how to track clicks page running in Iframe on
> > different domain
> > To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com><php-objects%
> 40yahoogroups.com>
>
> > Date: Thursday, 12 August, 2010, 9:41 AM
> >
> >
> > var counter = 0 ;
> > $('#frameid').bind('load',function()
> >                                         {
> >                                             alert("i m in frame load")
> >                                             counter++;
> >                                         });
> >
> > When url is changed inside an iframe, the load events is called.
> >
> > Cheers,
> > Neeraj
> >
> > On Tue, Aug 10, 2010 at 7:48 PM, rahul dongre <mady_dongre@xxxxxxxxxxx<mady_dongre%40yahoo.co.in>
> <mady_dongre%40yahoo.co.in>
>
> > >wrote:
> >
> > >
> > >
> > > hi ,
> > > i want to know that how to track clicks page running in Iframe on
> > different
> > > domain.
> > > actually   i am calling my page in side an iframe on different
> domain.now
> > i
> > > wnt to know number of clicks on page calling inside the iframe.
> > > any help ...............
> > >
> > > Rahul Dongre
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> >
> > Are you looking for a PHP job?
> > Join the PHP Professionals directory Now!
> > http://www.phpclasses.org/jobs/
> > Yahoo! Groups Links
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Are you looking for a PHP job?
> Join the PHP Professionals directory Now!
> http://www.phpclasses.org/jobs/
> Yahoo! Groups Links
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]



------------------------------------

Are you looking for a PHP job?
Join the PHP Professionals directory Now!
http://www.phpclasses.org/jobs/
Yahoo! Groups Links







[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux