How to use the importxml function for the sector of a company on TMX money - import

I am very new to web scraping and I am trying to get the sector of a company off of the TMX website. I've tried tools like selector gadget on google chrome, without success.
Let's say for AAPL (Apple) on Fidelity: https://eresearch.fidelity.com/eresearch/evaluate/snapshot.jhtml?symbols=AAPL.
I would:
=if(isblank(A3),"",index(importxml("https://eresearch.fidelity.com/eresearch/evaluate/snapshot.jhtml?symbols="&A3&"","//div[#class='sub-heading']//span[#class='right']"),1))
Fidelity don't have the information for Canadian companies on their website. For the purpose of the comparison, I've tried and failed for the same company on TMX money:
https://money.tmx.com/en/quote/AAPL:US
What can I try to achieve this?

Related

How to get the most information from a tracking pixel, google analytics, and emails

So I am trying to track more information from our order confirmation emails or shipping confirmation emails. I have read online that tracking pixels can track IP addresses, devices, locations, and so on. I have added something like the following code to our emails to track email opens:
<img src="https://www.google-analytics.com/collect?v=1&tid=UA-XXXXXXXX-X&t=event&cid=test&cn=test&cs=email&ec=pixel&ea=open&el=my_email" width=1 height=1 style="display:block;">
Is there a way to get any more data using this method? Or do I have to use some other service in combination with the code in the emails?
Is there a way to get any more data using this method?
Sure, manually crafting GA requests is called measurement protocol in Google Analytics jargon. You can add/override a wide list of fields, here's the complete list from the documentation for référence:
https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
And an article, also from official Google docs, related to email tracking with measurement prorocol (event though it is quite short):
https://developers.google.com/analytics/devguides/collection/protocol/v1/email
Bé careful for the value used with the cid parameter, as it is used to.discriminate between clients. Using the same value everywhere will count every open as coming from the same user. But I believe the value "test" provided here is just for the sake of the example.
Please also be careful not to send any PII data to GA (name, postal adress, ...)

How facebook detects my location so precisely only based on IP address?

I have two-step authentication on facebook. I just tried to log in from my home PC but didn't write second step code.
I've got notification that somebody (me) was trying to login to my account and location was so precise (within 2 meters).
I wondered how facebook detects location so precisely only based on IP?
Today geolocation is in the core business of Marketing companies, there's a very developped market of customer data, so tons of mobile apps and services collect data such as usual IP addresses, personal information, interests, locations.
That information gets reselled to data brokers, aggregated, corrected. And then Facebook or others can buy that data, merge it, implement corrections and so and get tables for matching IPs and locations that are not public, it seems.
However they offer a high level API to perform market targeting which seems to use that data:
https://developers.facebook.com/docs/marketing-api/buying-api/targeting#location
In your case it was precise because they may have a good dataset based on your privacy settings experience, not only with facebook but with other geo-located apps. In my case their guess is wrong by hundreds of Km, because I was behind a corporate proxy.

Need assistance determining which Bing Maps API license needed

A company sells products/services, any customer that enters into an agreement to purchase those products/services, can access the company's website. Once logged in, the customer can see on a map, the location of their offices/branches by address. We are estimating the page accessing the API requests at 100 / day.
Google requires a premium plan to use their geocoding API, I confirmed this with a Google sales rep. However I am struggling to determine what plan is appropriate if Bing's map API was used, and unfortunately the online quote request I submitted, the email was bounced back to me, saying inbox was full lol !
Could someone assist me in determine which license I would need? We do not have any Azure subscriptions at this time, and we are not tracking via GPS, only address. Here is the link i am referencing: https://www.microsoft.com/maps/Licensing/licensing.aspx
Please contact the Bing Maps licensing team at maplic#microsoft.com and they will assist you in determining the best way to license this type of application.

What is Google Apps?

