Closed AmoabaKelvin closed 6 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ishortn-ink | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 8:45pm |
Improved generateMetadata
function
The code of the generateMetadata
function has been tidied up for better readability. This means it will be easier for the team to understand and maintain in the future.
New parameter for retrieveOriginalUrl
function
The retrieveOriginalUrl
function now has a from
parameter. This shows whether the function was called when generating metadata or doing redirection, enabling better tracking of its use.
Updated retrieveOriginalUrlSchema
for new parameter
The schema for retrieveOriginalUrl
function has been updated to include the from
parameter. This enables the function to have more accurate data about where the function call originated from.
Enhancement in logAnalytics
function
The logAnalytics
function has been updated to accept a from
parameter. It helps avoid unnecessary logging of requests that comes from metadata generation. This will save computational resources and keep log files cleaner.
Updated analytics logging behavior
With the addition of from
parameter, we've ensured the system will not log analytics during metadata generation. This results to more relevant and concise logs.
Generating the metadata for a link was causing extra click recordings. That has been fixed now