---
title: How to implement the Pubstack tag ?
description: Summarize How to implement the Pubstack tag
---

[Skip to content](https://help.pubstack.io/migration/how-to-implement-the-pubstack-tag#main-content)

English

Show submenu for translations

[Contact us](https://help.pubstack.io/migration/kb-tickets/new?hsLang=en) [Customer portal](https://help.pubstack.io/tickets-view?hsLang=en)

![Logo Pubstack white.svg\]](https://help.pubstack.io/hubfs/Logo%20Pubstack%20white.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://help.pubstack.io/migration/kb-tickets/new)
- [Customer portal](https://help.pubstack.io/tickets-view)
- Go to Pubstack

 Go to Pubstack

 Welcome on our knowledge base

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

1. [Knowledge Base](https://help.pubstack.io/migration?hsLang=en)
2. [Analytics](https://help.pubstack.io/migration/analytics?hsLang=en)
3. [Technical documentation](https://help.pubstack.io/migration/analytics?hsLang=en#technical-documentation)

# How to implement the Pubstack tag ?

## Summarize How to implement the Pubstack tag

### How to retrieve Pubstack tag

In order to retrieve Pubstack tag, you have to go on Settings \> Sites 

![](https://help.pubstack.io/hubfs/image-png-Dec-16-2022-11-09-20-2595-AM.png)

 

Then click on the website already created

![](https://help.pubstack.io/hubfs/image-png-Dec-16-2022-04-25-58-1628-PM.png)

 

### How to implement Pubstack tag

You have two way to implement the tag:

- Implement the script on your site pages in your \<head\> or your \<body\>. It doesn't especially need to be loaded before prebid.
- Adding the tag to your website with Google Tag Manager

#### Script

You will find two options to connect your site to Pubstack

- HTML - script tag

![](https://help.pubstack.io/hubfs/image-png-Dec-16-2022-04-28-39-7778-PM.png)

- JavaScript - inline code

![](https://help.pubstack.io/hubfs/image-png-Dec-16-2022-04-29-22-5289-PM.png)

#### Google tag Manager

1. Log in to your Google Tag Manager account.
2. Select New Tag.
3. Select Custom HTML Tag.
4. Paste in the Pubstack Tag
5. Publish.

### Iframe

If you have Iframe on your website, you have to add directly the script on each Iframe to be able Pubstack to retrieve all informations

- [What is Pubstack](https://help.pubstack.io/migration/what-is-pubstack?hsLang=en#main-content)

    - [Solutions description](https://help.pubstack.io/migration/what-is-pubstack?hsLang=en#solutions-description)
    - [Demo and trial](https://help.pubstack.io/migration/what-is-pubstack?hsLang=en#demo-and-trial)
- [Analytics](https://help.pubstack.io/migration/analytics?hsLang=en#main-content)

    - [The Pubstack interface](https://help.pubstack.io/migration/analytics?hsLang=en#the-pubstack-interface)
    - [Technical documentation](https://help.pubstack.io/migration/analytics?hsLang=en#technical-documentation)
    - [Use cases](https://help.pubstack.io/migration/analytics?hsLang=en#use-cases)
    - [Ad servers](https://help.pubstack.io/migration/analytics?hsLang=en#ad-servers)
    - [API](https://help.pubstack.io/migration/analytics?hsLang=en#api)
- [Ad Management (One)](https://help.pubstack.io/migration/ad-management-one?hsLang=en#main-content)

    - [Implementation](https://help.pubstack.io/migration/ad-management-one?hsLang=en#implementation)
    - [Technical Documentation](https://help.pubstack.io/migration/ad-management-one?hsLang=en#technical-documentation)
    - [Pubstack UI Ad Management](https://help.pubstack.io/migration/ad-management-one?hsLang=en#pubstack-ui-ad-management)
    - [Use Cases](https://help.pubstack.io/migration/ad-management-one?hsLang=en#use-cases)
    - [Features](https://help.pubstack.io/migration/ad-management-one?hsLang=en#features)
- [Knowledge](https://help.pubstack.io/migration/knowledge?hsLang=en#main-content)

    - [Infographics](https://help.pubstack.io/migration/knowledge?hsLang=en#infographics)
- [Technical Documentation](https://help.pubstack.io/migration/technical-documentation?hsLang=en)
- [The Pubstack Academy](https://help.pubstack.io/migration/the-pubstack-academy?hsLang=en#main-content)

    - [User-Guides](https://help.pubstack.io/migration/the-pubstack-academy?hsLang=en#user-guides)
    - [Webinar Episodes](https://help.pubstack.io/migration/the-pubstack-academy?hsLang=en#webinar-episodes)
- [How to contact Support ?](https://help.pubstack.io/migration/how-to-contact-support?hsLang=en)
- [Pubstack Node](https://help.pubstack.io/migration/pubstack-node?hsLang=en#main-content)

    - [Introduction](https://help.pubstack.io/migration/pubstack-node?hsLang=en#introduction)
    - [Getting Started](https://help.pubstack.io/migration/pubstack-node?hsLang=en#getting-started)
    - [Analytics](https://help.pubstack.io/migration/pubstack-node?hsLang=en#analytics)
    - [Rules](https://help.pubstack.io/migration/pubstack-node?hsLang=en#rules)
    - [Monetisation Management](https://help.pubstack.io/migration/pubstack-node?hsLang=en#monetisation-management)

[![Chill listening crop-3](https://help.pubstack.io/hs-fs/hubfs/pubstack_logo.png?width=89&height=24&name=pubstack_logo.png "Chill listening crop-3")](http://www.pubstack.io?hsLang=en)

We help publishers thrive in a complex programmatic world

Copyright © 2026, Pubstack