UTM tracking across sub-domains - google-analytics

I have a main website (e.g. mybrand.com ) with static pages mostly developed on Wix.com and I have a full application hosted on AWS on a sub-domain, e.g. app..com.
For tracking the traffic coming from different social media channels, we are building UTMs. My understanding is that the UTM tracking doesn't work when you hop between the sub-domains. Can you please suggest some clever options?
One option for us is to re-do the Wix website in WordPress and host WordPress ourselves on AWS next to our WebApp to completely avoid the domain hoping. But if we have a more elegant solution while keeping the Website, it would be preferred.

You can use a simple parameter in querystring (i.e. subdomain.com/page?from=domain1) then in Analytics count unique page with that parameter in the URL.

Related

Google Site Kit Plugin has been copied to multiple sites, so Analytics information is inaccurate

My company manages several websites for clients. We build Wordpress sites and manage them all on Flywheel. Whenever we make a new website, we typically duplicate an existing site so that we can reuse some general settings. I recently found out that the Google Site Kit plugin has been getting duplicated, along with its existing settings, so that multiple separate websites have been pointing to the same google analytics account. Because they are all pointing to the same account, the Google Analytics account is just tracking slugs, thinking all traffic is coming from the same base url. Now all traffic on common pages, such as Home, Contact, and About are being clumped together, highly inflating the numbers of what traffic would be on any one of the sites. Is there a way to separate the data by base url, so I could see accurate data for each site?
In that case what you'll need to do on the sites with the same property is revisit the Site Kit settings and connect to the correct Google Analytics property (and Tag Manager / AdSense if applicable).
Note also that if your site URL changes Site Kit does recognize this, asking users to connect once more on the new domain. If you then connect on the new site you'll need to change the connected Google Analytics property.
Going forward, before you duplicate a site that has Site Kit active you can disconnect the Google Analytics, AdSense and Tag Manager modules before duplicating, before connecting once more after copying. Alternatively you can reset Site Kit before duplicating. Resetting will mean you'll need to connect all services once more (after duplicating).
Hopefully the above helps.

Firebase multi-domain support to one instance

👋 I'm hoping to use Firebase to create an application that will allow users to make their content accessible via a custom domain. This is probably best described as a similar setup to how WordPress Multisite Domain Mapping works where there would be a main site, domain.com and many subsites based on their content customdomain.com mydomain.com anotherdomain.com.
The domains (100+) would point to the same codebase + Firestore, but based on the domain - would serve different content. All content swapping would be stored within a cloud function to serve the appropriate site.
I did see this domain limit exceeded FAQ but I wasn't sure if that applies to what I'm attempting to do at a DNS level.
I'm currently doing this in an older version of the app with DigitalOcean and an individual CloudFlare site that points to the same server, but it's a major pain to setup Page Rules, SSLs, etc instead of something that could hopefully be automated.
Thanks for any info!

What to do with Google Analytics for domain and subdomain which will be moved to subdirectory?

I have a Wordpress site (example.com) and subdomain (sub.example.com). They have separate Wordpress dashboards and work like 2 separate websites. 2 different Google Analitycs Tracking IDs set up for them, so we have 2 different Google Analytics accounts and 2 different properties respectively. Now we redesigned both websites and want to move subdomain to a subdirectory, so it will look like this: sub.example.com --> example.com/sub, but they still have 2 separate Wordpress dashboards.
My question is, what should I do with Google Analytics? Should I put the domain GA tracking code on subdirectory website as well? As the initial idea behind making moving subdomain to subdirectory was for SEO boost and consolidation of traffic.
I also would like to start using Google Tag Manager to implement GA tag.
Would appreciate some input on this as I'm really confused Thanks!
You have to use 'google analytics' separately for both the websites as header is different in both the websites.

Setting up google analytics for main domain and sub directory with wordpress installed in both?

I have a main website (WWW.XYZ.COM). Under it I plan to have a blog (WWW.XYZ.COM/BLOG).
Both domain and sub-directory has 2 different and separate wordpress installations. I want to track my users and find out how they interact. My main website is for a different purpose while the blog is for marketing etc.
Do you think it is best to have two separate analytic account or is there a way to study each traffic individually under one account? I use a wordpress plugin :https://wordpress.org/support/view/plugin-reviews/google-analytics-dashboard-for-wp?filter=5 to get analytics on my admin panel directly.
I want to see people visiting my main website through the blog or vice versa. I also want the clear source of the traffic (Social media-->blog-->main website for example).
I am totally new to analytics. Any help will be greatly appreciated.
Thank you in advance.
The ideal setup would be,
Creating a single Account,
MyBusiness
inside which create one Property MySite
And create three Views
All Website Data will report the collective performance of your site and blog. You will have to add Filters to the views Site and Blog
Site should have an exclude filter for excluding urls containing www.xyz.com/blog
Blog should have an include filter for including traffic contaning www.xyz.com/blog
MyBusiness
MySite
All Website Data
Site
Blog
Additional Readings and Source
Predefiened Filters for subdirectories
Managing Filters at View level

How do I dynamically deliver a user to the correct regional website?

I've been able to find a lot of information on multi-region websites and their SEO setup, but i cannot find much about development for these type of sites. If a customer in Australia goes directly to the top level .com version of the website, are there methods I can use to redirect them to their regional version of the website? How reliable are they?
When building these type of site do you usually just have one website with multiple domains (eg. example.com, example.au, example.uk), then swap content/language dynamically based on the url it's being accessed by?

Resources