Skip to content

Commit

Permalink
update api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
imnutz committed Nov 8, 2024
1 parent 945d077 commit 8596eb0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/plugins/conversion_api_support.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,17 +321,22 @@ function collectAllTags(options = {}) {
}, {})
}
/**
* Collect ads cookies for Conversion API
* Collect Ads cookies and parameters for Conversion APIs
*
* @param {object} configs - (Optional) object containing configuration information
* @param {object} options - (Optional) object containing extra configurations
*
* Extra configurations only support Google Marketing Platform (Conversion Linker) for setting
* custom cookie prefix
*
* @example
* var td = new Treasure({...})
* td.collectTags({
* vendors: ['meta', 'google_ga', 'google_mp'],
* cookies: ['_cookie_a', '_cookie_b'],
* params: ['paramA', 'paramB']
* }, {
* gclPrefix: '_gcl2'
* })
*
*/
Expand Down

0 comments on commit 8596eb0

Please sign in to comment.