[google-appengine] Re: Determine IP or Country of request..?

2009-05-15 Thread pranny

Hi,

There are two cases in here
1. The Google Analytics way
2. The anonymous way

In the GA way, you will providing the iframe source code to registered
users. In the anonymous way, you will be providing the iframe source
to an anonymous person.

In the GA way, you can add a small javascript variable that is unique
to the registered user, script is provided to. This is a method to
track the person(s) who will be adding that iFrame to their site.
Since, they are already registered, you have their location and other
details.

In the anonymous way, you can do the following
- use the javascript to find out the hosting site. Say for ex: your
code is pasted on http://codecontrol.blogspot.com so you can get this
information. Later you can find out the geographical location of this
particular site using third party services available

Have a look at WebOb. http://pythonpaste.org/webob/reference.html#request-body
It is what the webapp is build. So it can be used directly.
--
Cheers,
Pranav Prakash

"This life is more than ordinary"

On May 14, 10:51 pm, "astrid.thuec...@googlemail.com"
 wrote:
> Hi,
>
> We offer HTML content generated with a appengine. People can embed
> these via iframes in their website and visitors of their website see
> them.
>
> My questions is, can I get information about:
>
> 1. the people embedding our iframes
> 2. the visitors watching websites where our iframes are embedded
>
> Perhaps we could get something like a referer for the website that
> embeds the iframe?
>
> Thanks, Astrid.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Determine IP or Country of request..?

2009-05-14 Thread codingGirl

Thanks Andy.

so I can find out this info about

1.) info about the visitor of websiteXYZ which embeds our iframe

AND

2.) info about websiteXYZ who embeds our iframe the visitor is
watching

???

Sorry, I am a total beginner. Can you explain in a little more detail
how this is possible...also I am still doubting that 2.) works since
all we have is an iframe in their website. I thought it isn't allowed
to get info - Javascript or otherwise - from the iframe about the
website that embeds it - or am I wrong?



On May 14, 8:04 pm, Andrew Badera  wrote:
> You can use all the javascript you'd like to target window.parent and
> harvest the typical analytical info that's available client-side, and
> to generate requests against a server-side resource.
>
> As far as geolocating, there are services available that offer
> approximation, but not guarantees.
>
> Thanks-
> - Andy Badera
> - and...@badera.us
> - Google me:http://www.google.com/search?q=andrew+badera
> - This email is: [ ] bloggable [x] ask first [ ] private
>
> On Thu, May 14, 2009 at 1:51 PM, astrid.thuec...@googlemail.com
>
>  wrote:
>
> > Hi,
>
> > We offer HTML content generated with a appengine. People can embed
> > these via iframes in their website and visitors of their website see
> > them.
>
> > My questions is, can I get information about:
>
> > 1. the people embedding our iframes
> > 2. the visitors watching websites where our iframes are embedded
>
> > Perhaps we could get something like a referer for the website that
> > embeds the iframe?
>
> > Thanks, Astrid.
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Determine IP or Country of request..?

2009-05-14 Thread Andrew Badera

You can use all the javascript you'd like to target window.parent and
harvest the typical analytical info that's available client-side, and
to generate requests against a server-side resource.

As far as geolocating, there are services available that offer
approximation, but not guarantees.

Thanks-
- Andy Badera
- and...@badera.us
- Google me: http://www.google.com/search?q=andrew+badera
- This email is: [ ] bloggable [x] ask first [ ] private



On Thu, May 14, 2009 at 1:51 PM, astrid.thuec...@googlemail.com
 wrote:
>
> Hi,
>
> We offer HTML content generated with a appengine. People can embed
> these via iframes in their website and visitors of their website see
> them.
>
> My questions is, can I get information about:
>
> 1. the people embedding our iframes
> 2. the visitors watching websites where our iframes are embedded
>
> Perhaps we could get something like a referer for the website that
> embeds the iframe?
>
> Thanks, Astrid.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---