Use same origin for Custom Loader domain?

I am very excited about this new feature!

When using custom loader:

  • is it possible to also use same origin domain to serve the GTM JS?

The custom loader generator still uses subdomains.

Help article

There is no point in loading JS through the same origin. Same origin is needed to bypass cookie restrictions, loading JS has nothing to do with cookies so it is recommended to load JS from a subdomain, this will also reduce the unnecessary load on your same origin method (CF/ngnix/etc).

1 Like

Thanks for clearing this up!

1 Like