@vexia/vx-tag
v1.2.0
Published
Lightweight loaders for ad placement tags.
Keywords
Readme
@vexia/vx-tag
Lightweight loaders for ad placement tags. Internal tooling — not intended for general use.
dist/vx-tag.js
Placement tag loader. Keep the placement's <ins> line as provided and
load this script after it:
<ins class="..." data-key="..."></ins>
<script async src="https://cdn.jsdelivr.net/npm/@vexia/vx-tag@1/dist/vx-tag.min.js"></script>Renders the tag in the current page, or — when running inside a
same-origin ad iframe — in the parent page anchored to the ad slot.
Optional data-src="https://..." on the script tag overrides the default
renderer URL.
dist/vx-tabunder.js
Click-through companion pixel:
<script async
src="https://cdn.jsdelivr.net/npm/@vexia/vx-tag@1/dist/vx-tabunder.min.js"
data-operator-url="https://..."></script>On the first qualifying link click, the clicked URL opens in a new
foreground tab and the current tab navigates to data-operator-url.
Versioning
Consumers pin the major version (@1); patch/minor releases roll out
automatically. Breaking changes are published as a new major with a new
URL.
