---
title: How do I integrate with Google Tag Manager using iFrames?
description: Here's a step by step guide on integrating GTM via iFrames as a Tradable Bits integration.
---

[Skip to content](https://resources.tradablebits.com/support/google-tag-manager-iframe-integration#main-content)

English

Show submenu for translations

![tradable-bits-long-logo-for-download.png\]](https://resources.tradablebits.com/hs-fs/hubfs/tradable-bits-long-logo-for-download.png?height=40&name=tradable-bits-long-logo-for-download.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations

 How can we help?

- There are no suggestions because the search field is empty.

1. [Resources](https://resources.tradablebits.com/support?hsLang=en)
2. [Trackers](https://resources.tradablebits.com/support/trackers?hsLang=en)

# How do I integrate with Google Tag Manager using iFrames?

## Here's a step by step guide on integrating GTM via iFrames as a Tradable Bits integration.

1. In the Publish page of your campaign, grab the Tradable Bits embed code  (first code block under 1: Embed Widget) for use on your website. Use the Tradable Bits Embed code using embedded.js, *do not* use the iframe code provided below it:
   
   ![](https://resources.tradablebits.com/hs-fs/hubfs/Screenshot%202024-11-05%20at%209-52-06%E2%80%AFAM-png.png?width=688&height=369&name=Screenshot%202024-11-05%20at%209-52-06%E2%80%AFAM-png.png)

2.  Place your GTM tag (or any global site tag for the network on which you want to track on ex.

Meta / Tiktok / Snapchat site tag) at the top of the site on which you will be embedding your campaign.

Example Meta Tag:

```
<script>  !function(f,b,e,v,n,t,s)  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?  n.callMethod.apply(n,arguments):n.queue.push(arguments)};  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';  n.queue=[];t=b.createElement(e);t.async=!0;  t.src=v;s=b.getElementsByTagName(e)[0];  s.parentNode.insertBefore(t,s)}(window, document,'script',  'https://connect.facebook.net/en_US/fbevents.js');  fbq('init', '{your-pixel-id-goes-here}');  fbq('track', 'PageView');</script>
```

Example GTM Tag:

```
<script async src="https://www.googletagmanager.com/gtag/js?id=your-pixel-id-goes-here"></script><script>  window.dataLayer = window.dataLayer || [];  function gtag(){dataLayer.push(arguments);}  gtag('js', new Date());  gtag('config', 'your-pixel-id-goes-here);</script>
```

 

3\. On the tracking page of the campaign, add the GTM tag (or fill any other tracking tags you need installed in accordance with the global tags you installed in the previous step ie. Meta/Tiktok/Snapchat):

![](https://resources.tradablebits.com/hs-fs/hubfs/Screenshot%202024-11-05%20at%209-57-11%E2%80%AFAM-png.png?width=688&height=377&name=Screenshot%202024-11-05%20at%209-57-11%E2%80%AFAM-png.png)

 

**Still need assistance? Please reach out to your Customer Success Team or contact [support@tradablebits.com](mailto:support@tradablebits.com)**

- [Getting started](https://resources.tradablebits.com/support/getting-started?hsLang=en)
- [Account](https://resources.tradablebits.com/support/account?hsLang=en#main-content)

    - [Account Admin](https://resources.tradablebits.com/support/account?hsLang=en#account-admin)
    - [Security & Data Practices](https://resources.tradablebits.com/support/account?hsLang=en#security-data-practices)
- [Engagement Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#main-content)

    - [Campaign Basics](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#campaign-basics)
    - [Campaign Setup & Configuration](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#campaign-setup-configuration)
    - [Campaign Styling & Design](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#campaign-styling-design)
    - [Lead Generation Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#lead-generation-campaigns)
    - [User-Generated Content Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#user-generated-content-campaigns)
    - [Music Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#music-campaigns)
    - [Quiz Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#quiz-campaigns)
    - [Events/Ticketing Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#events-ticketing-campaigns)
    - [Game Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#game-campaigns)
    - [Voting/Polling Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#voting-polling-campaigns)
    - [Prize Giveaway Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#prize-giveaway-campaigns)
    - [Incentivize Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#incentivize-campaigns)
    - [Best Practices for Campaigns](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#best-practices-for-campaigns)
    - [Campaign Reporting](https://resources.tradablebits.com/support/engagement-campaigns?hsLang=en#campaign-reporting)
- [User-Generated Content (UGC)](https://resources.tradablebits.com/support/user-generated-content-ugc?hsLang=en)
- [Fan CRM](https://resources.tradablebits.com/support/fan-crm?hsLang=en#main-content)

    - [Tags](https://resources.tradablebits.com/support/fan-crm?hsLang=en#tags)
    - [Filters](https://resources.tradablebits.com/support/fan-crm?hsLang=en#filters)
    - [Exports](https://resources.tradablebits.com/support/fan-crm?hsLang=en#exports)
    - [Fan Profiles](https://resources.tradablebits.com/support/fan-crm?hsLang=en#fan-profiles)
- [Sales](https://resources.tradablebits.com/support/sales?hsLang=en#main-content)

    - [Data Library](https://resources.tradablebits.com/support/sales?hsLang=en#data-library)
- [Trackers](https://resources.tradablebits.com/support/trackers?hsLang=en)
- [Idols](https://resources.tradablebits.com/support/idols?hsLang=en)
- [Integrations](https://resources.tradablebits.com/support/integrations?hsLang=en#main-content)

    - [Outgoing Integrations](https://resources.tradablebits.com/support/integrations?hsLang=en#outgoing-integrations)
    - [Incoming Integrations](https://resources.tradablebits.com/support/integrations?hsLang=en#incoming-integrations)
    - [Salesforce Marketing Cloud](https://resources.tradablebits.com/support/integrations?hsLang=en#salesforce-marketing-cloud)
- [Ads](https://resources.tradablebits.com/support/ads?hsLang=en#main-content)

    - [Meta (Facebook & Instagram)](https://resources.tradablebits.com/support/ads?hsLang=en#meta-facebook-instagram)
    - [Google Ads](https://resources.tradablebits.com/support/ads?hsLang=en#google-ads)
    - [Snapchat](https://resources.tradablebits.com/support/ads?hsLang=en#snapchat)
    - [TikTok](https://resources.tradablebits.com/support/ads?hsLang=en#tiktok)
    - [Spotify & Reddit](https://resources.tradablebits.com/support/ads?hsLang=en#spotify-reddit)
- [Messaging](https://resources.tradablebits.com/support/messaging?hsLang=en#main-content)

    - [SMS](https://resources.tradablebits.com/support/messaging?hsLang=en#sms)
    - [Email](https://resources.tradablebits.com/support/messaging?hsLang=en#email)
    - [Push Notifications](https://resources.tradablebits.com/support/messaging?hsLang=en#push-notifications)
    - [Instagram](https://resources.tradablebits.com/support/messaging?hsLang=en#instagram)
    - [Automations](https://resources.tradablebits.com/support/messaging?hsLang=en#automations)
    - [Custom Networks](https://resources.tradablebits.com/support/messaging?hsLang=en#custom-networks)
- [Octane](https://resources.tradablebits.com/support/octane?hsLang=en)
- [FAQs](https://resources.tradablebits.com/support/faqs?hsLang=en)

[![Chill listening crop-3](https://resources.tradablebits.com/hubfs/tbits-logo.svg "Chill listening crop-3")](https://tradablebits.com/)

<https://www.linkedin.com/company/tradable-bits/> <https://www.instagram.com/tradablebits/>

Copyright © 2026, Tradable Bits