Skip to main content
Using NEXD Tags and understanding them

Get a clear overview on the benefits, required steps, and the process for using NEXD tags on your channel or platform.

Updated over a week ago

NEXD tags are tested and work out of the box with many platforms and publishers, but there may be channel specific changes that one wants to go through. For this, we have provided a clear overview of how NEXD tags work and how can you use them as you wish.

Alright, let's dig in. Often, you will see a NEXD tag like this:

<ins class="adcads"
     data-adc-id="wpRZ5PjS7qtz"
     data-unit="wpRZ5PjS7qtz"
     data-responsive="yes"
     data-clickable="yes"
     data-has-tablet="yes"
     data-click-tracker="https://nexd.com/"
     data-width="300"
     data-height="250">
     <script src="https://media.adcanvas.com/wpRZ5PjS7qtz/adtag.js" type="text/javascript"></script>
</ins>

This has all the information for it to fully function in a 300x250. But there are so many extra options to be added so you can customize your usage. These are outlined below.

Tag attributes

data-adc-id="wpRZ5PjS7qtz"

  • Description: "NEXD Creative ID" is our system creative hash like "Oht68WTZsh4z". This ID is the main element, where the tag takes which creative to show.

  • Default value: None (Required)

data-unit="wpRZ5PjS7qtz"

  • Description: Refers to "NEXD Creative ID". If changed the tracking ID is changed. You shouldn't change that

  • Default value: data-adc-id

data-responsive="yes"

  • Description: If the ad acts as responsive or not. Responsiveness usually means that the creative tries to fill the placement it's set or for mobile to detect the correct feed imprint it should leave.

  • Allowed values: yes , no

  • Default value: yes

data-width="300"

  • Description: The width in pixels how big the ad should be. This usually refers to the placement size width where the ad is inserted.

  • Allowed values: Number in pixels (e.g. 320)

  • Default value: Placement width (not to be trusted)

data-height="250"

  • Description: The height of the advertisement in pixels. Data-width and data-height usually gives suggestion how big ad should be and most important it gives height/weight ratio for responsiveness. Tags AI system tries to understand what kind of page it is and how big ad must be put when playing with ad size we always must be in one height/weight ratio

  • Allowed values: Number in pixels

  • Default value: Placement height (not to be trusted)

data-clickable="yes"

  • Description: When true the entire ad will be clickable and tracking url will be specified in data-click-tracker except or in asset specific click tags.
    If click area doesn't have asset specific tracker then global tracker is used.

  • Allowed values: yes , no

  • Default value: yes

data-tracking="yes"

  • Description: When this is set to false then tracking info is not sent to NEXD and there is no analytics to display in our platform

  • Allowed values: yes , no

  • Default value: yes

data-has-desktop="no"

  • Description: Defines whether the advertisement is made for desktop environments and can act on different logics.

  • Allowed values: yes , no

  • Default value: no

data-redir="no"

  • Description: Defines whether the platform where the tag is inserted handles redirections by itself or NEXD tags will define the redirection.

  • Allowed values: yes , no

  • Default value: no

data-understitial="no"

  • Description: Also known as Interscroller. Defines whether the advertisements works as an understitial (background) element or not. Sizes refer to the viewport, how big of a proportion the creative can be seen at one point. Creative will always be fullscreen.

  • Allowed values: yes , no

  • Default value: no

data-interstitial="no"

  • Description: Also known as Fullscreen. Defines whether the advertisement will break out of the placement and act as an overlay fullscreen element. Can not be used in Desktop.

  • Allowed values: yes , no

  • Default value: no

data-custom-close="yes"

  • Description: Defines whether to use NEXD's close button on top right corner or to hide it. Can not be used in In-feed or Understitial.

  • Allowed values: yes , no

  • Default value: Yes for Interstitial and Expandable; No for In-feed and Understitial.

data-debug="no"

  • Description: Defines whether to send extra debugging data to NEXD's core system. This is helpful for NEXD's teams proactive monitoring and gathering data about potential issues. No personalized data is sent, only information about performance and the immediate surrounding of the advertisement.

  • Allowed values: yes , no

  • Default value: no

data-click-tracker="YOURURLHERE"

  • Description: Global Click URL to where the end-user will be sent to after click has been initiated. This can be overridden by Asset Specific click tags shown below.

  • Allowed value: Absolute URL with Macros. E.g. https://nexd.com/?utm_medium=test

  • Default value: about:blank

data-click-tag-[1 / card_1 / 2]="YOURURLHERE"

  • Description: Asset specific click URL. This will be used either in paging events or when clicked on designated asset

  • Allowed values: Absolute URL with Macros. E.g. https://nexd.com/?utm_medium=test

  • Default value: about:blank

  • Example: data-click-tag-1="https://nexd.com"

data-use-mraid="auto"

  • Description: Determines the enforcing of MRAID usage. Auto defines the functionality as being validated against strict functionality provided by IAB and uses it's placement functionality. Yes enforces to use all MRAID functionalities needed. We strongly suggest to set it to auto in Programmatic Environment.

  • Allowed value: yes , auto , no

  • Default value: auto

Note: Adding a Global Pixel (third-party impression) tracker can drastically penalize your programmatic traffic reach. We strongly advise you to use third-party trackers only for interactions.

Deprecated attributes

For historical purposes we show here also options that you may see in earlier tags, but these are not used any more.

data-has-tablet="yes"

  • Description: DEPRECATED ⚠️ If this is true then on tablet views a 2x assets are shown. Deprecation notice: This is automatic now for all advertisements

  • Allowed values: yes , no

  • Default value: yes

data-has-cta-bar="no"

  • Description: DEPRECATED ⚠️ Defines whether the creative will make a CTA bar in the placement with extra functionality for sharing and saving or not.

  • Allowed values: yes , no

  • Default value: no

Didn't find an answer to your question? Please email us at [email protected] or open a chat in the bottom right corner.

Did this answer your question?