# How can I add the Salesflare tracking script using Google Tag Manager?

How can I create a Google tag and use it to put the Salesflare website tracking script on my site?

We will provide a step-by-step guide on how to add the Salesflare Website Tracking Script to Google Tag Manager.

1.  Go to your Google Tag Manager account and select your **“Workspace”**
    
2.  On the left hand side, click on “**Tags”** \> and click on **“New”**
    
    ![](/assets/b62a9781ff61c6e7e5d79016.png)
    
3.  Click on “**Tag Configuration**”
    
    ![](/assets/d9a2c65f478bfa3c8a733991.png)
    
4.  Scroll down to find “**Custom HTML**” from the list
    
    ![](/assets/1bcb5d7b627804e29e4ef5ab.png)
    
5.  Log in to your Salesflare account and go to **Settings** \> **Applications & Integrations** \> Click on “**show script**” for **Website tracking script** \> Copy script
    
    ![](/assets/8ca57964043b3fc988f97b67.gif)
    
6.  Go back to your Google Tag Manager \> click on “**Custom HTML**” \> paste the HTML you copied from Salesflare
    
    ![](/assets/4416f04410eb1298ab2ff7e9.png)
    
7.  Click on “**Triggering”**
    
    ![](/assets/09a8486063eb94bf0166c643.png)
    
8.  Select the "**All Pages**" and "**Page View**" as the trigger
    
    ![](/assets/781d30745755a0773f79954b.png)
    
9.  Give your tag a name \> click on “Save” on top right corner
    
    ![](/assets/86ba8a96d9af1ed3ad3da400.png)
    
10.  Click **“Submit”** to submit your changes \> give your version a name \> click on “**Publish**” in the top right corner
     

![](/assets/3968f4c6ca4d9b28cdef5c61.gif)

That’s it! If you have any questions, feel free to reach out to us on the chat or via [support@salesflare.com](mailto:support@salesflare.com) 🤗
