Could I create a .log file for my personal Github website to tracking who is click my page? - github

I have a website written by js-css-html and some php. I have uploaded all the files to the github and it is activively working. As you know, it is a web-page which you can access it via a link.
What I'm trying to do is to see who click to my website. In my search I find that log files do this what I want. How can add log file to keep tracking who is click my web-page?

A GitHub page does have analytics:
either natively through Traffic page,
or through third-party tools, like Google analytics (with this script or a pixel tracked)

Related

Google Ads has disapproved our website due to malicious or unwanted external links but we couldn't find the mentioned link (debysale.com) anywhere

We run our website in wordpress betheme. We are trying to put AdSense ads on our website. For that, we contacted with google team, but from there end found a malicious or unwanted external links for which they are disapproving our website again and again. Previously we had malware which we removed recently. After that, We tried wordfence, google transparency site scan, secure wp and various other website scanners but found no malware or malicious external links.
They malicious link google mentioned : debysale[.]com
How to find and get rid of this malicious link? If anyone could assist, that would be very helpful.
I am attaching the reply of google with this
enter image description here
For your help our website link is https://rkpl.com.bd/
Open webpage in Google Chrome, right click on page and press view source code, press crtl+f and search for the link. Do this for each page on your website.

How to track clicks on hosted PDF link without code

I have a few PDFs hosted online (not our company's website) that I am trying to track clicks from emails without code or redirecting from landing pages.
File hosting to track total downloads of a PDF
^ This question was helpful but the limitation with bit.ly is you can't track clicks to the same link separately or on a campaign basis.
Another thing to note is that the links to the hosted PDFs we have are the same except for a first name. Example:
"example.com/salesdocument_John.pdf" & "example.com/salesdocument_Lisa.pdf"
We pull in the first name with data so I need to be able to enter the link in the email copy with just the first name pulled in via "wildcard/token".
Thanks!

Submit Google sitemap to Google Search console as request

How do I submit a sitemap to Google Search console as a request? I think I'm missing the part where I include my credentials, but it's not clear how to include this in the URL.
Everything is set up in search console and I can submit my sitemap manually.
Following the documentation (https://developers.google.com/webmaster-tools/search-console-api-original/v3/sitemaps/submit) I write this in a browser:
https://www.googleapis.com/webmasters/v3/sites/<mysiteurl>/sitemaps/<mysitemapurl>
It says "Not Found". < mysitemapurl > by itself does get the sitemap.
If I use the try-it option in the documentation then it says "User does not have sufficient permission for site".
I went through the credentials wizard and was told that I have sufficient credentials. I have a #developer.gserviceaccount.com email address and two Key IDs. But where do I include them in the URL?
After creating your new website or blog, the only thing that comes to our mind is how to bring your website or blog to Google search. So that traffic on our website can come and Make money. In fact, I too felt hard about how to bring my blog to Google search. But it is all easy to do. So in today's article I will show you how you can easily sumbit website sitemap to Google search console.
By inserting the sitemap of the website in Google search console, Google gets the data of our site. And accordingly Google shows our site in searches, which is very important for SEO.
What is Google search console?
Google search console is a platform of Google itself. Which is absolutely free, which helps you to show your website's data in search engine or not.
Until May 20, 2015 the service was called Google Webmaster Tools. In January 2018, Google introduced a new version of the search console, with changes to the user interface.
What is sitemap?
Sitemap is a file in XML format that contains the URL of all posts on your website. Along with this, the content of all your posts is also included in it, such as photos, videos, and audio etc.
How to submit sitemap in Google search console?
To submit a sitemap to the Google search console, you must create your website or blog sitemap. To create a sitemap, you can go directly by clicking on this link.
After generating sitemap XML file...
Follow the 5 simple steps to submit sitemap to Google search console.
Sign in to your Google search console.
In the left sidebar, select a property.
Click on sitemaps.
Enter sitemap URL.
And click on 'Submit'.
Conclusion!!
So Guys, now your website's sitemap has been sumbited in Google search console. Google will fetch it after a few hours.
You need to follow the below steps to submit your sitemap in Google Webmasters:
Navigate to "Crawl" under which you will see "Sitemaps"
Submit your sitemap URL which must be in .xml format. For example, if your sitemap is located here: www.xyz.com/sitemap.xml, just submit sitemap.xml there by clicking "Add Sitemap" at upper right corner.
And you're done.
Let me know if I can be of more help to you.

How do I change robots.txt on a Google site?

I need to make changes to someone's robot.txt file, but their site is managed by Google, (so no FTPing).
I have full access to the site via the browser (Site Actions / Manage Site, etc) but how do I get to the robots.txt file to update it?

Export Google Analytics chart for specific URL

I would like to show a graph of visitors (eg. 7 days back) on a specific subpage on my website - not the entire site!
I've been looking at:
http://www.jensbits.com/2010/06/23/google-analytics-data-export-api-with-google-chart-visualizations-2/
.. but i cant figure out how to show a graph for a specific url/subpage.
Any ideas?
Follow these steps
1.Go to your Google Analytics Account.
2.Click on the 'gear' icon. It will show you 3 tabs-> Profile, Tracking Code and Property Settings. Click on Tracking Code.
Under What are you tracking? select A Single Domain radio button. It will show you its corresponding options on the right. Select I want to track PHP pages. It will show you the tracking code underneath. Copy paste the code in the php file/page you are willing to track.
Dont worry about the query parameters. They will be identified automatically with respect to the tracking code. So if your page identifies 100 different layouts with respect to the parameters, they will show up in your analytics account.
Use the following Api to export data from your account
Google Analytics PHP API
Then, after you have received the data, you can set up an ajax request that fetches the data from your PHP script and embeds it in your site using a javascript API chart builder. This is also available with Google
Google Charts API
Hope that helps. All the best!