Skip to main content
added 237 characters in body
Source Link

So, I have the main static page on one server (e.g. example.com) and a single page application (Angular) on another server but on the same domain with a subdomain (e.g. ma app here - sub.example.com). In the static page (example.com) I've installed GA and GTM, and on the application initialized GA and GTM once again when the user navigates to it (sub.example.com)

Also, I have run ad campaigns on facebook and google.

I need to track the users that came from ad and navigated through example.com -> sub.example.com/registration -> sub.example.com/user - it will be a goal (or sort of conversion goal).

If it real, how I can track it?

UPD: I've fixed tracking goals by replacing analytics.js tracker to gtag.js and rewrite my tracking system according to the gtag requirements. Not sure, but hope that now I can track users from ad campaign to destination.

So, I have the main static page on one server (e.g. example.com) and a single page application (Angular) on another server but on the same domain with a subdomain (e.g. ma app here - sub.example.com). In the static page (example.com) I've installed GA and GTM, and on the application initialized GA and GTM once again when the user navigates to it (sub.example.com)

Also, I have run ad campaigns on facebook and google.

I need to track the users that came from ad and navigated through example.com -> sub.example.com/registration -> sub.example.com/user - it will be a goal (or sort of conversion goal).

If it real, how I can track it?

So, I have the main static page on one server (e.g. example.com) and a single page application (Angular) on another server but on the same domain with a subdomain (e.g. ma app here - sub.example.com). In the static page (example.com) I've installed GA and GTM, and on the application initialized GA and GTM once again when the user navigates to it (sub.example.com)

Also, I have run ad campaigns on facebook and google.

I need to track the users that came from ad and navigated through example.com -> sub.example.com/registration -> sub.example.com/user - it will be a goal (or sort of conversion goal).

If it real, how I can track it?

UPD: I've fixed tracking goals by replacing analytics.js tracker to gtag.js and rewrite my tracking system according to the gtag requirements. Not sure, but hope that now I can track users from ad campaign to destination.

Source Link

How I can track google analytics goal from an ad on one domain but on different subdomains (that placed in different servers)?

So, I have the main static page on one server (e.g. example.com) and a single page application (Angular) on another server but on the same domain with a subdomain (e.g. ma app here - sub.example.com). In the static page (example.com) I've installed GA and GTM, and on the application initialized GA and GTM once again when the user navigates to it (sub.example.com)

Also, I have run ad campaigns on facebook and google.

I need to track the users that came from ad and navigated through example.com -> sub.example.com/registration -> sub.example.com/user - it will be a goal (or sort of conversion goal).

If it real, how I can track it?