Here is what I'd like to achieve: I have a landing page and a list of contacts. I want to send each of my contacts the link and be able to see the analytics (duration, visitor flow, conversion) for each individual. Most importantly, I just want to confirm they visit the link.
What I'm thinking of doing is using a Wordpress URL parameter to add a unique identifier to the page for each contact, and then track those pages in Google Analytics.
What is the best practice? Is there a better/faster/easier way to do track individual visitors in Wordpress and Google Analytics?
You should be building your own url for each user. I would build a url first with this link, then write a script or something to create a unique url for each user in your contacts list.
https://support.google.com/analytics/answer/1033867?hl=en
Hope that helps!
EDIT: You can also try just adding ?contact_id=99999, visit the link and then go to Google Analytics, look at the live view, and see if your parameter shows up.
Whats Happening Now: http://analytics.blogspot.com/2011/09/whats-happening-on-your-site-right-now.html
Parameters do show up in GA because on most shopping carts each page, product etc have url parameters that are unique, and can be viewed from GA. If it didn't most website applications would not be compatible with GA.
Related
I am working on a website where I want to get keyword that my website was searched for on Google.
For example my website is for architect services, someone goes on Google and searches for "Architectural drawings" and gets my site in search and clicks.
I want to get that keyword stored as variable to serve dynamic content.
EDIT
Looking at the answers I think i did not make myself clear.
I am signed up with analytics and I get reports on what keywords by site is being searched for.
What is currently want is When user clicks on google search result to visit my page, i want to use the keyword in order to deliver dynamic content on my page. so if user searched for "Architectural Drafting" and click on my link on search result, i want to deliver content related to architectural drafting and if keyword id "Architectural Design" then content may differ, so i need to get keyword stored as variable when visitor is on my page.
Is that possible?
EDIT 2
I got answer that this is not possible but somehow i came along a plugin that claims under "What The Visitor Wants to Learn From Your Website SPECIFICALLY" first point "by the keywords people are using to land on your website" check link [1]. if they can personalize on the keyword people used to land on my website, there must be some technique used if not cookies, i want to find that out.
[1] http://smartduu.com/content-personalization-plugin/
Regards
Manoj Soni
You need to sign up Google Search Console to see what keyword searches on Google.
Track your site's search performance with Google Search Console and
browse around for more webmaster resources.
Optionally you can sign up Google Analytics and links it up to Google Search Console so that you can access more advance data for keyword search.
If you associate a Google Analytics property with a site in your
Search Console account, you’ll be able to see Search Console data in
your Google Analytics reports. You’ll also be able to access Google
Analytics reports directly from the Links to your site, and Sitelinks
pages in Search Console.
No, that is not possible, at least not for organic search. The keyword is not included in the request that redirects a user from the search results to your page.
If you use Google Adwords then you can ad value track parameters with the search term dynamically filled in to your destination urls. This will work for paid traffic only.
Google Analytics will not help here (for the most part it does not include organic search keywords, either).
Google Search Console will give you info on organic search terms, but not in realtime and will not help for your use case.
I want to show number of visits of each article on my page. I am trying to download a list of urls and visits from Google Analytics using PHP class. I was searching for some sample code but no luck. I need result with all single urls and visits of these urls. I found only samples where people were getting total visits or visit of single url. I need a list of urls and visits.
Are you using the google-api-php-client. It has a class "\Google_AnalyticsService" to perform analytics api calls. You can get your pagePaths by setting the "dimensions" of your query.
I am connecting to the Facebook API using HybridAuth on the server side (backend is written in PHP). This is for a SaaS publishing application that is hosted on our servers. I understand the mechanics of OAuth and that once I accquire the appropriate permissions from the user, I can write and read from the Open Graph API, which in theory will allow me to do almost anything.
The problem is that I would like to use some of Facebook's social plugins. In particular, I would like to implement the like button so that it automatically appears for each blog post, article and page.
The problem is that the like button and the various Facebook plugins require an app_id. I would prefer not requiring users to add the developer app to their account and creating an app to get an app_id as it can be a confusing process for non-developers.
Is there anyway we can create or retrieve an app_id from open graph (which we can store and use to generate the like buttons and other facebook widgets)?
With the migrations, I understand that each liked URL will not have it's own page. Once the user clicks a like button on your site, he automatically likes your page. However, let's say I have a page called http://www.mystore.com/products/some-awesome-product and there are other similiar pages, all with a like button. Is it possible that when clicking like, the user automatically likes our Facebook page, but when an item is published in their news feed for the like, the URL links to that specific product? Effectively, is there a way for users to like multiple pages from my site?
Update: It looks like we can generate app_ids programmatically with the create application API in the legacy REST API. However, this does not seem to be an option with the graph API.
Seems like we cannot programatically create an app_id for an account. This is not an issue, as we will just create a small guide to guide our users through creating an app and submitting the app_id to us using a form. Not perfect, but should be easy to implement.
As for URLs, liking something will not automatically like your Facebook page. If href is blank, the current page will be liked. If you set your facebook page in the href parameter, then your facebook page will be liked.
I want to make a facebook box on my website, with a custom Like button to like our facebook page. And in text a line like: 8763 people like our facebook page. I can build both these using the graph api and json_decode().
But is it also possible to get 10 pictures of the people who liked my page? It's something the designer brewed up, and Im told to just make this. :)
Gr.
Not possible in a straightforward way, only friends of the current authenticated user.
SELECT uid FROM page_fan WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND page_id = "xxxx"
You could look into grabbing the ids from http://developers.facebook.com/docs/reference/api/page/#conversations hold them in array with only unique ids up until 10.
Also http://www.facebook.com/brandpermissions/logos.php
We permit the Facebook Like Button logo to be used in connection with the Like button social plugin, which enables users to make connections to your pages and share content back to their friends on Facebook with one click. We also permit use of the Facebook Like Button in offline advertising (e.g., print advertising) to reference and direct people to your Facebook Page or your website that has the Like Button social plugin implemented. We do not allow the use of the Like Button logo in online advertising. Please see the Usage section below for more information.
Which to means you cannot have custom Like boxes or buttons, so be sure you are not breaking policy
If you already have the user ids, then it’ll be really simple – see “picture” connection on https://developers.facebook.com/docs/reference/api/user/
I was trying to do something like Google's Adsense. I believe they use javascript? But is using iFrame a good idea to have someone put on their site if they want to display ads? Would iFrames able to capture user's data information such as cookies (how adsense works, they get users cookies--that's why they can display ads of sites you've visited, correct me if I'm wrong)?
If this works, how would I able to get users cookies? Is it possible? How does google get users cookies?
Thanks for your help in advance!
(how adsense works, they get users cookies--that's why they can display ads of sites you've visited, correct me if I'm wrong)?
You are wrong. Google can only access Google's cookies. It's a big point in cookie security; no browser will allow you to get to other sites' cookies. Google can use cookies to identify you, but can't use them to see your behaviour on non-Google sites.
AdSense knows what you've been browsing by checking what links you click on Google Search and other services, what Ads you click on, what pages you visit that have AdSense in them (window.top.document.location) and which pages you visit them from (window.top.document.referrer), and probably more methods that people smarter than me at Google come up with :)
EDIT: as shown in comments, in fact one can't rely on top properties.
No you can't get these cookies. They're stored to be readable only by the domain AdSense uses to log people.
This is why an iframe is used, it allows google to load a specific url on a domain they control, the url contains an identifier telling them what AdSense campaign is being used.
Besides, the cookie which is present (but not accessible by you) doesn't contain any information about the user itself. It is instead just an identifier to link the person to data which is already present on the google servers.