Adding Click URL to Google Web Developer

Build an HTML5 Digital Throttle Creative in Google Web Designer  

This page explains how to use Google Web Designer to build HTML5 creatives that will properly track clicks in Digital Throttle. Key point - Do Not enter your actual landing page URL in the ad. Instead, please use the value "clickTag" as shown below. 

From within Google Web Designer, click the + button under Events to add a new event. 


Add an Event Target 


2. Choose the element of the ad that will be clickable.

Select Event


3. Then choose the user action that will open the landing page (e.g., click)

Select Custom under Action

Type a unique name into the field (next to gwd.) provided (exampl, throttleClick). Then paste the code below into the text box provided (this is your clickTag code). 

Please use the attached .TXT file to copy the code to use

function getParameterByName(name) { var match = RegExp('[?&]' + name + '=([^&]*)').exec(; return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); }'clickTag'), '_blank');

!!!! Paste the code using your computer's menu bar. DON'T use a key shortcut such as "CTRL-V" as Google Web Designer has a known issue with key commands.

Then click OK.
Test (optional) 


4. Click Preview to open the ad in your browser. Add ?clickTag= at the of the URL in the address bar with the landing page you want to test. Refresh the page and click on the ad. A new window with the landing page you entered should open in your browser. When the ad is served, Digital Throttle sets the value of clickTag to the URL you provide us.    

>>>>In other words, DO NOT enter the actual landing page URL in the ad. Please supply this to us separately. When we setup your order, we will then "connect" the "clickTag" to the URL.


Have more questions? Submit a request


Please sign in to leave a comment.