top of page

Search Engine Marketing
Call & Conversion Tracking Script

Your campaign includes conversion tracking, which allows us to track the leads (calls or form fills) generated by your ads.  In order to set this up, you will need to insert a snippet of code called Google Tag Manager on the backend of your website. Please follow the instructions outlined below to do so.  Once completed please let us know so that we can validate that the script is functioning properly. 

 

The Google Tag Manager uses Marketing Cookies that are non-essential in the operation of your website, but instead, are for marketing purposes.  As per the Terms and Conditions of your Marketing Agreement with Yellow Pages, it is your responsibility to obtain all necessary consents and provide all necessary notices under applicable privacy laws for Yellow Pages to process such information. Users may still be able to browse your website after declining cookies, however your analytics metrics will vary based on your visitors' acceptance of tracking activities on your website.  

 

Should you have any questions, please visit our FAQ https://www.corporate.yp.ca/law25-faq

How to install your tag:
  1. Open the HTML code on your website.

  2. Find the opening <head> tag.

  3. Paste the below piece of Google Tag Manager script into the <head> on all pages. This needs to be inserted as high as possible in the <head>.
     

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-[[GTM: GTM Code]]');</script>
<!-- End Google Tag Manager -->

4. Next, follow the above steps to paste the second part of your Google Tag Manager script immediately after the opening <body> tag on all pages.

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-[[GTM: GTM Code]]"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

For this tracking to work, you’ll need to ensure that you include both code snippets in the requested areas of your website.

Yellow_Pages_logo_Biligual_EN_FR_Rev.png
bottom of page