How do you set-up Adwords header Meta verification tags in IQ?

Silver Contributor
Silver Contributor
 
6 REPLIES 6

How do you set-up Adwords header Meta verification tags in IQ?

Silver Contributor
Silver Contributor
Here is the 2 specific Meta tags that I need coded on the site for Adwords: <meta name="google-site-verification" content="TSSFrYuUBl9SnGy6tQIROO2ZRjPKrFd9Cwhg6u_-5SY" /> <meta name="google-site-verification" content="fdGmvh5WD16e9UIvJmaUVN5Cdv0-SmTsykMf4Jx0udE" />

How do you set-up Adwords header Meta verification tags in IQ?

Silver Contributor
Silver Contributor
If i go into Data layer-->Add Data Source What goes under the source name? a.)The entire tag b.)Just the name value pair?

How do you set-up Adwords header Meta verification tags in IQ?

Employee Emeritus
Andre, This would require custom code in a JS Code Extension. The Add Data Source option in the Data Layer Tab is to grab data that is already on defined on the page. I am not sure if this will work for the Adwords verification. Meta data is really only functional if it is set on page load. Typically verification code will simply crawl the site/page to see check for the values. It won't load the files that are contained on the site. I don't think the Adwords verification script will be able to pick up the values without loading the utag.js file as well, since Tealium will be injecting these values during page load. With that said you can use something like the following in a JS Code Extension to append the meta tags to the of the page: jQuery('head').append( '<meta name="description" content="this is new" />' ); This is assuming the jQuery library is loaded on the page.

How do you set-up Adwords header Meta verification tags in IQ?

Tealium Employee
Jared is correct. Google's tools crawl the website and do not run any JS code, therefore the tools will always report that the tag does not exist. Therefore the meta tags must be hard-coded on the website. This is a common request and there is no other work around due to Google not running JS.

How do you set-up Adwords header Meta verification tags in IQ?

Silver Contributor
Silver Contributor
Thanks for the feedback- So I would have to create 2 separate javascript extensions with the contents: #1 jQuery('head').append( '<meta name="google-site-verification" content="TSSFrYuUBl9SnGy6tQIROO2ZRjPKrFd9Cwhg6u_-5SY" />' ); #2 jQuery('head').append( '<meta name="google-site-verification" content="fdGmvh5WD16e9UIvJmaUVN5Cdv0-SmTsykMf4Jx0udE" />' );

How do you set-up Adwords header Meta verification tags in IQ?

Employee Emeritus
You could use a single extension for both expressions. Like mentioned we don't have high hopes that this is going to work for the Adwords Validator. The validator will probably still show a message that says the tag is not implemented correctly even though it really is.
Public