Using Google Analytics to track tweets and website

2019-09-03 06:59发布

问题:

Basically,

my task is to: use Google Analytics data to track the number of tweets R bloggers make per day as well as the incoming traffic from twitter, such that I can generate a csv file and I can perform analysis on these data.

I was given a hint to look at the Google API documentation for info on what data can be scraped using Google Analytics: https://developers.google.com/analytics/devguides/reporting/core/v3/reference#q_summary https://developers.google.com/analytics/devguides/reporting/core/dimsmets

This is what i am asked to do ultimately. I was so confused. I do not have a clue what approach and how to do this. Do I have to build an application to do this ?

Now, I have never used google analytics / google developers before. I am not looking a solution here. Rather, I am looking for someone who can point me to the right direction, i.e. links or materials to look at in order to tackle this problem.

Thanks.

回答1:

If you're looking to track people who come to your site and tweet a blog post, you should be able to get data by installing social interaction tracking:

Google Analytics : Twitter Tweets

Universal Analytics : Social Interactions

Once you have installed social tracking, you can view the social plugins report in Google Analytics by going to Acquisitions > Social > Plugins.