Track count of views,likes and comments in a community site - google-analytics

Can anyone tell me how can I track number of views,likes,comments and shares in a collaboration and community site. This is not a Google site. This site was created using lumapps. It's a collaboration site, Which works similar to Google+, where you can write a blog, post and like/ share the same. I need a way of keep tracking the likes/shares/views on such posts or blogs, So that I can display the same in Google data studio.
I heard it's possible using Google tag manager. Can anyone confirm this OR let me know about anyways of achieving the same.
Thanks and Regards
Kumar

You would do this by sending an event to Google Analytics and using this source in Data Studios.
Please see reference on how to send events using Google Tag Manager and custom Variables.
https://support.google.com/tagmanager/answer/6106716?hl=en

Related

How to link Google Analytics account to wordpress

I have read multiple tutorials on web but I'm unable to find my tracking I'd/code on my Google Analytics property list. This is the image which I got from web and I want to see m Any help will be appreciated.
You can simply use any plugin out there. Here are some of my favorites:
Google Site Kit. <== This is the official Google Plugin
MonsterInsights
ExactMetrics
GA Google Analytics <== Simplest and just for this purpose. No unnecessary code.
Note: There are many others but these are per my favorites list and liking.
1st plugin will auto-connect with your google account and you won't need to put any ID or code into your site manually. Hence easy to set up.
Site Kit by Google is great for WordPress users. By using Site Kit you don't need to manually insert the code, as depicted by the screenshot you share. The plugin can insert the code for you.
In addition to the placement of code, Site Kit can show you Analaytics and other data within your wp-admin dashboard!

Implementing Google Analytics and Google Tag Manager tracking codes on a Wordpress site with Personal plan

I have a Wordpress website and have the Personal plan.
My goal is to implement the tracking code of the Google Tag Manager on each site.
When I am on the Wordpress site in the HTML view, I should be able to paste one tracking code as close to the opening <head> tag as possible on every page of my website but this is not possible.
That´s why I had a talk with somebody from the Wordpress Support team and their answer was the following:
I believe the code for Google Analytics is meant to go in the header of the site. Since WordPress.com is a fully managed environment, we don't have access to the header code.
Instead, we have a built in Google Analytics option available as part of the Business upgrade.
The issue is I don´t want to spend 25$ a month just to have Google Analytics integrated on my website. There must be also a way for somebody like me with a Personal plan to implement the tracking codes.
When I tried to implement them, they were not hidden on the website which should not be the case (because "hidden" is in the code).
Did anybody of you have the same issue like I am facing?
P.S.: There are also Plugins for Google Analytics but with my plan I can´t upload any Plugins. :/
I integrated the code on a text widget. It worked just fine. If you dont give title to the widget, its even completly invisible. so dont spend unecessary money

Can I get website analytics for past couple of days?

Is there any way to obtain information for website analytics for the past two days if I don't have a plugin or anything like that already?
Google AdSense would help if you have inserted its script inside webpage. Another solution would be to look after traffic usage provided by hosting company.

Google Analytics: 1 custom report for all sites in the same account

I'm fairly new to GA, so please bear with me...
I know how to create a custom report for one site. But is there a way I can create a custom report for all the sites, where all sites would be individually listed.
Here you see that I have more then one site under the same account:
This is what I'm doing at the moment, by hand:
Tks all!
Take a look at supermetrics or google's own magic script to pull in data from multiple accounts into Google Spreadsheets.

Tracking a subdomain separately in Google Analytics

So I've been trying to set up Google Analytics to track site's (Tumblr) blog separately from the rest of the site, but I've been having no luck. All of the tutorials online seem to be outdated, and Google's own help center isn't helping.
Can someone please help. I tried messing with filters, but simply can't get it to work.
The website is sitename.com and the blog is blog.sitename.com. They both share a tracking code.
Thanks!
Create an a custom include filter on the hostname:
on one profile, include only ^www.domain.com$
on another profile, include only ^blog.domain.com$
Beware that e-Commerce transactions can't be filtered by hostname but only by transaction ID
I encourage you to keep a 3rd profile without filters, to be able to check that you don't miss anything.
Create two Analytics profiles, one for each site. Then put their respective tracking codes on each site.

Resources