Amazon Product Advertising Item Lookup IFrame Page Size - web-scraping

I am trying to scrape the iFrame returned by the Amazon Product Advertising API itemLookup iFrame. The itemLookup call returns this:
<ItemLookupResponse>
<Items>
<Item>
<ASIN>0316067938</ASIN>
<CustomerReviews>
<IFrameURL>
http://www.amazon.com/reviews/iframe?akid=AKIAIOSFODNN7EXAMPLE&asin=0316067938&exp=2011-08-01T17%3A54%3A07Z&linkCode=xm2&summary=0&tag=ws&truncate=256&v=2&sig=rhBGpRiaQ3L78yqgE5y30u8bF6zXsK3HL%2F2KpNMJns0%3D
</IFrameURL>
</CustomerReviews>
</Item>
</Items>
I can't seem to get more than three reviews in the iFrame. Does anyone know if there is a way to adjust the page size? I can't find anything about it in the documentation.

I assume that by "page size" you mean the number of reviews you can get from the Amazon Reviews iFrame?
If so, you can't set the number of reviews you are interested in in the request. The iFrame content, with the limitations you've already met, is all you can get from Amazon.
Also, be aware that your iFrame URL is valid for 24 hours. After that period, you'll have to generate the iFrame URL again.

Related

Permanently blocking a page/URL out of Google Analytics

I have a question about filtering / segments in Google Analytics for a unique scenario with one of my clients. I essentially want to block a page URL forever out of analytics --- never see it counted page views, top pages, etc. What is the best way to do that?
Developers added a widget to my client's website which uses an iframe URL from their domain. This iframe is on 30+ different URLs which makes this URL seem like it is the #1 top page which is severely skewing their analytics. I am told there is no other way to do it - especially with the budget/scope of work - which means I need to find the best way to filter this out of Google Analytics reporting.
For instance, I am looking at "Behavior - Overview" - this iframe URL is #1. I know I can click into "view full report" and from there hit advanced and exclude this page to get the real results.
However, is there a top-level filter that can be permanently activated to block this page so you do not have to do the advanced filtering every time you are in Google Analytics?
Thank you for your help!
Just to confirm, your issue is this:
https://support.google.com/analytics/answer/1012049?hl=en
"Inflated number of pageviews"
If you just want to block it, would this not work?
In GA, go to Admin -> Filters -> Create new filter -> Custom -> Exclude by Request URL -> use the URI that you refer to.
I'd be interested to know if that works!

Page views count decreases when i select page path as dimension

I am using google Analytic`s in my product to calculate page views. I am facing a problem. When i call GA API with only ga:source as a dimension the count is 7176 but when i add ga:pagePath in dimension, the count is decreased.
If I understand correctly, page path is when visitors click the full url of your site to browse it.
Source, on the other hand, applys when visitors enter your website after a google search of your site, or one of your pages AND those who added the full url.
So, it is logical that the ga:source is greater than ga:pagePath

Website doesn't appear In first 20 list of links in a Google Search

I have recently completed one website and am now working on SEO for same, in order to get listed in first 20 links of Google search.
Basically our website is on car rent services in Goa, India.
I completed with following things in SEO
Verified my website in Search console
Uploaded the .html file on server
Also uploaded robots.txt.
Generated site map and uploaded the same on server
Pages submitted for indexing ....in fetch as Google some pages show status as complete and partial
Key words added to pages using plugin.
All the above has been done but still our website is not getting listed in first 20 of Google search.
Pages submitted for indexing but still count shows 0.
Please help
Thank you
SEO is a slow and steady process; naturally it will take time to achieve the top position in search result.
Things you should do;
1) Add meta title and description to each page based on the keywords
2) Include keywords in URL of the page
3) Create a webmaster tool and use fetch page option to get listed in search engines (Example: Google webmaster is must needed)
4) Create brand pages in social media sites and interlink with website
5) submit your website to dmoz.org
https://moz.com/beginners-guide-to-seo --> Useful guide for you
Check out Google's Webmaster Guidelines: https://support.google.com/webmasters/answer/35769
Following these guidelines will help Google find, index, and rank your site.

Content is deleted But URL still crawled

I have deleted some content from my website, but google search still shows me that content's url , after clicking on that url i get page not found error, please give me any link of drupal website to handle this situation.
Thanks & Regards,
Abbas Mulani
Create a Google Webmasters account and add your site. (all info on how to add available in Google webmasters itself).
Once you have done that you can submit list of URLs to Google to remove it from index, it might take a day or two. But this is the fastest way to get them removed.

google analytics tracking in iframe feeding to different partners

our partners sites leverages our iframes in their own websites. I was wondering if there is a way to track the analytics on the iframes.
The problem is, if we also utilize these iframes on our own website, how do i avoid duplicate tracking where a visit is counted on our domain's analytics and also counted again in iframes? is there a way to get around it?
Adding the Google Analytics code to the iframe should work just fine. The easiest way to avoid duplicate tracking is probably to add a query parameter like ?partner=foo to the URLs that your partners use. You can check for your own site's value and not run the Google Analytics code at all, and also pass the partner ID to Google so that you can break down the reports by partner.
EDIT
Use ?utm_source=foo as the partner parameter, and Google Analytics will pick it up without you doing anything. Filter out your own impressions with
if ( location.href.indexOf("utm_source=mysite") < 0 )
{
// Google Analytics code here
}
or you can set up a filter on your Google Analytics profile to filter them out.
You can also add utm_nooverride=1 to your iframe source tag. This will make sure that the page that called your iframe on the 3rd party site will not get credit for the referral, but rather the initial source (AdWords campaign, search query, etc.).
Example:
<iframe src="mypage.html?utm_nooverride=1" width="1" height="1"></iframe>

Resources