Tracking visitors - php

I have a video embedded in a third party blog. Is it possible to track how a visitor landed up in that blog and viewed my video. Can you please give some guidance as to how this can be achieved.
Please note I don't have access to the analytic of the third party blog. It is only my video which has been embedded into that blog.

You could try using Google Analytics or even Piwik

I dont think its possible without embedding any kind of tracking code to that specific page. If you have access to that page, you need to install some third party stat counter code, such as Google Analytics or Statcounter etc.

Related

What is a good PHP analytics script?

I've created a completely custom website with a custom CMS. I would like to be able to use Google Analytics to get information such as visitor count, popular pages, visitor location(?), etc. I'm not into the analytics part of websites yet, so I've been looking for some easy ways to implement GA into the CMS. I'd love for the analytics dashboar to look similar to Blogger's analytics dashboard.
Does anyone have experience with a script that will get information from GA, and display it in a nice format?
Thanks!
By the way, I am very new to GA, so sorry if some of this doesn't make sense.
Piwik is a good option. It is open source and exposes a web API, so you can probably customize it to your needs.

How do I display Google Analytics reports or realtime report on my website page?

is that possible to display google analytics reports or realtime report on my website page?
i have created google analytics api and tested on the localhost and it is working and redirect url which i given into google analytics api Redirect URIs:
After all the process of google analytics api how do i display analytics
visitor reports on my website page?
How to display google analytics realtime report on my website page?
i want to display Analytics Standard Reports Like (Real-Time-Overview,Audience- Overview,Traffic-Sources-Overview,Content-Overview,Conversions-Overview) Reports Or Chart On My Website?
The real-time reports are not yet possible. If you take a look at:
https://code.google.com/p/analytics-issues/issues/list
On the top of the list is "Access to Real Time data".
Check out EmbeddedAnalytics.
This is a service which allows developers to easily embed GA based charts directly into websites. There is no need to know the API or any other charting software. All you do is create a chart on our site, grab a snippet of code, and embed on your site where you want the chart to show.
(disclaimer - I work with them)
Google has now launched a real time API. It is only in beta, however, you can sign up now, and it should be available to everyone later.
http://analytics.blogspot.co.uk/2013/08/google-analytics-launches-real-time-api.html
Google has launched the real-time API, To embed, Follow the steps, embed the code and have fun .
Here is the examples.
https://ga-dev-tools.appspot.com/embed-api/
You can use following API provided by Google.
https://developers.google.com/analytics/devguides/reporting/

Simplest way to get data from Google Analytics?

I am building a service like Wix.com, users can build simple mutli-pages website with ease. Every website will be including in a global Google Analytics account with a unique profile, then the tracking code is to be placed in the website pages.
Now, on the website dashboard i want to show the online visitors and the total number of visists for the website for each website separatly, trying to do so i have :
Tried using GAPI (http://code.google.com/p/gapi-google-analytics-php-interface/) but due to Google Analytics major update it doesn't work anymore.
I found Google Core reporting API for Analytics, but i believe it's made for 3rd party applications that accesses GA data for their clients, meaning that the user should have a Google account and GA profile for the website, and the App just connects to the account and retrieves data. And this of course isn't the case here; i can't ask the user to create a Google account and embed the tracking code in the website HTML; else what am i here for ?
Got the picture ? I need the simplest method to do this, no fancy stuff.
PS: Minutes ago i found this: Google Analytics Query Explorer (http://ga-dev-tools.appspot.com/explorer/), it's a 3rd party app that builds custom queries for GA and gives you the link, something like that :
https://www.googleapis.com/analytics/v3/data/ga?ids= (the ID) &dimensions=ga%3AvisitCount&metrics=ga%3Avisitors&segment=gaid%3A%3A-1&start-date=2013-02-01&end-date=2013-02-23&max-results=50
Now, trying to access the URL (thinking; this is easy :) ) the respond is a request for login first :
{"error":{"errors":[{"domain":"global","reason":"required","message":"Login Required","locationType":"header","location":"Authorization"}],"code":401,"message":"Login Required"}}
Thanks in advance.
Unless you have fewer than 50 clients this plan is not going to work the way you're asking for. (There is a limit of 50 profiles per account.)
The client will have to make their own GA number and provide it to you as a setting for their website.
In order to display the customers reports on a dashboard on your site you're also going to have to get them to authorize a GA App you create for access.

Google adsense reference

My client has a Google Adsense account and one ad-campaign with several ads under it.
The client needs to identify the incoming users who come through clicking each ad.
The client uses Drupal PHP site.
Is there a possibility to track incoming users who come through Google ads?
Use Google Analytics. From the Features page:
Integrated with AdWords and AdSense
Optimize your AdWords performance with post-click data on your keywords, search queries, match type and more. AdSense reports show publishers which site content generates the most revenue.
You can add arguments to the urls used in the adds:
http://example.com
changed to
http://example.com?google=ad123
You can then in your Drupal check for the presence of the google argument in the $_REQUEST variable and act accordingly. This should be done in hook_boot.
http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html
You may use events, and you may add custom parameters to them, but they didn't work for me on the first shot and i gave up. If you figure out how to use them please post a story on how you did that:)

php class for seo

I recently use the great php class call : Google Analytics PHP API. I manage to get it working to get a lot of info and stats for my 25+ website that have analytic
Now i like to get more data like
The page rank the google placement
(where i am on google #325 or #520)
Google Page Rank
Google Indexed Pages
Traffic Rank
Inbound Links
DMOZ Directory
Yahoo! Directory
get a summary (my way) much more like http://websitegrader.com
do you know a php class to do that ?
I guarantee you're not going to find one "class" that does all that for you.
Manually checking your site's rank on Alexa is probably going to be your best source of information on top of what Google Analytics is already giving you.
Google Analytics does NOT require any sort of API.
The site you linked to asks for your Google username/password. I'm flagging this question. I encourage others to do the same.
you can get all from alexa api (Alexa Web Services)
http://aws.amazon.com/awis/
but not free
$0.00015 per request ($0.15 for 1,000 requests)
i thought in the past to build a website to arrange an Arab sites
but arrived at the checkpoint
somme website use awis
www.statbrain.com
www.websiteoutlook.com
www.websitevaluecalculator.com

Categories