Skip to content

Commit

Permalink
Fix comments for fbc and fbp (#264)
Browse files Browse the repository at this point in the history
Summary:
Fix fbc and fbp params comments

Pull Request resolved: #264

Reviewed By: mengxuanzhangz

Differential Revision: D50807047

Pulled By: stcheng

fbshipit-source-id: 7461765eb680acd51a79409e85f49e2cb9cd83ab
  • Loading branch information
rlloyd2001 authored and facebook-github-bot committed Nov 7, 2023
1 parent 4ab4661 commit c6baaf0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/objects/signal/user-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default class UserData {
* @param {String} gender Gender, in lowercase. Either f or m.
* @param {String} client_ip_address The IP address of the browser corresponding to the event.
* @param {String} client_user_agent The user agent for the browser corresponding to the event.
* @param {String} fbp The Facebook click ID value stored in the _fbc browser cookie under your domain.
* @param {String} fbc The Facebook browser ID value stored in the _fbp browser cookie under your domain.
* @param {String} fbp The Facebook browser ID value stored in the _fbp browser cookie under your domain.
* @param {String} fbc The Facebook click ID value stored in the _fbc browser cookie under your domain.
* @param {String} subscription_id The subscription ID for the user in this transaction.
* @param {String} fb_login_id The FB login ID for the user.
* @param {String} lead_id The Id associated with a lead generated by Facebook's Lead Ads.
Expand Down Expand Up @@ -512,7 +512,7 @@ export default class UserData {
/**
* Gets the fbp for the user data.
* fbp is Facebook browser ID value stored in the _fbp browser cookie under your domain.
* See Managing fbc and fbp Parameters for how to get this value @see {@link https://developers.facebook.com/docs/marketing-api/facebook-pixel/server-side-api/parameters#fbc},
* See Managing fbc and fbp Parameters for how to get this value @see {@link https://developers.facebook.com/docs/marketing-api/facebook-pixel/server-side-api/parameters#fbp},
*/
get fbp() {
return Utils.constructResponse(this._server_user_data.fbp, null);
Expand All @@ -521,7 +521,7 @@ export default class UserData {
/**
* Sets the fbp for the user data.
* @param fbp is Facebook browser ID value stored in the _fbp browser cookie under your domain.
* See Managing fbc and fbp Parameters for how to get this value @see {@link https://developers.facebook.com/docs/marketing-api/facebook-pixel/server-side-api/parameters#fbc},
* See Managing fbc and fbp Parameters for how to get this value @see {@link https://developers.facebook.com/docs/marketing-api/facebook-pixel/server-side-api/parameters#fbp},
*/
set fbp(fbp: string) {
this._server_user_data.fbp = fbp;
Expand All @@ -530,7 +530,7 @@ export default class UserData {
/**
* Sets the fbp for the user data.
* @param {String} fbp is Facebook browser ID value stored in the _fbp browser cookie under your domain.
* See Managing fbc and fbp Parameters for how to get this value @see {@link https://developers.facebook.com/docs/marketing-api/facebook-pixel/server-side-api/parameters#fbc},
* See Managing fbc and fbp Parameters for how to get this value @see {@link https://developers.facebook.com/docs/marketing-api/facebook-pixel/server-side-api/parameters#fbp},
*/
setFbp(fbp: string): UserData {
this._server_user_data.fbp = fbp;
Expand Down

0 comments on commit c6baaf0

Please sign in to comment.