npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@dukaan/dukaan-sdk

v1.0.178

Published

#### define dukaan tracking system.

Downloads

389

Readme

Initilizing Dukaan analytics.

define dukaan tracking system.

const track = new dukaan.track(seller);

Initilize auto tracking

track.init();

Labling elements to be tracked.

da-entity='dukaan-premimum' da-action='signup' da-meta='{plan_name | Free}'

Attribute names & explanation

| Key | Value | | --------- | ---------------------------------------------------------------------------------------------------- | | da-entity | Product entity to be tracked| like cataloge| orders| themes| plugins| marketing tools etc | | da-action | the user action| like signup| add-product| update-product etc. | | da-meta | Additional meta-data for the event in a json format. like product info| order info| or anything else |

events schema

Attribute names & explanation

| Key | sample value | Explanation | | ---------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | user_type | seller | buyer / seller / reseller / vendor | | id_user | 12345 | User ID | | id_buyer | 12345 | Buyer ID | | id_seller | 12345 | Seller Id | | id_store | 12345 | Store Id | | id_reseller | 12345 | Reseller Id | | id_vendor | 12345 | Vendor Id | | store_link | dailyneeds | Store link | | app_platform | web | Platform - web / Android / iOS | | app_version | 1.0.3 | App version | | campaign_name | Insta-sellers | Marketing campaign name (utm_campaign) | | campaign_source | google | Marketing campaign source (utm_source) | | campaign_medium | CPC | marketing campaign medium (utm_medium) | | campaign_term | keyword | marketing campaigin term (utm_term) | | campaign_content | article | marketing campaign content (urm_content) | | device_platform | Mobile | Mobile / Desktop / Tablet | | device_os | MAC OS | Device os - Mac OS / Windows / Linux | | device_os_version | 10.15.5 | OS version | | device_browser | Chrome | Device browser - Chrome / Safari etc | | device_browser_ver | 91 | Browser version | | device_browser_ver_full | 91.0.4472.77 | browser version full | | device_browser_user_agent | Mozilla/5.0 .... | User agent of the device | | device_ip | 122.166.131.96 | IP of the device - Auto | | device_latitude | 12.9634 | Lat of the device - Auto | | device_longitude | 77.5855 | long of the device - Auto | | device_city | Bengaluru | City of the device - Auto | | device_state | Karnataka | State of the device - Auto | | device_country | India | Country of the device - Auto | | device_pin_code | 560002 | Pin code of the device - Auto | | device_screen_width | 1080 | Screen width of the device | | device_screen_height | 1920 | Screen height of the device | | device_screen_resolution | 1080x1920 | Full resolution string of the device | | event_type | action | Event type - `action` or `page_view` | | event_action | signup | event action - like 'Add to cart' or 'added product' etc | | event_entity_type | product | Root feature node - Like 'cataloge' / 'orders' / marketing , plugins , themes etc | | event_entity_id | | Id of the entity like product id or order id etc | | event_entity_name | | name of the entity like product name or seller name etc | | event_entity_lable | | | | event_entity_count | | | | event_entity_meta | {\\plan_name\\ | | | event_entity_order_meta | | Meta data for the event (optional) | | event_entity_product_meta | | | | event_order_total_cost | | | | event_order_payment_mode | | | | event_order_meta | | | | page_path | / | | | page_title | Dukaan - Add products | | | page_referrer | | | | api_host | | | | api_response_time | | | | createdAt | 2021-06-08 10 | | | updatedAt | 2021-06-08 10 |