If you use Fastly as your content delivery network (CDN), you can set up Google tag gateway for advertisers in the Google tag by integrating with your Fastly account. The integration with the Google tag enables you to gain greater control over your data, improving the accuracy of your Analytics reporting and driving conversions uplift.
On this page
- What is Google tag gateway for advertisers?
- Set up Google tag gateway for advertisers
- Results
- Validate the Google tag gateway for advertisers set up from Tag Assistant
- Deactivate Google tag gateway for advertisers
What is Google tag gateway for advertisers?
Google tag gateway for advertisers allows you to deploy a Google tag using your own domain, enhancing data privacy and improving signal measurement recovery. Unlike standard setups where tags are requested from a Google domain, Google tag gateway for advertisers loads the tag from your domain and sends measurement events to your domain, where they are forwarded to Google.
Before you begin
- You have the Google tag (for example, G-123, AW-456) running on your website.
- Sign in to your Fastly account and grant permissions to Google to set up Google tag gateway for advertisers.
- Enabling this feature affects Google tag firing behavior. If your current tag behavior is impacted by user consent actions, adopt Consent Mode and review your consent settings to ensure your preferences are respected. Learn more About consent mode.
Set up Google tag gateway for advertisers
Step 1 of 3: Open the Google tag settings
Google Ads instructions
To access your Google tag settings from your Google Ads account:
- In your Google Ads account, select the Tools icon
.
- Select Data manager.
- Under “Google tag”, select Manage, then go to Admin.
Google Analytics instructions
- In your Google Analytics account, go to the
Admin screen.
- In
Data streams, select a stream to see details.
- Select Configure tag settings, then go to Admin.
Campaign Manager 360 instructions
- Open your Campaign Manager 360 advertiser.
- Under “Floodlight”, select Google Tag.
- In the Google tag settings, go to Admin.
Google Tag Manager instructions
- In your Google Tag Manager account, select the Google tags tab to see Google tags you've previously set up.
- Note: To see Google tag IDs in Google Tag Manager, you need to manage a Google Ads, Analytics or Google tag in a container.
- Select the tag name to edit the Google tag settings.
Step 2 of 3: Configure your Google tag settings
- In Admin, select Google tag gateway.
- In the “Google tag gateway” screen, select Continue.
- Select Scan to automatically detect your website’s CDN or choose Fastly from the list of supported providers.
- After Fastly is successfully detected, select Continue.
- Select Sign into Fastly to log in to your Fastly account.
- Confirm your measurement path. If you need to customize your measurement path, choose a path that's not already in use on your website.
- Note: After confirming your measurement path, the system validates the setup to ensure that the Google tag is correctly routing data through Fastly.
Step 3 of 3: Select your domains
- Select Your website domains to be activated.
- In the “Choose website domains” panel, select the domains you want to activate and select Done.
- Select Complete setup.
- Once setup is complete, you'll be redirected to the "Google tag gateway" screen. You'll notice that the status will be "Active", and the domains will be listed.
The domains can have different statuses:
- First-party: The Google tag gateway is active for this domain.
- Not started: The Google tag gateway hasn't been activated yet.
- Paused: The Google tag gateway is paused.
- Pending: The Google tag gateway is enabled, but no diagnostic information has been received yet.
- Select Done.
Results
After you successfully set up Google tag gateway for advertisers in the Google tag through self service configuration or using Fastly, an “Active” status will be displayed. This indication will appear next to each website domain where Google tag gateway for advertisers is running.
You can manage the domains after you’ve enabled Google tag gateway for advertisers. In the Google tag gateway configuration screen, select the Manage domains button. All of your domains will be grouped in these 3 sections:
- Tagged domains: This section shows the domains that already have the current tag.
- Untagged domains: This section shows the domains that aren’t tagged. If chosen, Google tag gateway for advertisers will add the missing tag automatically.
- Other active domains: This section shows the domains that are already using Google tag gateway for advertisers with a different tag, activated through Fastly, or activated using self service.
Alternatively, you can select Configure in the upper right corner, then select View in Fastly.
If there was a problem during setup, you’ll be presented with the option to try again. If you continue to receive an error message, you should set up Google tag gateway for advertisers from the Fastly interface instead of the Google tag interface.
If your Fastly account is undetected or incompatible, you can set up Google tag gateway for advertisers using self service.
Validate the Google tag gateway for advertisers set up from Tag Assistant
You can confirm if your Google tag gateway for advertisers setup is working correctly by using Tag Assistant.
Verify where the script is loaded from by following these steps:
- Ensure that your Google tag fires.
- Open Tag Assistant and enter your website URL to create the connection.
- Navigate through your website to trigger tags.
- In the Summary > Output > Hits Sent tab, verify that the hits are routed to your measurement path.
Deactivate Google tag gateway for advertisers
- In the “Google tag gateway” screen, select Configure.
- Select Delete to detach Fastly from your Google tag and remove the Google tag gateway for advertisers configuration.
Note: Deleting the Google tag gateway for advertisers configuration in your Google tag will also disable the feature for all active domains. After Google tag gateway for advertisers is deleted, you can set it up again with a new Fastly account.