@dub/analytics
Advanced tools
Comparing version 0.0.23 to 0.0.25
@@ -8,4 +8,4 @@ interface AnalyticsProps { | ||
/** | ||
* The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking. | ||
* @example 'example.com' | ||
* The custom domain you're using on Dub for your short links. | ||
* @example 'go.example.com' | ||
*/ | ||
@@ -12,0 +12,0 @@ shortDomain?: string; |
// package.json | ||
var name = "@dub/analytics"; | ||
var version = "0.0.23"; | ||
var version = "0.0.25"; | ||
@@ -5,0 +5,0 @@ // src/utils.tsx |
@@ -8,4 +8,4 @@ interface AnalyticsProps { | ||
/** | ||
* The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking. | ||
* @example 'example.com' | ||
* The custom domain you're using on Dub for your short links. | ||
* @example 'go.example.com' | ||
*/ | ||
@@ -12,0 +12,0 @@ shortDomain?: string; |
@@ -8,3 +8,3 @@ "use client"; | ||
var name = "@dub/analytics"; | ||
var version = "0.0.23"; | ||
var version = "0.0.25"; | ||
@@ -11,0 +11,0 @@ // src/utils.tsx |
{ | ||
"name": "@dub/analytics", | ||
"version": "0.0.23", | ||
"version": "0.0.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -45,3 +45,3 @@ ## Overview | ||
The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking. | ||
The custom domain you're using on Dub for your short links. | ||
@@ -67,3 +67,3 @@ ### `attributionModel` | ||
For example, to set a cross domain cookie, you can use the following code: | ||
For example, to set a 60-day cookie window, you can use the following code: | ||
@@ -75,5 +75,3 @@ ```tsx | ||
cookieOptions={{ | ||
domain: process.env.IS_PRODUCTION_ENV | ||
? ".yourdomain.com" // for cross-domain tracking | ||
: undefined, | ||
expiresInDays: 60, | ||
}} | ||
@@ -80,0 +78,0 @@ /> |
@@ -11,4 +11,4 @@ export type AllowedPropertyValues = string | number | boolean | null; | ||
/** | ||
* The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking. | ||
* @example 'example.com' | ||
* The custom domain you're using on Dub for your short links. | ||
* @example 'go.example.com' | ||
*/ | ||
@@ -15,0 +15,0 @@ shortDomain?: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
65280
84