Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-plausible

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-plausible - npm Package Compare versions

Comparing version 3.6.5 to 3.7.0

4

dist/index.d.ts

@@ -36,2 +36,6 @@ import React, { ReactNode } from 'react';

/**
* Set this to true if you want to enable custom event tracking in HTML elements as described https://plausible.io/docs/custom-event-goals
*/
taggedEvents?: boolean;
/**
* Set this if you want to exclude a set of pages from being tracked. See https://plausible.io/docs/excluding-pages for more details.

@@ -38,0 +42,0 @@ */

3

dist/index.esm.js

@@ -48,2 +48,3 @@ import React, { useCallback } from 'react';

'file-downloads',
'tagged-events',
];

@@ -139,3 +140,3 @@ const getScriptPath = (options, ...modifiers) => {

? proxyOptions.scriptName
: getRemoteScriptName(domain, props.selfHosted) }), props.trackLocalhost ? 'local' : null, props.manualPageviews ? 'manual' : null, props.trackOutboundLinks ? 'outbound-links' : null, props.exclude ? 'exclusions' : null, props.trackFileDownloads ? 'file-downloads' : null), integrity: props.integrity, crossOrigin: props.integrity ? 'anonymous' : undefined }, props.scriptProps))),
: getRemoteScriptName(domain, props.selfHosted) }), props.trackLocalhost ? 'local' : null, props.manualPageviews ? 'manual' : null, props.trackOutboundLinks ? 'outbound-links' : null, props.exclude ? 'exclusions' : null, props.trackFileDownloads ? 'file-downloads' : null, props.taggedEvents ? 'tagged-events' : null), integrity: props.integrity, crossOrigin: props.integrity ? 'anonymous' : undefined }, props.scriptProps))),
enabled && (React.createElement(Script, { id: "next-plausible-init", dangerouslySetInnerHTML: {

@@ -142,0 +143,0 @@ __html: `window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }`,

@@ -57,2 +57,3 @@ 'use strict';

'file-downloads',
'tagged-events',
];

@@ -148,3 +149,3 @@ const getScriptPath = (options, ...modifiers) => {

? proxyOptions.scriptName
: getRemoteScriptName(domain, props.selfHosted) }), props.trackLocalhost ? 'local' : null, props.manualPageviews ? 'manual' : null, props.trackOutboundLinks ? 'outbound-links' : null, props.exclude ? 'exclusions' : null, props.trackFileDownloads ? 'file-downloads' : null), integrity: props.integrity, crossOrigin: props.integrity ? 'anonymous' : undefined }, props.scriptProps))),
: getRemoteScriptName(domain, props.selfHosted) }), props.trackLocalhost ? 'local' : null, props.manualPageviews ? 'manual' : null, props.trackOutboundLinks ? 'outbound-links' : null, props.exclude ? 'exclusions' : null, props.trackFileDownloads ? 'file-downloads' : null, props.taggedEvents ? 'tagged-events' : null), integrity: props.integrity, crossOrigin: props.integrity ? 'anonymous' : undefined }, props.scriptProps))),
enabled && (React__default["default"].createElement(Script__default["default"], { id: "next-plausible-init", dangerouslySetInnerHTML: {

@@ -151,0 +152,0 @@ __html: `window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }`,

{
"name": "next-plausible",
"version": "3.6.5",
"version": "3.7.0",
"files": [

@@ -5,0 +5,0 @@ "dist"

@@ -70,2 +70,3 @@ # Next-Plausible · [![npm version](https://img.shields.io/npm/v/next-plausible.svg?style=flat)](https://www.npmjs.com/package/next-plausible)

| `trackFileDownloads` | Set this to `true` if you want to enable [file download tracking](https://plausible.io/docs/file-downloads-tracking). |
| `taggedEvents` | Set this to `true` if you want to enable [custom event tracking in HTML elements](https://plausible.io/docs/custom-event-goals). |
| `trackLocalhost` | Set this to `true` if you want to enable localhost tracking as described [here](https://plausible.io/docs/script-extensions). |

@@ -72,0 +73,0 @@ | `manualPageviews` | Set this to `true` if you want to disable automatic pageview events as described [here](https://plausible.io/docs/script-extensions#plausiblemanualjs). |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc