Developer forum

Forum » Dynamicweb 10 » Google Site Verification

Google Site Verification

NC
NC
Reply

I'm looking for the right place to add the Google Site Verification.

I can find it in Swiftv1 - but not in swift v2.
Or is this  a hardcoded thing to do in the master now?  

Thanx in advance
..NC


Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi NC,

 

 

I would recommend just doing it via GTM: https://support.google.com/webmasters/answer/9008080?hl=en#google_tag_manager_verification

 

BR Rasmus Sanggaard

 
NC
NC
Reply

Thanx Rasmus

I'll ask the client if it's the same person who has GTM access.
If not, I'll have to make a custem master-template...

..NC

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi NC,

I believe that you can also use the CustomHeadInclude option on the website. It allows you to add any customisation in the head without customising the Master.

Adrian

 
NC
NC
Reply

Hi Adrian,

that's true. But I found this in the master... 

Pageview.Meta.AddTag("google-site-verification", Model.Area?.Item?.GetString("GoogleSiteVerification"));

There must be a input somewhere for this in Swift v2?

..NC

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Yes - it should be here:

But I can see that the item type definition might be missing the information here:

 

You must be logged in to post in the forum