> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://dots.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 2.0 Integration with marketing services using Google Tag Manager

Google Tag Manager is a solution from Google that allows you to place scripts on the website pages without interfering with its code.

After setting up the integration with ** [Google Tag Manager](https://dots.crisp.help/en/article/set-up-the-integration-with-google-tag-manager-1a887my/) ** , you will be able to install various tools for the website, including:

*   Google Analytics    
*   Google Adwords    
*   Facebook Pixel    
*   Etc.
    

All codes must be placed in the GTM account, after that, the corresponding container will appear on the website. To do this, just add the ID of your container in the ** [integration settings with Google Tag Manager](https://dots.crisp.help/en/article/set-up-the-integration-with-google-tag-manager-1a887my/). **

![](https://storage.crisp.chat/users/helpdesk/website/3c7680cb850c3200/image_5aem1r.png)

# Creation of HTML code builder in Google Tag Manager

1.  First, create a [Google Tag Manager account](https://marketingplatform.google.com/about/tag-manager/).
    

[![](https://storage.crisp.chat/users/helpdesk/website/75862eda0b0d0c00/87aed68c-b78a-427d-b875-0c29ea_1skeucu.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487950/ed9442ab75278f9a57db0f6a/W0hFQ4ggDVWMaPxz-thV18qu5dOqfgmvnxNNlotW3afG2dUG3BzZK910wJtpPvN8j6D1edo9OsgsBfIR6FVE3BVxaAEqO3lLMsIbvH0XfFJHyQYjf2MgZPnT0huYImncoO9P2Ns8riy0okMVQg)

2. Go to **Tags** section and click **New**.

[![](https://storage.crisp.chat/users/helpdesk/website/fa8ad33e7377e800/793ac3a3-01df-4451-9f3d-bc2f5d_wt4gm8.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487960/2485254f3ea4cb9621da9ffe/D9aernw0T1mGG2N6-eJvcan_8F_Zur0ImMQXEqGtDB2NoHcVc9ETzDFvKfmIMOSS09xlQ8qky-xbjY-OfGnZPXcB7DEMly73bAYLaqFywOBIZd1ZHSy7A9WJRb7_9DHkwSmE2ak_Wl5j97gz_g)

3. In the window that appears, click **Tag configuration**.

[![](https://storage.crisp.chat/users/helpdesk/website/91b85ca0ec152000/81c24ef1-4c1c-4520-be41-e5279e_1913oi8.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487968/8ed74173f42ee01c4513aabf/z_DDn8VLcXkRwV_q2KqFlS2zcAqQSEcqOLabYZaiR_E9lGbkA54iyUE2kA-RqPW-y9k46Xlwavbd4Myyn1aJxaggg7SzfbVeGj0warXIOV3kqtRH72LqmXWUExs_ZJ_f76Kn0Io3y2RrEK2LHw)

4. In the list that appears, select **Custom HTML**.

[![](https://storage.crisp.chat/users/helpdesk/website/e4d9aec622ef1000/2c7725ce-014a-4e20-9956-b24ab1_18q2hf3.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487973/56471990bd9113964108dc72/XqjA8XDToBm9T0VTBIR-xqarrlHTm2iVBEVBc0O76hfvU02YBNlWzYpr3UWSAw3v4K-BShPpUbLO1EqC4no2Xm_i8BbiRH0Ug9wCeXfGOKkctPSvAgczDDnGJJdoIHEM-EiXW3SWybYDE3gHVA)

5. Then select all available pages.

[![](https://storage.crisp.chat/users/helpdesk/website/3f3bdafe61ca6c00/453beed7-599e-45eb-bc86-eab646_1a26gbh.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487977/e850f07025dfafd410f1da97/UZPorfrhuQ-XlQRWk_rFFz6sQvQKREiOdsr8QkP65PmLkNL4_uTC5yUp-dZEGQBa_lW_ivZPb81eumc69mSKTZrj3gqDDz1R866y0uFHpkSih3mhPrkkGfQvEeJU-zbKEPrYSDCuEUz4ZJYVjw)

6. At the top right of the screen, click **Save** > **Submit**, and then **Publish**.

[![](https://storage.crisp.chat/users/helpdesk/website/1b7b783b0989e600/d7735415-f727-4000-ac82-3f2546_1xnqmra.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487982/8617c45ead41dd0d3aa7491d/PbQMQchdO-W7ZYfvTz3EW6vNAR4PpqD-IhjPkaEqTxgnpfWbktMnK-_T9pN57KsOVDb_zsMvJtOwgHUmJGTqZlax10O9-xvwrS60pJdfjeutDERKnvcepMjNgfEzS1zmbuAaBuy-D_IL4HMdEQ)

[![](https://storage.crisp.chat/users/helpdesk/website/d836c1b603d82000/a4259763-c379-4193-b514-3f3101_8eo3m1.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487987/e05e1192a12b23aeb89b76ba/xJPQMejrv-XRZ4wry59RS29izsChsGoVNq8VUBLSzt6jTQrsCO91MPAXZWR5oY9zq1osTSN5goAaFdWe8e_CWLoHKGVjYewn-3p1HJvXDXHsdIwUhNo6cL_8zb5cRT6FoomhvO8U2Le_gpU4bA)

# Setting up Facebook Pixel events in Google Tag Manager

You can generate the code yourself and add it to Google Tag Manager.

In your [Facebook Business](https://business.facebook.com/) account, you can set up events without a code. To do this, the account administrator needs to open the app or website and select the buttons for the events.

1.  First, click the **Menu** icon and go to **Events Manager.**
    
    [![](https://storage.crisp.chat/users/helpdesk/website/95f43ad62f02f800/149550fa-ec20-4498-987c-e88831_1mw1y12.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487992/58c8e65ca69967122d17e52d/JfeyVB11cEvxCYRcOVAUALkxeVhniuZb0frEAxX9ngfQNLujx0uyPN9se8MRYvCd0rsxowHbuWk5ec2M-06GgiHglBQydpJJZXYM4sMMcAkY8IIv68V7xvQ8gMefnIVXtmt_3S_JtxlLSg9aZg)
    
2.  Then go to **Data Sources** and click **Add New Data Source**.
    

[![](https://storage.crisp.chat/users/helpdesk/website/88f6e319c9586800/1ec0b52e-26a5-4d85-a11c-cb05cc_1vm9rq1.png)](https://dots-platform.intercom-attachments-7.com/i/o/540487996/fa6c8496d17fa9242dafe334/QU5BjMxX-IeK6x1W5Dx6ngaaog4f6KHlICwSz8JFcP7v0QRmJcFHasDF0pZ65sZjUFCZ6j8gB6MD2acS3Hbizm1vHwmSo8GHPdeDNKXE5eXEs0Zz6Qkzf40CXmzqA_Za0KMt7H8TxL_8UjXDfQ)

3. In one of the steps, Facebook will offer you several ways to add the pixel. Select **Manually add pixel code to website**.

[![](https://storage.crisp.chat/users/helpdesk/website/ae870f48be8e1800/89156bbe-3f99-43b2-a119-2cbd58_1uv7hk4.png)](https://dots-platform.intercom-attachments-7.com/i/o/540488002/c8ca5bdf1f3edc4f65ba2b3e/JxgHHuhDInE1vll6yYFRyzGR3Uc0RYESRZHRBd7su_1UuFQYMot_GRI60u-5PtB6AVDtnrA-tP9yr3yfTRIYb9YHAE8oWUxdafhgTzXcyDW-50pTpgSkjQMckwJPRQI6X5KYroC8JVrbvWdxWw)

4. Copy the pixel code to your clipboard and paste it into Google Tag Manager.

5. After that, you need to open the website and check whether it’s working. The [Facebook Pixel Helper browser extension](https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en) allows you to see if Pixel is installed on the website and what events it sends to Facebook.

[![](https://storage.crisp.chat/users/helpdesk/website/72672fd2d76a9c00/ad726883-f411-4baf-a6e4-8f6033_dngatc.png)](https://dots-platform.intercom-attachments-7.com/i/o/540488004/59c15ddc6ada5afb8d6d35cb/7VegtoKIIGEkc1jUnXlbQr2B3yKEpdL_IzIfpwGaJ6shIHFYrMfvLDtyFg5Q6IpcYlqG_7BN961fGI-xv5YSbJT65fOYxtoqercyPL-Qh_1aH8ANmFqSqbGbT4B6Ln4g26OO5C3Dv8bD4FOqTA)

6. After installing the extension for your browser, go back to Events Manager and make sure that Pixel is working.

[![](https://storage.crisp.chat/users/helpdesk/website/1b1bc8b7236dee/baaa0119-6670-4057-9639-1fdebf_33ct7z.png)](https://dots-platform.intercom-attachments-7.com/i/o/540488015/fe9693bc17d7b99061f68400/heGfbnqUpHGtdeW8CF_J4ajwmSehJSh1DvbhKYWMER58zrps63a0_zM_NeFn3C8CoaOEoq9ahjorhtebFneVtMi6jRHODshGvtiQsGydBNLgFSY1sxrRfTySSjRr0YTFhMbbzg1S-YtCzeyrIg)

You can configure events for a website in the same way. To do this, select the **Track new button** or **Track a URL** option.

[![](https://storage.crisp.chat/users/helpdesk/website/3bee3291f5fa1600/a7baccf6-02da-42dd-8919-4ca72e_zd27ub.png)](https://dots-platform.intercom-attachments-7.com/i/o/540488020/6a08dfd307d23ebea85cd859/qfU4_WsVlO5uU_TCQo_kFj-bodZXscesrfPiQtE79q8RgDyK6UNx-y_FCevaRq2vfjGpw0FauU2FnZ8z53pHCv3wlRJSAaU3SWtniuEFy2oymRQ_kaT1kNYk3KJafMmJgvurrn4bHN5GS_icug)

To configure events on the website, click **Open Events Setup Tool**.

[![](https://storage.crisp.chat/users/helpdesk/website/64f5f452909a500/a72ae0ee-79e6-4202-8375-13db51_6grilf.png)](https://dots-platform.intercom-attachments-7.com/i/o/540488030/7dd26af91b7edf8b73c22481/mMlcCcKbjG59nE-tIfIfxGKDO5RDOqfEHZUr3N1YGOfYMzFzEfhll7LPpHc2NMViVgSqchotbbWlqBRlNmXWXG6Hq1vr1zzZM23uIlg4PMNhmC0DoUHsID95EsuJgy7MpqhvGRx_xYsn1cSgjA)

In the window that appears, click **Include Value and Currency** and select the desired options.

[![](https://storage.crisp.chat/users/helpdesk/website/5a06efbdf9966800/e371185c-343b-45ee-b6cc-341607_bl06gx.png)](https://dots-platform.intercom-attachments-7.com/i/o/540488035/3754a8029619e83ee099a8bc/YLn1M7lEOvjYBP6aZcV8k7p36zM5MnUGVAG8Cdq1FYHpMSVO3q5VBiaNCn0s4Eq4oem-IV_d1ZU0drACVHgPpKj8Wmpxb-e2lNQJXvbK-5TII0zYM5lIH6ObfbLe5AFe913JDCHMi6NmNfCI9A)

For more information on how to add events, see [here](https://www.facebook.com/business/help/964258670337005?id=1205376682832142).

* * *

Link to this article: ** [here](https://dots.crisp.help/en/article/integration-with-marketing-services-using-google-tag-manager-q49lsv/?bust=1702295334135) ** 