Subdomain Tracking in Google Analytics [HOW-TO]

Поделиться
HTML-код
  • Опубликовано: 28 окт 2024

Комментарии • 82

  • @Pixel.Riderr
    @Pixel.Riderr 4 года назад +11

    Thanks for sharing! Quick feedback: I would try to increase the volume of your audio for the next videos. I'm at maximum on my laptop and I can barely hear you :)

  • @shaishavgandhi
    @shaishavgandhi 3 года назад +2

    Hey, Thanks so much. This was very useful. I wanted to understand the logic behind defining these values. Would love to read something on this to get clarity.

  • @CopypowerSupport
    @CopypowerSupport Год назад +1

    Thanks a ton..it worked!

  • @aboptimization
    @aboptimization  4 года назад +2

    Got it?
    The subdomain should use the same Google Analytics ID of the main domain... don't fuck this up :)

  • @Zselykek
    @Zselykek 4 года назад +2

    Thanks for sharing this! It would be interesting to see what filters do you use for tracking the subdomains as well, not just the combined view.

    • @aboptimization
      @aboptimization  4 года назад +2

      This is very easy to do :)
      You can do it quickly by creating a segment in the Full URL view. This is quick (and retroactive) but it won't let you make complex segments without editing the segment itself.
      The other way is to create separate views for the subdomains (like I have and you can see in the video). It is basically a copy of the Full URL view with added one filter to remove all the pageviews that don't contain the subdomain.
      I can make another video to show this... tnx for asking :)

    • @Zselykek
      @Zselykek 4 года назад +1

      @@aboptimization that was helpful, thank you!

    • @aboptimization
      @aboptimization  4 года назад +1

      @@Zselykek ...you are super welcome!
      PS: I had a look at your channel, good stuff. Keep it up :)

    • @KiranM202
      @KiranM202 4 года назад +1

      @@aboptimization Can you please make a video on this.

  • @fayella9
    @fayella9 10 месяцев назад

    hi! thankyou for posting this- can these steps be followed for the new GTA 4 to?

  • @JoaoRodriguesPT
    @JoaoRodriguesPT 2 года назад +1

    Thanks for the video, a very nice explanation!
    In order to set up a view specifically to analyze the traffic and performance of the subdomain separately from the other domain/sub-domains should I just add a filter with the subdomain on the include only/traffic to the hostname and insert the sub-domain? or is there another better way?

    • @aboptimization
      @aboptimization  2 года назад +2

      Yes, it can be done with a filter in the view... but you can also filter the subdomain traffic in the main view, using segments.
      Personally I prefer to work on the main view with segments.

    • @JoaoRodriguesPT
      @JoaoRodriguesPT 2 года назад

      @@aboptimization I see, thanks for the tip. Will look into it for sure.
      In my case, since I need to manage different user access for this specific sub-domain it will make more sense to do it with a view like in the video? What do you think?

    • @aboptimization
      @aboptimization  2 года назад +1

      Yes, in that case make a view so you can limit the access to the subdomain.

    • @JoaoRodriguesPT
      @JoaoRodriguesPT 2 года назад

      @@aboptimization Thanks for taking the time to answer my questions! I appreciate it.

  • @tonyahuwa
    @tonyahuwa 4 года назад

    I have been looking for this. Thanks for sharing, you just saved me. I just subscribed. Forever a fan.

  • @bravojayevents
    @bravojayevents Год назад

    Can you please do this for the new Google analytics, G 4 …. Please create another video explaining this. This is exactly what I needed. Please make an update.

  • @JcoreUKhardcore
    @JcoreUKhardcore 3 года назад

    Thank you! It was very helpful and well explained. Worked for me without any problems.

    • @aboptimization
      @aboptimization  3 года назад +1

      Glad to hear that!
      Tnx for the feedback ;)

  • @charlenechin6723
    @charlenechin6723 3 года назад

    Thank you for the useful video ! May I ask in terms of creating goals , will the main and Subdomain still reports the goals/ conversions on the FULL URL view?

  • @mauricionope
    @mauricionope 2 года назад +1

    thank you very much, it was a great help

  • @mayuridekate906
    @mayuridekate906 Год назад

    Thank you for the video ✨

  • @souvikdas1923
    @souvikdas1923 2 года назад

    one question , does your subdomain and domain has a different codebase ? or is it from the same codebase ?

  • @jimbojombs
    @jimbojombs 3 года назад

    Hey man, nice in-depth video! Quick question just to clarify all of this. Do I need to insert the tracking ID onto each subdomains and main domain firstly, then sort out my view and create filters like you've done here? Thanks.

    • @aboptimization
      @aboptimization  3 года назад +1

      Hey Gethin... yes, place the GA ID on your page as you would normally do (with GA snippet or through GTM) and then go make the view with filter in GA.

    • @jimbojombs
      @jimbojombs 3 года назад

      @@aboptimization Thanks man, helps a lot! Thanks for the reply too.

  • @dand4075
    @dand4075 2 года назад +1

    How come when I go to "all pages" or "content drilldown" I don't see the subdomained full URL. I only see in "real time".

    • @aboptimization
      @aboptimization  2 года назад +1

      Changes in GA are not retroactive.
      You will see the full URL in "Site content" only for data collected after the change.

  • @WebDeveloper08
    @WebDeveloper08 2 года назад

    Do you have an answer for subdomains where the primary domain name is not yours, but yours is the subdomain. Do I create a subdomain name account only in google analytics in this particular situation.

    • @aboptimization
      @aboptimization  2 года назад +1

      That depends.
      Do you have access to GA of the main domain?
      If so, I'd use the setup described in the video.
      If not, then go with a different GA property.

    • @WebDeveloper08
      @WebDeveloper08 2 года назад

      @@aboptimization Thank you for your quick response. I just set it up with the subdomain and am now getting proper analytics. It's working just fine now. Thanks again.

  • @waqarwiki4475
    @waqarwiki4475 3 года назад +1

    Can we track transactions happening on subdomain? When we have google analytics installed on both domain and subdomain?

    • @aboptimization
      @aboptimization  3 года назад

      Sure, this happens in any case when you use the same GA property.

  • @abiramisiet
    @abiramisiet Месяц назад

    When we click the sub domain link in main website the url parameters are too lengthy. How to remove that?

  • @juanaloulehoux
    @juanaloulehoux 3 года назад +1

    Nothing is showing up when I go to Site Content > All Pages? I would like to see how many pageviews the subdomain had last month 🙏

    • @aboptimization
      @aboptimization  3 года назад

      If you don't get any pageviews on the filtered view, you probably used the wrong settings in the filter.

  • @RatneshKumar-jh6zz
    @RatneshKumar-jh6zz 3 года назад +1

    Hey, I want to track page views of My main site and my sub-domain separately. How can I do that? Plz help me I have tried a lot watched all available videos but still not able to find out.

    • @aboptimization
      @aboptimization  3 года назад +1

      Easy. You need to do what I explain in this video and later you can create two separate views, one reporting for the main domain and one reporting for the subdomain.
      However, I would still suggest having a third view where you have all data together, so you can make a more meaningful analysis.

    • @RatneshKumar-jh6zz
      @RatneshKumar-jh6zz 3 года назад

      @@aboptimization Actually I was using Google Analytics for my main domain from last 2-3 years. A couple of days back I created a sub-domain. Now looking to track that.
      Currently I am able to track just by adding the Javascript code of my main property in the sub-domain. But thr issue currently is visitors of both sites is being shown in thr All Websites data.
      I tried the steps explained in the video. Created a video and then added the filter by the way it was explained. I have also added my main domain in referal exclusion list.
      Now the full URL of sub-domain is shown in the newly created view. It is completely fine but the issue is the no of visitors and real time is exactly same in both all website data and newly added view. I
      want the total no. of visitors of my main domain in the all website data and visitors of only sub-domain in the view created for it. But that's not happening right now.
      Plz guide me through so I can track both my main domain and sub-domain separately.
      Thanks.

  • @DanielCarvallo
    @DanielCarvallo 10 месяцев назад

    Hi! We need this, any guides or video how-to for GA4?

  • @proxyscrape
    @proxyscrape Год назад

    Thanks 🤗

  • @biswajitdas3429
    @biswajitdas3429 4 года назад +2

    Thank You So Much

  • @fernandolisboa
    @fernandolisboa 3 года назад +1

    Great, in NEM version GA4 how we can do the same thing ? domain and subdomain!

    • @aboptimization
      @aboptimization  3 года назад +2

      You can't at the moment.
      GA4 does not have full functionalities yet.
      You should use the old GA for the time being.
      You can have them both.

    • @fernandolisboa
      @fernandolisboa 3 года назад +1

      @@aboptimization Tks, waiting !!!! hava a good day, but in a new account analytics is not possible create a UA more only G4

    • @aboptimization
      @aboptimization  3 года назад +1

      @@fernandolisboa ...it is possible, yes. Look in the settings when you create the property.
      By default GA4 is created, but you can change that to standard UA.

    • @proxyscrape
      @proxyscrape Год назад

      Hey @@aboptimization, we are two years later now, any idea if it has become possible now?

    • @16superpoteri
      @16superpoteri Год назад

      @@proxyscrape GA4 now tracks subdomains by default. No additional code is necessary.

  • @namra7399
    @namra7399 4 года назад +1

    This didn't work for me. Could you advise possible reasons why this wouldn't work?

    • @aboptimization
      @aboptimization  4 года назад

      Are you able to see the full URL in the new view?
      If not, your filter is not set up properly.

  • @bradmathias7513
    @bradmathias7513 3 года назад

    I followed the steps accurately but there is no data reflecting in the view that I made. I have multiple subdomains and I'm a bit confused as to how do I set up views in which the data for each subdomain reflects separately under one property. Could you please guide me?

    • @aboptimization
      @aboptimization  3 года назад +1

      If you follow everything correctly, your "Full URL" view will contain URLs for all the subdo mains.
      You can verify this under Behaviour > Site Content > All pages.
      If you do not see full URLs containing the subdomain names, then your view is implemented wrongly. Go back to the video and fix it.
      Dividing the reports by subdomain is just matter of copying this view and add a filter to show only the subdomain you are interested in.
      I hope this helps.

  • @estephanypagenkopp7255
    @estephanypagenkopp7255 4 месяца назад

    Is this the same for GA4?

  • @MultiChinmay
    @MultiChinmay 3 года назад +1

    You had total 4 views in your dashboard.
    How can I get 3rd and 4th view? How to configure that?

    • @aboptimization
      @aboptimization  3 года назад

      Just add more *segments* to your report.
      You can add up to 4 :)

    • @MultiChinmay
      @MultiChinmay 3 года назад

      @@aboptimization I just figured out I am using Google Analytics 4. What should I do now? How to setup sub domains in GA4 ?

    • @aboptimization
      @aboptimization  3 года назад

      @@MultiChinmay ...you can't.
      Views seem not to be available yet in GA4.

    • @MultiChinmay
      @MultiChinmay 3 года назад +1

      @@aboptimization But is there no way to track subdomains of my websites in GA4?

    • @aboptimization
      @aboptimization  3 года назад

      @@MultiChinmay ...actually, it seems it does it by default. Just use the same GA id on both sites and GA4 should be able to handle it.

  • @angelikigkolfinopoulou3505
    @angelikigkolfinopoulou3505 4 года назад

    Hello! We have an e-shop on a subdomain. Our company's main site is "www.brand.com" and the eshop is "www.eshop.brand.com". I successfuly created a "subdomain view" on the analytics of the main domain, but I also want to track actions and conversions of the subdomain. What should I do?
    Thanks in advance.

    • @aboptimization
      @aboptimization  4 года назад

      No additional action is necessary: )
      Events and conversions are tracked as usual for both the main domain and the subdomain ...provided of course you are firing the events correctly on the subdomain as well.

  • @webzzinet61
    @webzzinet61 3 года назад

    Hi what happened with GA4 that doesnt have the option of views anymore?

    • @aboptimization
      @aboptimization  3 года назад

      There are many things GA4 is missing right now. Probably views will come or they'll introduce a different way to track subdomains.

    • @webzzinet61
      @webzzinet61 3 года назад

      @@aboptimization so the only way is with UA universal analytics at the moment and putting the same script in every website subdomain right? many thanks

    • @aboptimization
      @aboptimization  3 года назад

      @@webzzinet61 ...that is correct.

  • @maheshrajpure
    @maheshrajpure 4 года назад +1

    Where is the Google analytics subdomain tracking info- ID/ code.

    • @aboptimization
      @aboptimization  4 года назад +1

      It is the same ID as the main GA property.

    • @maheshrajpure
      @maheshrajpure 4 года назад

      @@aboptimization ok, Thanks.

  • @fanlunacom
    @fanlunacom 3 года назад

    How to do this in v4? Thx

  • @shivubhal7376
    @shivubhal7376 4 года назад +1

    I can't hear you buddy!

    • @aboptimization
      @aboptimization  4 года назад

      Hey, tnx for bringing this up... you are not the first :(
      Actually, it's pretty frustrating cause I have no issue with hearing the audio, neither on desktop nor on mobile.
      It is indeed low... but usable on my devices.
      I guess I need to switch back to the lapel mic :(

  • @designhub360customtshirtsa3
    @designhub360customtshirtsa3 4 года назад +1

    Your audio is way too low..

  • @cualquieridiota
    @cualquieridiota 2 года назад

    weak audio