> This document is for developers who use server-side tagging and want to serve
> Google scripts in a first-party context.

Google tag gateway for advertisers lets you load Google scripts, such as gtm.js,
directly from your first-party infrastructure instead of from Google's servers.
This lets you serve data within a first-party context either through your
tagging server or through a CDN.

## Before you begin

This guide assumes that you have done the following:

- [Set up a server container in Tag Manager](https://developers.google.com/tag-platform/tag-manager/server-side/overview#create_a_tag_manager_server_container)
- [Set up a tagging server](https://developers.google.com/tag-platform/tag-manager/server-side/overview#set_up_a_tagging_server)
- [Configured a custom server domain](https://developers.google.com/tag-platform/tag-manager/server-side/custom-domain?option=same-origin)

To get started, pick how you want to serve your Google scripts.

<button value="cdn" default="">CDN (recommended)</button> <button value="sgtm">Tagging server</button>
Pick an implementation option to see instructions.

## Next steps

If you are using consent mode, you can set up [region-specific tag behavior](https://developers.google.com/tag-platform/tag-manager/server-side/enable-region-specific-settings) for even
more control.