{
    "componentChunkName": "component---node-modules-rocketseat-gatsby-theme-docs-core-src-templates-docs-query-js",
    "path": "/docs/destinations/marketing/post-affiliate-pro/",
    "result": {"data":{"mdx":{"id":"3e8bfd8c-8ec6-507f-b327-82749381e486","excerpt":"Post Affiliate Pro Post Affiliate Pro  is a popular affiliate marketing software that lets you manage your affiliate programs, track their performance, and…","fields":{"slug":"/docs/destinations/marketing/post-affiliate-pro/"},"frontmatter":{"title":"Post Affiliate Pro","description":"Step-by-step guide to send your event data from RudderStack to Post Affiliate Pro.","image":null,"disableTableOfContents":null},"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Post Affiliate Pro\",\n  \"description\": \"Step-by-step guide to send your event data from RudderStack to Post Affiliate Pro.\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h1\", {\n    \"id\": \"post-affiliate-pro\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h1\",\n    \"href\": \"#post-affiliate-pro\",\n    \"aria-label\": \"post affiliate pro permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Post Affiliate Pro\"), mdx(\"p\", null, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://www.postaffiliatepro.com/\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Post Affiliate Pro\")), \" is a popular affiliate marketing software that lets you manage your affiliate programs, track their performance, and boost your lead generation efforts.\"), mdx(\"p\", null, \"RudderStack supports Post Affiliate Pro as a destination to which you can seamlessly send your customer data.\"), mdx(\"h2\", {\n    \"id\": \"getting-started\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#getting-started\",\n    \"aria-label\": \"getting started permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Getting started\"), mdx(\"p\", null, \"Before configuring Post Affiliate Pro as a destination in RudderStack, verify if the source platform is supported by Post Affiliate Pro by referring to the table below:\"), mdx(\"table\", null, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Connection Mode\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Web\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Mobile\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Server\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Device mode\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Supported\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Cloud mode\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\")))), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"To know more about the difference between cloud mode and device mode in RudderStack, refer to the \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/connections/rudderstack-connection-modes/\"\n  }, \"RudderStack connection modes\"), \" guide.\"), mdx(\"p\", null, \"Once you have confirmed that your source platform supports sending events to Post Affiliate Pro, follow these steps:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"From your \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://app.rudderstack.com/\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"RudderStack dashboard\")), \", add the source. From the list of destinations, select \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Post Affiliate Pro\"), \".\")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"Follow our guide on \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/connections/adding-source-and-destination-rudderstack/\"\n  }, \"Adding a Source and Destination in RudderStack\"), \" for more information.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Assign a name to the destination and click on \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Next\"), \". You should then see the following screen:\")), mdx(\"undefined\", null, mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"704px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"155.83333333333334%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRuAAAABXRUJQVlA4INQAAABQBQCdASoUAB8APjEWiEMiISEUBVQgAwS0gF80dD+i26LJoRoATgGPWoMhjXJ1UtDKSDgA/v+1ozbcHWXsqp5SGE8m4ZoY5VdQlVHPMLaVHtlyPKYzh6nd7iUvf9BsWO4qiv96W5fe7geYOBLebR3v6sbeF/oJYCcBFwVu7gNxS2tFOYus7ShLryQZxcpD//DIhNBMCmqk7Bv0297leOPG6ybHZBy62J7l9JVv0yCbfkQKluAwIepCXF+fBt1ewwjYPhrIozVfCGvwA5Tx9brg5gAAAA==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/4c86b97e8d568113246a12c9e071356c/cbea2/pap-connection-settings-1.webp 240w\", \"/static/4c86b97e8d568113246a12c9e071356c/42669/pap-connection-settings-1.webp 480w\", \"/static/4c86b97e8d568113246a12c9e071356c/eea89/pap-connection-settings-1.webp 704w\"],\n    \"sizes\": \"(max-width: 704px) 100vw, 704px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/4c86b97e8d568113246a12c9e071356c/5243c/pap-connection-settings-1.png 240w\", \"/static/4c86b97e8d568113246a12c9e071356c/ab158/pap-connection-settings-1.png 480w\", \"/static/4c86b97e8d568113246a12c9e071356c/e134c/pap-connection-settings-1.png 704w\"],\n    \"sizes\": \"(max-width: 704px) 100vw, 704px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/4c86b97e8d568113246a12c9e071356c/e134c/pap-connection-settings-1.png\",\n    \"alt\": \"Post Affiliate Pro connection settings\",\n    \"title\": \"Post Affiliate Pro connection settings\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"704px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"113.33333333333333%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRqgAAABXRUJQVlA4IJwAAACwBACdASoUABcAPjEWiUOiISEUBAAgAwS0gFvk//APQ7i7lhxeQOK3zYWmjE8AAP7/r6lhR54XyHFWbtwauUPgReJkvwrM9V15kQKD1eZbT61LC0cYvpg9R99SDEmic7B5W/PJD5R9S/N7gfSSKerYgqXos0Qkn/LlKXD1tvON7dhJBUY58dKXWfoXuRGMmHJa22jZkCqLYezAAAA=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/672e67a239922e94ac9e4924b2975745/cbea2/pap-connection-settings-2.webp 240w\", \"/static/672e67a239922e94ac9e4924b2975745/42669/pap-connection-settings-2.webp 480w\", \"/static/672e67a239922e94ac9e4924b2975745/eea89/pap-connection-settings-2.webp 704w\"],\n    \"sizes\": \"(max-width: 704px) 100vw, 704px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/672e67a239922e94ac9e4924b2975745/5243c/pap-connection-settings-2.png 240w\", \"/static/672e67a239922e94ac9e4924b2975745/ab158/pap-connection-settings-2.png 480w\", \"/static/672e67a239922e94ac9e4924b2975745/e134c/pap-connection-settings-2.png 704w\"],\n    \"sizes\": \"(max-width: 704px) 100vw, 704px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/672e67a239922e94ac9e4924b2975745/e134c/pap-connection-settings-2.png\",\n    \"alt\": \"Post Affiliate Pro connection settings\",\n    \"title\": \"Post Affiliate Pro connection settings\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"704px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"113.33333333333333%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRroAAABXRUJQVlA4IK4AAADwBACdASoUABcAPjEWiUMiISEUBVQgAwSzgCurAeiH83RNWr+LlMvTS4/Lx1xarQAA/v+3OmbDWGgAk6ctz7r10dxFFnm10Kb3qqI7oLBYue4PsJgihT4fgB58L6q1B6I7wdwjYEAyDdOIzX7Jq9x3a9IpcMWOgQITWKEeHl52EYZVYZ/SyzNmtZvj48zjLH7yMQedJl8klTn4XR2Z9l5XX2AbzGou1vkmgAAAAAA=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/d82af4c1d405c9da3468d5a0f6205fd2/cbea2/pap-connection-settings-3.webp 240w\", \"/static/d82af4c1d405c9da3468d5a0f6205fd2/42669/pap-connection-settings-3.webp 480w\", \"/static/d82af4c1d405c9da3468d5a0f6205fd2/eea89/pap-connection-settings-3.webp 704w\"],\n    \"sizes\": \"(max-width: 704px) 100vw, 704px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/d82af4c1d405c9da3468d5a0f6205fd2/5243c/pap-connection-settings-3.png 240w\", \"/static/d82af4c1d405c9da3468d5a0f6205fd2/ab158/pap-connection-settings-3.png 480w\", \"/static/d82af4c1d405c9da3468d5a0f6205fd2/e134c/pap-connection-settings-3.png 704w\"],\n    \"sizes\": \"(max-width: 704px) 100vw, 704px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/d82af4c1d405c9da3468d5a0f6205fd2/e134c/pap-connection-settings-3.png\",\n    \"alt\": \"Post Affiliate Pro connection settings\",\n    \"title\": \"Post Affiliate Pro connection settings\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \")), mdx(\"h3\", {\n    \"id\": \"connection-settings\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#connection-settings\",\n    \"aria-label\": \"connection settings permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Connection settings\"), mdx(\"p\", null, \"The connection settings required to configure Post Affiliate Pro as a destination in RudderStack are listed below:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"URL of Post Affiliate Pro\"), \": Enter your Post Affiliate Pro tracking URL here.\")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"For more information on getting the Post Affiliate Pro URL, refer to the \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/destinations/marketing/post-affiliate-pro/#faqs\"\n  }, \"FAQs\"), \" section below.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Account ID\"), \": Enter your network merchant account ID here. \")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"Post Affiliate Pro owners will have this value set to \", mdx(\"code\", {\n    className: \"inline-code\"\n  }, \"default1\"), \".\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Param Name User ID\"), \": If you have changed the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Affiliate ID / Referrer ID\"), \" parameter value by going to \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Configuration\"), \" - \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"URL Parameter Names\"), \" in your Post Affiliate Pro dashboard, this new value should be entered here.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Cookie Domain\"), \": Enter your cookie domain name here. You can find this setting by going to your Post Affiliate Pro dashboard and navigating to \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Configuration\"), \" - \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Cookies\"), \", as shown:\"))), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"57.08333333333333%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRoIAAABXRUJQVlA4IHYAAAAwBACdASoUAAsAPjEUiEKiISEYBAAgAwS0gFqEDAGBwqsQrccw/TDNrAAA/v6xo//xugQ/Pri/lNovg7I0YxX2qPCg11fIeLg9E1PjgHlxvFrrSWf25cfO8fT7P3u8Zh/TclZ6ly4NQvXgMZ+3StxMPRSg/AAA')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/b6c200acab7f655b443881147bfb9890/cbea2/pap-cookie-domain.webp 240w\", \"/static/b6c200acab7f655b443881147bfb9890/42669/pap-cookie-domain.webp 480w\", \"/static/b6c200acab7f655b443881147bfb9890/10c02/pap-cookie-domain.webp 960w\", \"/static/b6c200acab7f655b443881147bfb9890/43ab5/pap-cookie-domain.webp 1054w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/b6c200acab7f655b443881147bfb9890/5243c/pap-cookie-domain.png 240w\", \"/static/b6c200acab7f655b443881147bfb9890/ab158/pap-cookie-domain.png 480w\", \"/static/b6c200acab7f655b443881147bfb9890/7d769/pap-cookie-domain.png 960w\", \"/static/b6c200acab7f655b443881147bfb9890/b050c/pap-cookie-domain.png 1054w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/b6c200acab7f655b443881147bfb9890/7d769/pap-cookie-domain.png\",\n    \"alt\": \"Post Affiliate Pro cookie domain setting\",\n    \"title\": \"Post Affiliate Pro cookie domain setting\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Cookie to Custom Field\"), \": Enter the ID of the field where the cookie will be written.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Campaign to Custom Field\"), \": Enter the ID of the field where the campaign value will be written.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Affiliate to Custom Field\"), \": Enter the ID of the field where the affiliate ID will be written.\"))), mdx(\"h4\", {\n    \"id\": \"affiliate-to-link-settings\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#affiliate-to-link-settings\",\n    \"aria-label\": \"affiliate to link settings permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Affiliate to Link settings\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Affiliate Link ID\"), \": Enter your affiliate link ID here, e.g. \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"affiliateId\"), \". This refers to the ID of the DOM object where the Affiliate ID is added.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"AffiliateId Parameter Name\"), \": Enter your affiliate ID parameter name, e.g. \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"a_aid\"), \".\"))), mdx(\"p\", null, \"Suppose you set the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Affiliate Link ID\"), \" to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"affiliateId\"), \" and \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"AffiliateId Parameter Name\"), \" to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"aff_id\"), \". Then, the anchor link of the domain where you want to send the affiliate/referrer ID will be converted from: \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"<a href=\\\"http://abcd.com\\\"id=\\\"affiliateId\\\"></a>\"), \" to:  \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"<a href=\\\"http://abcd.com/?aff_id=<the_affiliate_id>\\\"id=\\\"affiliateId\\\"></a>\"), \".\"), mdx(\"h4\", {\n    \"id\": \"cookie-to-link-settings\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#cookie-to-link-settings\",\n    \"aria-label\": \"cookie to link settings permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Cookie to Link settings\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Cookie Link ID\"), \": Enter your cookie link ID here. This refers to the ID of the DOM object where the cookie ID is added.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Cookie Parameter Name\"), \":  Enter the cookie parameter name here.\"))), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, mdx(\"p\", null, \"These settings are similar to the \", mdx(\"strong\", null, \"Affiliate to Link\"), \" settings, except that the cookie will be written in place of the \", mdx(\"code\", {\n    className: \"inline-code\"\n  }, \"affiliateId\"), \".\")), mdx(\"h4\", {\n    \"id\": \"event-tracking-settings\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h4\",\n    \"href\": \"#event-tracking-settings\",\n    \"aria-label\": \"event tracking settings permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Event tracking settings\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Merge Products\"), \": This setting determines if RudderStack should merge the product information while making a sale call to Post Affiliate Pro. If disabled, an individual sale object will be created for each product.\")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, mdx(\"p\", null, \"Refer to the \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/destinations/marketing/post-affiliate-pro/#sales-tracking\"\n  }, \"Merging product information during sales tracking\"), \" section for more information on this feature.\")), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Disable Tracking Method\"), \": Disable this setting to disable flash cookie creation.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"List of Events for Click\"), \": For \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://rudder.postaffiliatepro.com/merchants/index.php#Clicks-Tracking\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Clicks Tracking\")), \", RudderStack will consider only the events listed in this field.\"))), mdx(\"div\", {\n    className: \"warningBlock\"\n  }, mdx(\"p\", null, \"Make sure the event names specified in this field are comma-separated.\")), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"As this is a destination that supports sending events only via the web device mode, the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Use device mode to send events\"), \" option will be always enabled.\")), mdx(\"p\", null, \"Finally, click on \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Next\"), \" to complete the setup. Post Affiliate Pro will now be enabled as a destination in RudderStack.\"), mdx(\"h2\", {\n    \"id\": \"identify\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#identify\",\n    \"aria-label\": \"identify permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Identify\"), mdx(\"p\", null, \"You can use the RudderStack \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"identify\"), \" method to set a unique customer ID. You can then use this ID to subsequently track the customer's activities.\"), mdx(\"p\", null, \"A sample \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"identify\"), \" call is shown below:\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-javascript\"\n  }, \"rudderanalytics.identify(\\n  \\\"user001\\\", // visitor Id\\n);\\n\")), mdx(\"p\", null, \"RudderStack calls the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"setVisitorId\"), \" function of the Post Affiliate Pro SDK and sets the user ID provided in the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"identify\"), \" call, as shown:\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-javascript\"\n  }, \"PostAffTracker.setVisitorId(\\\"user001\\\");\\n\")), mdx(\"h2\", {\n    \"id\": \"track\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#track\",\n    \"aria-label\": \"track permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Track\"), mdx(\"p\", null, \"RudderStack supports two types of event tracking for Post Affiliate Pro:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Clicks tracking\"), \": RudderStack initiates Post Affiliate Pro's clicks tracking mechanism for the events that are explicitly specified in the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"List of Events for Click\"), \" field, while setting up the integration.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Sales tracking\"), \": RudderStack initiates Post Affiliate Pro's sales tracking only for the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Order Completed\"), \" event.\"))), mdx(\"h3\", {\n    \"id\": \"clicks-tracking\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#clicks-tracking\",\n    \"aria-label\": \"clicks tracking permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Clicks tracking\"), mdx(\"p\", null, \"A sample \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"track\"), \" event for clicks tracking is as shown:\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-javascript\"\n  }, \"rudderanalytics.track(\\n\\\"User Clicked\\\", //event name\\n{\\n      affiliateId: \\\"affiliate id\\\",\\n      bannerId: \\\"banner id\\\",\\n      campaignId: \\\"campaign id\\\",\\n      channel: \\\"channel\\\",\\n      data1: \\\"data1\\\",\\n      data2: \\\"data2\\\",\\n} //properties\\n);\\n\")), mdx(\"div\", {\n    className: \"warningBlock\"\n  }, mdx(\"p\", null, \"The \", mdx(\"strong\", null, \"User Clicked\"), \" event must be explictly specified in the \", mdx(\"strong\", null, \"List of Events for Click\"), \" field. Otherwise, the event will be discarded.\")), mdx(\"p\", null, \"RudderStack maps the following properties to the Post Affiliate Pro click event properties:\"), mdx(\"table\", null, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"th\"\n  }, \"RudderStack Event Property\")), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"th\"\n  }, \"Post Affiliate Pro Property\")))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"data1\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"Data1\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"data2\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"Data2\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"affiliateId\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"AffiliateID\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"bannerId\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"BannerID\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"campaignId\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"CampaignID\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"channel\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"Channel\"))))), mdx(\"h3\", {\n    \"id\": \"sales-tracking\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#sales-tracking\",\n    \"aria-label\": \"sales tracking permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Sales tracking\"), mdx(\"p\", null, \"In case of sales tracking, RudderStack creates a Post Affiliate Pro \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sale\"), \" object. For the properties in the event, RudderStack then calls the respective \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sale\"), \" object function.\"), mdx(\"p\", null, \"A sample \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Order Completed\"), \" event sent to Post Affiliate Pro sales tracking is shown below:\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-javascript\"\n  }, \"rudderanalytics.track(\\n\\\"Order Completed\\\", //event name\\n{\\n      checkout_id: \\\"12345\\\",\\n      order_id: \\\"1234\\\",\\n      affiliation: \\\"aff_id\\\",\\n      total: 17.45,\\n      fixedCost: 20.5,\\n      revenue: 15.0,\\n      customCommision: 15,\\n      campaign: \\\"campaignId\\\",\\n      channel: \\\"channelId\\\",\\n      coupon: \\\"ImagePro\\\",\\n      currency: \\\"EUR\\\",\\n      status: \\\"A\\\",\\n      data1: \\\"something\\\",\\n      data2: \\\"something\\\",\\n      data3: \\\"something\\\",\\n      data4: \\\"something\\\",\\n      data5: \\\"something\\\",\\n      doNotDeleteCookies: true,\\n\\n      products: [\\n        {\\n          product_id: \\\"123\\\",\\n          sku: \\\"G-5\\\",\\n          name: \\\"Product1\\\",\\n          price: 14,\\n          fixedCost: 20.5,\\n          quantity: 1,\\n          customCommision: 10.23,\\n          category: \\\"Miscellaneous\\\",\\n          currency: \\\"USD\\\",\\n          commisionStatus: \\\"A\\\",\\n          url: \\\"https://www.website.com/product/path\\\",\\n          image_url: \\\"https://www.website.com/product/path.jpg\\\",\\n        },\\n        {\\n          product_id: \\\"345\\\",\\n          sku: \\\"F-5\\\",\\n          name: \\\"Product2\\\",\\n          price: 2.45,\\n          fixedCost: 5.0,\\n          quantity: 2,\\n          customCommision: 10.50,\\n          commisionStatus: \\\"A\\\",\\n          category: \\\"General\\\",\\n        },\\n      ],\\n} //properties\\n);\\n\")), mdx(\"p\", null, \"When the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Merge Products\"), \" option is enabled while configuring the destination in the dashboard, RudderStack merges the product information and sends the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sale\"), \" object as seen in the Post Affiliate Pro dashboard below:\"), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"17.083333333333332%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRo4AAABXRUJQVlA4IIIAAADwAwCdASoUAAMAPjEUiEKiISEYBAAgAwSgCdMoRwN5KAV0+eZDi4GcAP78D+6g/9//+mx/+JBvCHfdfwN9HJhB0SwfRb/gcDuwsxr3A5bJOZ9KXUWXKlu8zPtZaBgbo/QdpXC1pbq2b/MsBar5j76MKWyTJ+nBbIYDmyk4ImwtnAAA')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/279c0d7ecbfdbb05368c02c0cf1e2478/cbea2/pap-mergeproduct-true.webp 240w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/42669/pap-mergeproduct-true.webp 480w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/10c02/pap-mergeproduct-true.webp 960w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/fead5/pap-mergeproduct-true.webp 1440w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/7e36f/pap-mergeproduct-true.webp 1920w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/f50e1/pap-mergeproduct-true.webp 2868w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/279c0d7ecbfdbb05368c02c0cf1e2478/5243c/pap-mergeproduct-true.png 240w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/ab158/pap-mergeproduct-true.png 480w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/7d769/pap-mergeproduct-true.png 960w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/87339/pap-mergeproduct-true.png 1440w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/88b03/pap-mergeproduct-true.png 1920w\", \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/4a917/pap-mergeproduct-true.png 2868w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/279c0d7ecbfdbb05368c02c0cf1e2478/7d769/pap-mergeproduct-true.png\",\n    \"alt\": \"Post Affiliate Pro sale object with combined product information\",\n    \"title\": \"Post Affiliate Pro sale object with combined product information\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"p\", null, \"If this option is disabled, two separate \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sale\"), \" objects are created and sent to Post Affiliate Pro, as shown:\"), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"17.083333333333332%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRoYAAABXRUJQVlA4IHoAAAAQBACdASoUAAMAPjEUiEKiISEYBAAgAwSgCdMoRwN5KAYSFj2ebGw4AAD+/A/uf/+0/+mx/+I5ti+MnU7Cw11cKexX/BMaa+nL8X4fidaPN4+PidWzdGph/8iGsh1Zd2sZOs6uMXaCCv6LFohPojDPQzxMExj4ywAAAA==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/a848a4a66635bfa06e016829f640e0be/cbea2/pap-mergeproduct-false.webp 240w\", \"/static/a848a4a66635bfa06e016829f640e0be/42669/pap-mergeproduct-false.webp 480w\", \"/static/a848a4a66635bfa06e016829f640e0be/10c02/pap-mergeproduct-false.webp 960w\", \"/static/a848a4a66635bfa06e016829f640e0be/fead5/pap-mergeproduct-false.webp 1440w\", \"/static/a848a4a66635bfa06e016829f640e0be/7e36f/pap-mergeproduct-false.webp 1920w\", \"/static/a848a4a66635bfa06e016829f640e0be/f50e1/pap-mergeproduct-false.webp 2868w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/a848a4a66635bfa06e016829f640e0be/5243c/pap-mergeproduct-false.png 240w\", \"/static/a848a4a66635bfa06e016829f640e0be/ab158/pap-mergeproduct-false.png 480w\", \"/static/a848a4a66635bfa06e016829f640e0be/7d769/pap-mergeproduct-false.png 960w\", \"/static/a848a4a66635bfa06e016829f640e0be/87339/pap-mergeproduct-false.png 1440w\", \"/static/a848a4a66635bfa06e016829f640e0be/88b03/pap-mergeproduct-false.png 1920w\", \"/static/a848a4a66635bfa06e016829f640e0be/4a917/pap-mergeproduct-false.png 2868w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/a848a4a66635bfa06e016829f640e0be/7d769/pap-mergeproduct-false.png\",\n    \"alt\": \"Post Affiliate Pro separate sale objects\",\n    \"title\": \"Post Affiliate Pro separate sale objects\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"h2\", {\n    \"id\": \"faqs\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#faqs\",\n    \"aria-label\": \"faqs permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"FAQs\"), mdx(\"h3\", {\n    \"id\": \"where-do-i-get-the-post-affiliate-pro-url\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#where-do-i-get-the-post-affiliate-pro-url\",\n    \"aria-label\": \"where do i get the post affiliate pro url permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Where do I get the Post Affiliate Pro URL?\"), mdx(\"p\", null, \"To get your Post Affiliate Pro URL, follow these steps:\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Log into your Post Affiliate Pro merchant website.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Then, click on \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Tools\"), \" and go to \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Integration\"), \".\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Under \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Main Integration Steps\"), \", choose any one of the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Clicks tracking\"), \" or \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Sales/Leads Tracking\"), \" options.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Finally, copy the \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"src\"), \" part as shown below: \")), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"46.666666666666664%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRm4AAABXRUJQVlA4IGIAAACwAwCdASoUAAkAPjEUiUKiISEYBAAgAwS0gF2P4AGBqoXJvalDAAD+/u/v7Q+85/09/3qUPXiozL7desQiLJk6/nxFc8j6mg7BJ/Elt+pnWJHqzVduzQuTTZn2x7nyQLLgAA==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/1bc17b10db831e18530b842161e61454/cbea2/pap-tracking-url.webp 240w\", \"/static/1bc17b10db831e18530b842161e61454/42669/pap-tracking-url.webp 480w\", \"/static/1bc17b10db831e18530b842161e61454/10c02/pap-tracking-url.webp 960w\", \"/static/1bc17b10db831e18530b842161e61454/0696c/pap-tracking-url.webp 1018w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/1bc17b10db831e18530b842161e61454/5243c/pap-tracking-url.png 240w\", \"/static/1bc17b10db831e18530b842161e61454/ab158/pap-tracking-url.png 480w\", \"/static/1bc17b10db831e18530b842161e61454/7d769/pap-tracking-url.png 960w\", \"/static/1bc17b10db831e18530b842161e61454/99347/pap-tracking-url.png 1018w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/1bc17b10db831e18530b842161e61454/7d769/pap-tracking-url.png\",\n    \"alt\": \"Post Affiliate Pro tracking URL\",\n    \"title\": \"Post Affiliate Pro tracking URL\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"h2\", {\n    \"id\": \"contact-us\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#contact-us\",\n    \"aria-label\": \"contact us permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Contact us\"), mdx(\"p\", null, \"If you come across any issues while configuring or using Post Affiliate Pro with RudderStack, you can \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"mailto:%20docs@rudderstack.com\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"contact us\")), \" or start a conversation in our \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://rudderstack.com/join-rudderstack-slack-community\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Slack\")), \" community.\"));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[{"depth":1,"value":"Post Affiliate Pro"},{"depth":2,"value":"Getting started"},{"depth":3,"value":"Connection settings"},{"depth":4,"value":"Affiliate to Link settings"},{"depth":4,"value":"Cookie to Link settings"},{"depth":4,"value":"Event tracking settings"},{"depth":2,"value":"Identify"},{"depth":2,"value":"Track"},{"depth":3,"value":"Clicks tracking"},{"depth":3,"value":"Sales tracking"},{"depth":2,"value":"FAQs"},{"depth":3,"value":"Where do I get the Post Affiliate Pro URL?"},{"depth":2,"value":"Contact us"}]}},"pageContext":{"slug":"/docs/destinations/marketing/post-affiliate-pro/","next":{"label":"Home","link":"/docs/home"},"repositoryEditUrl":"","repositoryProvider":""}},
    "staticQueryHashes": ["2501019404"]}