Expand my Community achievements bar.

SOLVED

DTM Page Load Rule - Meta tag inclusion and Google Adwords tracking code inclusion

Avatar

Level 2

I am having two queries regarding setting up of DTM rule.

1.    I need to include the below mentioned Meta tag in the website using DTM page load rule. How can I include this meta above the <title> tag of the website using DTM page load rule?

<meta name="google-site-verification" content="hpzO7ngFR5GkFasfafD_XzmeRhwlb-EyqzTd-35TGi_NCwE02131234" />


2.    I need to include google adwords tracking code in a particular page of the website using DTM page load rule? Please guide me how to include this code.

   <!-- Google Code for 5 Questions Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 141515155sgsg555;
var google_conversion_language = "fr";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "agqaggwsgsdgagM";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/9s2352525/?label=od72CLeSzgkQ8dz1zgM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

 

Appreciate your help

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Filip / Venkat,

Apologies  for the delayed response.

Have you added the Tag As "Sequential HTML"  third party Tag , If not please do that As it help you to inject the tag in head section of the page and just to make sure please fire the page load rule at top of the page. For more information please see the following link for more help : 

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

Thanks & Regards

Parit Mittal

View solution in original post

2 Replies

Avatar

Level 2

Hi,

Was there any update on (1)?

I'm having issues implementing the google-site-verification html tag. Though i've added it to Page Load Rule (firing at Top Page), i can't find the tag on the page code source.

Thanks

Filipe

Avatar

Correct answer by
Level 10

Hi Filip / Venkat,

Apologies  for the delayed response.

Have you added the Tag As "Sequential HTML"  third party Tag , If not please do that As it help you to inject the tag in head section of the page and just to make sure please fire the page load rule at top of the page. For more information please see the following link for more help : 

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

Thanks & Regards

Parit Mittal