Can I set Google Search Console tag with DTM?

Avatar

Avatar
Validate 25
Level 3
tomo_x
Level 3

Likes

17 likes

Total Posts

70 posts

Correct reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
tomo_x
Level 3

Likes

17 likes

Total Posts

70 posts

Correct reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
tomo_x
Level 3

13-04-2016

Hi,

I would like to use Google Search Console , but I have not set Google Tag Manager into our website.
I tried to set it's tag with DTM and search help page, but I couldn't find any help page for this.
Could you tell me any page to explain to do this?
 

Tomo

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

20-04-2016

Hi Tomoko, 

As you are already having "Tracking Code" , I assume you are using "Google Analytics Tracking Code" as one of the method to verify the site owner ship .  your code must be similar to the below tracking code : 

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-49XXXXXX-1', 'auto');
  ga('send', 'pageview');

</script>

So in this case ,  you can Add this code via DTM by "Adding a Google Universal Analytics Tool " to you property and use "UA-49XXXXXX-1" as the Production and Staging Account ID and use the Tracker name as "GA Default" and then use setting that Google Analytics code is hosted through "URL" :  https://www.google-analytics.com/analytics.js . Please see the following link for more info : 

https://marketing.adobe.com/resources/help/en_US/dtm/google_universal_analytics.html

Thanks & Regards

Parit Mittal

Answers (7)

Answers (7)

Avatar

Avatar
Boost 1
Level 1
ziyaad_ca
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
ziyaad_ca
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
ziyaad_ca
Level 1

31-08-2017

Hi,

I'm in the same boat here, we've integrated GA via DTM, but this doesn't put the GA script in the HTML, thus the Google Search Console can't verify it. How do we make this work?

My other options is to place a file in the root, but that's not straight forward.

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,333 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,333 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

18-09-2017

You'd need to remove the GA tool if you switched to using the HTML tag in a page load rule. This would prevent the GA script from being fired twice.

Avatar

Avatar
Boost 1
Level 1
ziyaad_ca
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
ziyaad_ca
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
ziyaad_ca
Level 1

18-09-2017

That means the GA script will be fired twice? I'm not following here.

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,333 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,333 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

18-09-2017

@Ziyaad Khoja

If you need to deploy an HTML tag, you can do so using the third party section of a rule.

@Marnie Raines

When you say you have a similar thread, do you mean a customer care ticket or do you have another thread on the community?

Avatar

Avatar
Level 1
MarnieAlmand
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
MarnieAlmand
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
MarnieAlmand
Level 1

18-09-2017

We also are having the same challenge and posted in a similar thread.  Awaiting a response from Adobe Client Care.

Avatar

Avatar
Validate 25
Level 3
tomo_x
Level 3

Likes

17 likes

Total Posts

70 posts

Correct reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
tomo_x
Level 3

Likes

17 likes

Total Posts

70 posts

Correct reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
tomo_x
Level 3

19-04-2016

Hi, Mr.Mittal

Thanks for replying.
As you say, I am trying to verify my website on Google Search Console.
And I got tracking code, but I need to ask development dept to set the code into the website.
It would need long time and cost.
So if I could set the tracking code with DTM, I would like to know how to do it.

Thanks,
Tomo

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

17-04-2016

Hi tomoko ,

Are you trying to verify your ownership of your site on Google Search Console ? . If yes please see the following links for more info. 

https://support.google.com/webmasters/answer/35179?hl=en

https://support.google.com/analytics/answer/1142414?hl=en

Please do let us know if you have any questions or queries.

Thanks & Regards

Parit Mittal