> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.coupontools.com/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).

# How to add Google Analytics (GA) or Google Tag Manager (GTM) to a coupon?

### Adding Google Analytics

  
  
*   Edit your campaign
  
  
*   Go to 'Advanced settings'
  
  
*   Scroll down until you see Attach pixels or tracking codes to your coupon.
  
  
![](https://storage.crisp.chat/users/helpdesk/website/97f47c3e2bba3800/09ac9f76-fac9-46d2-a6eb-884185_hkr9lj.png)  
*   You can add your code here and it will be loaded on all pages from the coupon campaign.
  
  
Here is an example analytics code:  
  

``` ```

  
  
P.S. your coupon builder has to be in 'Advanced Mode'. This feature is not available in 'Lite Mode'  
  

### Adding Google Tag Manager

  
  
*   Go to "integrations"
  
  
*   Select "Google Tag Manager"
  
  
*   Here you can add your Google Tag Manager which will be loaded into every campaign (also the campaigns who already were created before adding the code)