Problem/Motivation

Taken from https://support.google.com/admanager/answer/1638622?hl=en

The Google Publisher Tag library is now hosted at https://securepubads.g.doubleclick.net/tag/js/gpt.js, in addition to being hosted at the googletagservices.com domain. While not required, we strongly recommend that you update all references to GPT on your pages to use this new domain.

This change consolidates all ad serving requests to one domain, instead of two, which means the browser only needs to connect to one domain. The library is exactly the same at both domains.

The result is an improvement in the speed of your tags and fetching ads a bit quicker.

Proposed resolution

Replace all occurences of googletagservices.com/tag/js/gpt.js with securepubads.g.doubleclick.net/tag/js/gpt.js

CommentFileSizeAuthor
#2 gptspeed-3064499-#2.patch1.64 KBmd2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

md2 created an issue. See original summary.

md2’s picture

FileSize
1.64 KB

First attempt at a patch for this issue.

mxh’s picture

Assigned: Unassigned » mxh

  • mxh committed 286530a on 8.x-1.x authored by md2
    Issue #3064499 by md2: Optimize GPT speed by updating the hosted library...
mxh’s picture

Status: Active » Fixed

Committed to 8.x-1.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.