How does Google Analytics know where visitors were when they came to our website? I understand when the referral source is Google search or Google Ads, but how does it know a user clicked a link on LinkedIn or from WhatsApp?
Google Analytics can understand source like Linkedin.com from document.referrer but he can't know source like Whatsapp or Outlook desktop so it will be Direct traffic. You can append UTMs parameters to the querystring of the URL to force custom source/medium.
Related
Background:
I found that most of the clicks on Googles Ads are invalid and around 95% of the conversions are spmammers. Then I want to ask to get full refund, but Google Ads asked me:
Web log file is log file automatically created and maintained by a web server. Every "hit" to the Web site, including each view of a HTML document, image or other object, is logged. The raw web log file format is essentially one line of text for each hit to the web site. In order to investigate further please share the Website Activity/ Web log report for the date range for which you got invalid clicks for more details please refer to the Web Developer.
Question:
Could you help me to understand where I can download the web activity file? where is it? how does it call on GCF?
Many thanks,
Tany
I asked Google Cloud Flatfrom support and they didn't understand what their 'friends' from Google Ads want.
I tried to add a YouTube video in article content, but it alway failed to upload the video link because YouTube is blocked in my country. So I built a HTTP proxy to watch YouTube, how could I tell the wagtail application to use my HTTP proxy while fetching YouTube embed metadata?
As far as I understand, your server and your users are behind a firewall that blocks access to YouTube. So there is two problems to solve:
Your Wagtail app should be able to access https://www.youtube.com/oembed to fetch metadata and iframe code to embed (see the example response).
Your users should be able to access youtube servers to watch videos.
To solve the first problem you can use a custom embed finder. You can find some information on how to add a custom embed finder the Wagtail's documentation.
Your embed finder should recognise youtube urls and send requests to fetch meta info through the proxy.
The second problem should be solved on the client's side (the client's browser should use proxy) or you should transparently proxy traffic youtube <-> your users somehow. It's not really Wagtail related issue, so I'll leave it with you.
I am on Google Apps unlimited license, and I am trying to obtain the download log of both domain user and external user via Google API. I have tried the Activities List API of Admin SDK to obtain the activities logs but according to the following man page
https://developers.google.com/admin-sdk/reports/v1/reference/activity-ref-appendix-a/drive-event-names
the download event properties is not included in the API result. However, is there any API that allow me get the download log?
Or if there are any other ways, such as using 3rd party Google Drive Addon, any suggestions are appreciated.
Thank you
It does not appear that there is an audited activity for downloads: https://developers.google.com/admin-sdk/reports/v1/reference/activity-ref-appendix-a/drive-event-names
I am trying to display and maintain a separate Google calendar for each user on my Django website. I also want to synchronize each users' Google calendar on the website, with their actual Google Calendar so that events are maintained and displayed not just on the website, but when they log into their Google Calendar through their Google account.
I have no idea how to approach this. Does anyone know how I can do this?
The first thing you are going to have to do is look into OAuth2 for authentication this will allow you to access your users Google Calendars. You will just need to save the refresh Token for each user then you will be able to access the information again by requesting a new access Token.
After that you should look into the Google Calendar API reference
There is also a Google Client library for python that will probably make things a lot easer. Google APIs Client Library for Python.
I don't have any django or python experience so I cant help you out with any code. But if you get stuck just ask a new question on Stack. These links should at least give you an idea of where to start.
I use Google Docs to handle some documents, which i display on my website through the publish feature.
Is it possible to log on to Google automatically through my own site? If so, wouldnt have to log in two different places if i need to edit some documents.
Thanks
Can you change your website to authenticate using google openid? If so, then you could use your google account to sign into your own website and that would guarantee you're also signed into google. https://developers.google.com/accounts/docs/OpenID.
There this: https://developers.google.com/google-apps/documents-list/#what_can_this_api_do