Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@dcardsdk/web-ad-tracking-sdk
Advanced tools
The public advertising tracking SDK for web environments powered by Dcard Inc.
The advertising tracking SDK for web environments powered by Dcard Inc.
yarn add @dcardsdk/web-ad-tracking-sdk
import entry from '@dcardsdk/web-ad-tracking-sdk'
// Substitute the real client ID for CLIENT_ID issued by Dcard.
entry('init', 'CLIENT_ID');
entry('track', 'PageView', { url: window.location.href });
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Embedding SDK example</title>
<script>!function(){var d=function d(a){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];d.queue.push([a].concat(n))};d.queue=[],window.dadk=window.dadk||d;var a=document.createElement("script");a.src="undefined"!=typeof URLSearchParams?"https://unpkg.com/@dcardsdk/web-ad-tracking-sdk/build/dadk.iife.js":"https://unpkg.com/@dcardsdk/web-ad-tracking-sdk/build/outdated-dadk.iife.js",document.head.appendChild(a),window.dadk("init","CLIENT_ID"),window.dadk("track","PageView",{url:window.location.href})}();
</script>
</head>
<body></body>
</html>
curl -Ls "https://unpkg.com/@dcardsdk/web-ad-tracking-sdk/build/types/dadk.d.ts" -o types/dadk.d.ts
/// <reference path="types/dadk.d.ts" />
// Assume the types folder is at the same level as this script.
window.dadk('track', 'AddToCart', { 'contents': { test: '123' } })
https://unpkg.com/@dcardsdk/web-ad-tracking-sdk/build/types/dadk.d.ts
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator
FAQs
The public advertising tracking SDK for web environments powered by Dcard Inc.
The npm package @dcardsdk/web-ad-tracking-sdk receives a total of 293 weekly downloads. As such, @dcardsdk/web-ad-tracking-sdk popularity was classified as not popular.
We found that @dcardsdk/web-ad-tracking-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.