Analytics
1.6K members online now
Discuss regaining access to Analytics accounts, restoring accounts, changing user access levels, and navigating the homepage
 
Guide Me
star_border
Reply

How can I view a list of http and https visits in a report?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I need to be able to see how many people went to http://example.com vs https://example.com.

 

How can I generate a report that will show that?

Re: How can I view a list of http and https visits in a report?

Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆

By default, there's no report in GA or through the reporting API that will give you this info. Here's an idea:

  1. create a new custom dimension named "protocol", with session scope
  2. in your tracking, set this custom dimension to the value of location.protocol (for GA or GTM)
  3. create a custom report with this dimension and the sessions metric

That should do it.