The importance of _gl parameter for cross domain tracking when you have Google Analytics installed - google-analytics

I have a website and its booking engine (2 different domains) at work and visitors land on the website and then proceed to the booking engine.
I have installed Google Analytics correctly to measure conversions that take place in the booking engine domain. Everything getting recorded correctly in Google Analytics account.
We recently launch Google Ads campaign and I saw that there is another parameter named '_gl' needed to append to the booking engine URL when a visitor proceeds to the booking engine via the website for correct cross domain tracking (probably to avoid Safari tracking prevention).
Just wanted to know, how important this _gl parameter for cross domain tracking since I already have correct Google Analytics setup in place and have linked Google Analytics and Ads accounts.
Thank you!

The parameter you mention is very important in order to correctly track users between two domains, otherwise GA cannot link the same user when they browse from one domain to another.

Related

Tie Google Analytics to Marketo Cross Domain Sub Domain Tracking API?

We are currently using Marketo for our landing pages but it is not the same domain as our company site. We are also using Google Analytics.
We have used this guide to tie our Analytics session to our anonymous or known Marketo record by inserting the Marketo User ID as a Google Analytics User ID and added the Marketo User ID dimension & set the scope as User.
Per this article, if we would like to have our Lead ID be recognized on non-Marketo landing pages, like our Corporate website, that we will need to do some extra API connections. Has anyone done this with success? I found that there is some Cross Domain Sub-Domain Tracking located here.
Would I only need to tie the visit to our corporate site to the Marketo Sub-Domain site visit as stated in the link above, which would then be tied to the MarketoID dimension that we just made shown in the first link provided?
Not sure what to do to make this happen or if it is as simple as doing the cross domain sub-domain tracking.
Apologies if I am not making any sense.
Thank you so much!
I'm not sure I understand your question entirely.
Are you trying to link/merge a known Marketo record on one domain to an anonymous Marketo record on another domain, and then pass that single Marketo record ID to Google Analytics?
This would involve matching the Munchkin cookies on both domains to Marketo records, probably via the REST API, then merging the two records.
Once you have merged the records from the two domains, you could pass this single Marketo ID to Google Analytics, using the same ID for both domains.
Resources:
http://developers.marketo.com/javascript-api/lead-tracking/api-reference/#munchkin_associatelead
http://developers.marketo.com/blog/get-a-visitors-cookie-id-and-then-query-associated-lead-data/
You can develop a javascript that capture the GA ID and MKTO cookie and store them in a databased. Then, sync the database with mkto and append the GA ID to the lead record.
We've developed a tool that does that automatically, without any coding and allows you to track leads/visitors cross devices and domains.
Check it out: https://gapidu.com/

Self referral in Analytics

I use Google Adwowrds and Analytics for my website, when I check, as the main source of sessions, is shown paid searches (adwords), but Google Analytics shows that most of the referrals for transactions (Purchases) from my own website.
There are two possible reasons for this in my situation. Cross Domain Tracking and Page Dropping Cookie.
Regarding Cross Domain Tracking, I use single domain, but after the customer checks out, the Thank You page comes with Shopify domain, can it be considered that I use multiple domain?
Regarding the Cookie Drop out, how can I find it out? and fix it.
When a user moves from one domain (your domain) to another domain (the Shopify domain) then a new Google Analytics cookie is generated and this cookie has a difference client ID stored in it for Google Analytics. So even if the Shopify domain is sending data to the same Google Analytics property, since the client ID is different, Google Analtyics will treat this as a new user and a new session and in the eyes of Google Analytics, this session will be a referral from the first domain (your website).
If you want to prevent this from happening, you must implement cross-domain tracking which you can read about here.

How to limit event tracking to single domain in Google Analytics

When I'm looking at the Google Analytics Events with hostname as second dimension, I can see my local domain plus my test domain mixed up with the data from my real production domain.
Is there a way to tell google analytics to ignore and not record events from any other domain except my real production domain?
I tried creating a View Filter to include only results from my real domain but that does not have any effect on events.
Any help would be appreciated.

How do I add Google Analytics cross domain tracking in Squarespace?

I have setup my site using Squarespace. I am also using Google Analytics to track site activity including eCommerce. When I go form product cart page to checkout page on my site it take we to following url secure.squarespace.com/commerce/checkout but during this process my old session is lost. In order to keep track of my existing client that is going from cart to checkout google analytics allow setting cross domain tracking between two distinct domain.
How can I set cross domain tracking in Squarespace? or Is there any way that my session activity is not lost and similar user is track between main site and Squarespace checkout pages. ?
Squarespace allow Google Analytics ecommerce tracking by embedded code, you just need to enter the google analytics id to start tracking, the embedded code belongs to classic google analytics and there is no way you can edit it (at least not in my knowledge) in order to modify allow linker command within code to enable cross domain tracking. I can use my own Google Analytics code or Google Tag Manager if preferred through code injection but for that I will have to remove the build in google analytics code (classic analytics) which will result in loss of ecommerce data.
I need to know if there is anyway to enable cross domain tracking within the embedded google analytics code or maybe use code injection and use my own Google Analytics code (remove the embedded) and still get ecommerce data for Google Analytics.

Google Analytics metrics to find total number of users who came to site via ad campaign

Is there any way to determine how many users visited my site via ads of my site posted on other websites?
By default these will show up as referrals in the channel and all traffic reports. To get more granularity you'd have to use campaign parameters in your ads url. You can create properly tagged url via Googles url builder which has some documentation on the various parameters.

Resources