What is google apps and why are so many startup companies using it?
Google Apps is a collection of business software components delivered as a service, saving you from having to install Exchange, Office and the usual business stuff. Plus Google Apps allows people to write their own apps and install them on Google's servers. A lot of companies use Google Apps for email and calendering instead of Exchange these days. It saves costs.
One useful feature of Google apps is that it allows you to use the gmail interface to host email on google's servers for your own domain. So you can send/recieve email with an #example.com address (if your startup was called example.com).
Unlike many apps, the Google Business Apps are intuitive. Calendars, email, file sharing, contacts, and more are simple to use and will work virtually on any internet connected device.
basic benefits of google apps are -
1. It is Cost Efficient - For only $5 a month, you will receive email addresses for your team with your company's name, 30 GB storage you can use for file storage and sharing, online calendars, and the ability to easily create online spreadsheets, slides, text documents, and more. All these great features including admin controls and security from a name you can trust. If you prepay for a year you will actually save $10.
Security - The company is FISMA-Moderate level certified -- this is the same level of certification for the internal email usage within the United State's government. Google is also capable of supporting HIPAA compliance. Google is trusted by millions to virtually secure their email from any threats through routinely checking emails before downloading a document for any threats of viruses, pshing emails, malware and more.
User friendly and intutive interface.
Google Apps are...
“A set of intelligent apps including Gmail, Docs, Drive, and Calendar to connect the people in your company, no matter where in the world they are.”
Source: https://gsuite.google.com/together/
Examples: Google Calendar, Google Drive, Google Hangouts, Google Slides, Google Spreadsheets - those are all web-based applications ("apps").
G Suite is the name given by Google for their collection of applications. Formerly named “Google Apps for Work” and “Google Apps for Your Domain”, G Suite is resource implemented by I.T. Administrators, to enable access to Google Apps, through a domain (and their aliases).
For Example: Rather than using your standard Gmail address (username#gmail.com), users in a business or organization would login to access those web-apps using an email address with their own domain, like (username#example.com).
The interface is the same as for standard Google Account holders, yet G Suite admins have the ability to add some branding, and control features - through the G Suite Admin Console.
I'm going to stop here before this post starts to resemble a pitch - let's just say that I really enjoy the fact that my workplace has implemented G Suite for our organization - it has made my duties, that much easier!

How do I test Google Adsense targeted for Canada when I'm in the US?

I am setting up targeting for our networks, and would like Canadian clients to have specific targeted ads, which Google bases off of IP address.
I, however, am in the States, and don't know how I can test this.
Is anyone aware of a solution?
AdSense Preview Tool
To test AdSense ads targetted for a geographical region outside of your current region, you need to download and install the AdSense Preview Tool (it is actually a registry setting. I believe you also need to have the Google Toolbar installed).
Google AdSense Preview Tool
Information about the preview tool (including how to preview ads targetted for other geographical regions) can be found here:
https://www.google.com/adsense/support/bin/topic.py?topic=160
A couple of third party web based tools:
AdSense Sandbox 1.0
Khrido AdSense Tool
AdWords Preview Tool
To preview AdWords ads targetted for other geographical regions, log into your Google Adwords account (adwords.goolge.com), and then do the following:
Tools > Ads Preview Tool
Enter your keyword, select Google.ca as your domain, Country as Canada, and click the Preview Ad button.
Here is the direct url you can use (this is for the search query "Stack Overflow"):
http://www.google.com/search?ie=UTF-8&oe=UTF-8&hl=en&host=google.ca&q=stack%20overflow&adtest=on&gl=CA&gr=&gcs=
Perhaps you can try finding a proxy server that resides in Canada.
A proxy server, is a server that you connect to. It sits between you and any sites you want to visit. So when say Google gets a request, it'll see the IP of the proxy (which is Canadian), and not your US IP address.
I found this site, but I havn't tested it out yet, but give it a try if you wish:
Free Canadian Proxy. They have three Canadian proxies.
A free proxy to view the site if the site is available outside of your network. Just set your browser proxy to a Canadian one. If you're behind a proxy already it'll be a pain though.
Update: in fact there is a Canadian one #3 on that list!