{"id":31393,"date":"2025-05-07T15:39:57","date_gmt":"2025-05-07T09:39:57","guid":{"rendered":"https:\/\/codexpert.io\/?p=31393"},"modified":"2026-06-23T14:32:09","modified_gmt":"2026-06-23T08:32:09","slug":"cloak-affiliate-links-in-woocommerce","status":"publish","type":"post","link":"https:\/\/wcaffiliate.com\/blog\/cloak-affiliate-links-in-woocommerce\/","title":{"rendered":"How to Cloak Affiliate Links in WooCommerce: A Step-by-Step Guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Affiliate links can be a mess, ugly, long, and instantly suspicious. If you are using WooCommerce and just pasting raw URLs, you are probably scaring off clicks and leaving money on the table. No one wants to click a sketchy link that looks like it leads to a scammy corner of the internet. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And let\u2019s be real: If your links look shady, your brand takes a hit, too. Cloaking affiliate links turn links into clean, branded URLs that people actually trust. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, we will walk you through how to cloak affiliate links in WooCommerce the right way so your site stays clean and you can track them easily and safely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s dive into the content.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:28px\" id=\"codex-heading-1\">What It Means to Cloak Affiliate Links?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking affiliate links is the practice of turning long, messy, or suspicious-looking affiliate URLs into clean, branded links that are easier to read, trust, and click. Affiliate links often include tracking information, partner IDs, and other parameters that can make them look untrustworthy. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, a raw affiliate link is something like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>https:\/\/website.com\/product?id=12345&amp;ref=yourname<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you cloak that same link, it could look like this instead:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>https:\/\/yourstore.com\/go\/product-name<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even though both links lead to the same destination, the cloaked version looks cleaner and more professional. It also makes the link easier to share, especially on social media or in emails.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking is usually done using a redirect through a plugin or manually. When someone clicks on your custom URL, they are automatically taken to the original affiliate link behind the scenes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:28px\" id=\"codex-heading-2\">Difference Between Link Cloaking and Link Shortening<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Link cloaking and link shortening seem similar, but they serve slightly different purposes.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Link shortening is mainly about making long URLs shorter and easier to share. You can use online tools like <a href=\"https:\/\/bitly.com\/pages\/products\/url-shortener\" target=\"_blank\" rel=\"noreferrer noopener\">Bitly<\/a> or <a href=\"https:\/\/tinyurl.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">TinyURL<\/a> to make a big, messy link and turn it into something like <strong>bit.ly\/abc123.<\/strong> It will change your permalink to numbers and letters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Link cloaking, on the other hand, is more about control and branding. It not only shortens the link but also hides the original affiliate URL behind a custom, branded redirect like <strong>yourstore.com\/recommend\/product<\/strong>. This makes the link more trustworthy, helps protect your commissions, and keeps everything consistent with your site branding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So both make links shorter, but link cloaking adds an extra layer of professionalism, tracking, and security that basic link shortening doesn\u2019t offer.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:28px\" id=\"codex-heading-3\">Why You Should Cloak Affiliate Links in WooCommerce<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When running an online store with WooCommerce or <a href=\"https:\/\/easycommerce.dev\" target=\"_blank\" rel=\"noopener\"><strong>EasyCommerce<\/strong><\/a>, it\u2019s a good strategy to partner with other brands or services and promote their products via affiliate links. However, leaving these links exposed in their raw form could have several downsides.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/Why-Cloak-Affiliate-Links-in-WooCommerce.png\" alt=\"cloak affiliate links benefits\" class=\"wp-image-31608\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking affiliate links is a strategy used to mask the raw URLs, making them more user-friendly, professional, and trackable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below are the major reasons why cloaking affiliate links in WooCommerce is beneficial:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-4\">Builds Trust with Users<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Affiliate links often look suspicious to users, especially when they contain long strings of random characters or seem to redirect to domains. For example, a URL like <strong>domain.com\/ref?12345<\/strong> can seem spammy to visitors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking links lets you create clean, branded URLs like <strong>domain.com\/recommended-product<\/strong>, which users are more likely to trust. When customers trust the links, they are more inclined to click and follow through on a purchase.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-5\">Helps with Search Engine Optimization (SEO)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking links also helps with search engine optimization (SEO). Raw affiliate links often contain tracking parameters or unnecessary identifiers that can clutter your site. Using cloaked links help you present a cleaner structure for search engines to follow.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, some search engines may penalize sites that display long, unprofessional affiliate URLs, so keeping things neat with cloaking may avoid any SEO drawbacks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-6\">Create a Better Brand Image<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking affiliate links enables you to incorporate your own WooCommerce store domain name, which maintains consistent branding across your website. Instead of sending visitors to an external site with a URL that doesn\u2019t match your store, cloaked links allow you to redirect them through your domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, you can create a seamless experience for your users and ensures your brand stays front and center throughout the shopping journey.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-7\">Protection Against Link Hijacking<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Raw affiliate links can be vulnerable to &#8220;link hijacking.&#8221; This occurs when someone modifies your affiliate link to steal your commission. For instance, an affiliate link might be shared by someone else and could have their own affiliate code embedded instead of yours.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaked links help you reduce the chances of this happening and ensures that any sales made via your referral are credited to your account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-8\">Easier Link Management<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As your affiliate program grows, managing multiple affiliate links can become a hassle. Cloaking your links with a URL shortener or an affiliate link management plugin lets you easily edit, track, or even update links in bulk without having to go through individual posts or pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This level of control saves you significant time and reduces the likelihood of broken links or errors on your site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-9\">More Control Over Redirection<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you cloak an affiliate link, you can also manage the redirects more effectively. For example, you can set up custom redirects, monitor the success of your links, and adjust strategies in real time.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some advanced cloaking methods allow you to test different landing pages, track conversions, and implement tracking pixels or retargeting tools to maximize affiliate commissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:28px\" id=\"codex-heading-10\">How to Cloak Affiliate Links Using\u00a0 a WordPress Plugin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking affiliate links using an WordPress affiliate plugin is much easier the conventional methods. In this part, we will explore how you can easily cloak affiliate links with a WordPress plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-11\">Step 1: Install WC Affiliate and Configure Basic Settings<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, you have to install both <strong>WC Affiliate <\/strong>and <strong>WC Affiliate Pro<\/strong> on your website. Go to your WordPress <strong>Dashboard &gt; Plugins &gt; Add New<\/strong> and then search for WC Affiliate.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXcheZd7ZhDreoTYysw4hsGFowAf9nqoB6mbxtg2W9pilbt5-a0ovrSqgNSpfhWMmnB7jinESfZuRCTgCkNux_m_OGAvscftfWSxorV_1X8ehTES3Yax0jxykwE5gSF9Mh8s7fTVIg.png\" alt=\"install and activate affiliate plugin\" class=\"wp-image-31595\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the same way, upload the pro version and activate it. After that, go to<strong> Setup Wizard<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXcwaZI09nOn71nSTrraWNzd3EMJANoTpjqWmtpwcgSyPX7mKr1RKhm06nNJ1tFePkfWePaE1jPWkYxRY-QGnirnE1vSUKJp_lzjrRzheD322D_h6eIKuPLkEhh5iW7K80wLrazTlQ.png\" alt=\"go to setup wizard for setup\" class=\"wp-image-31597\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">On the setup wizard page, create your new <strong>Affiliate Dashboard<\/strong> page, or if you have already created it manually, then set it yourself.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXcrJDE1z0weHUAq1BsnYQSuNuUodi5ovxzVxHYHKRGrnmMKlroQSpEYcwmnTXGdEf9fxI-zBqAXrjExWEjjGAZZCgaP67UehC-poI8V8x0d-LD2I86gE95yiGorgs0ozo2rlcn.png\" alt=\"create an affiliate dashboard page\" class=\"wp-image-31598\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After that, click the <strong>Next<\/strong> button to configure your commission settings. Here, you need to set the <strong>affiliate commission base, their commission rate, and the cookie expiry<\/strong> from the dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXebJncL84iUO3eBatSQVtDXhxNPzxJ3wHTByT59XmcTJS-K3Oo19UAwwJ7e7nhH4i4qtS8dB0rz0UgtCf_060NPJpKwL9FOWbSzwSO00nLFiFEusul_Bl0Hk-J2BB-zIDp3znxy.png\" alt=\"configure affiliate settings.\" class=\"wp-image-31596\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After all your setup is done, click the finish button to continue to the next step for cloak affiliate link settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-12\">Step 2: Set Cloaking Affiliate Links Settings<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now go to site <strong>Dashboard &gt; WC Affiliate &gt; Settings &gt; Shortlinks<\/strong>. There, you need to enable shortlinks for affiliates, set the URL base, and set a personal identifier for your affiliate\u2019s shortlink. You can also set the identifier length from those settings.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXeY0hNY_7OQclF1XZhrpP99s-COcy1WyVlsBEhdMkjRYGAMHKN1e_OJsVkAiMng6whsN0U4bYNysVdOQFiENpoelvWb-K7qrz0sF4jfrslKTk3-rp4Wm-HYUPMaJ3CvQMkSasgicQ.png\" alt=\"cloak affiliate links settings for your WooCommerce website\" class=\"wp-image-31599\"><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-13\">Step 3: Generate Affiliate Links<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now that your setup in complete, you can let your affiliate generate short cloak affiliate links on their own. They need to log in to their <strong>Affiliate Dashboard &gt; URL Generator<\/strong>. First, enable the <strong>Create Shortlink<\/strong> option and then set your identifier for the link. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After that click on the <strong>Generate<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter has-custom-border\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXfRYivM3qXuKsNEb6_Z-iFtWU11ZrluNYlNGB5e4fp7Tq42oi7IewEkm6n6Pin1G3Chg73wyrOv1XsPU42CPD-NxtjXHD82ZxwlueWYw4xZg2q5xtxYoic2RaG3dgn7kXZfJxdN.jpg\" alt=\"Settings for generating cloak affiliate links in WooCommerce\" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-31601\" style=\"border-width:2px\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After you click the generate button, you will be able to see your desired <strong>cloaked affiliate links for WooCommerce<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter has-custom-border\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXfAn47Jj5jAUDWpN3xkeEcA6l4s7N0I58vi-eGtmQn6TfXWGxJ9Y8Dp-uKid9b_jeBlTLaEywhQ3rQO7PhwXMBvbCXBhrRNGwrOx-IEtulIpSHMPulkPpJMYOXOd8dNxzousB2Xg.jpg\" alt=\"Final result for cloak links\" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-31600\" style=\"border-width:2px\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This plugin also offers many other functionalities like, you can set up multilevel commission for your affiliates, generating banners, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:28px\" id=\"codex-heading-14\">How to Cloak Links Without a Plugin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you are good at coding and have experience managing domains and hosting, then this part is for you. Here\u2019s our simple guide for cloaking affiliate links without a plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-15\">Step 1: Create a New Folder<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">At first, log in to your hosting server. You can also do this by <strong>using a free FTP\/SFTP solution<\/strong> like<strong> <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">FileZilla<\/a><\/strong>. After logging in, go to your main directory folder.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter has-custom-border\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXdkPBSOunwf6ozDGZiJjxaGPBrQ1wj2RIB9gSZbRg4lTblGqOVOt5m506MJEPW9XBlj53MWmqQ6Q_uJ2PiWHOdBSNbJ630EIEu1kVysdh7wfM4aj6Zzap1nW3VO4nlrbKJ7q8FcMw.png\" alt=\"log in dashboard for FileZilla\" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-31593\" style=\"border-width:2px\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After that, create a new folder on the server. This folder\u2019s name will be your URL slug, so try this: <strong>go, recommend, out<\/strong>, etc.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter has-custom-border\"><img decoding=\"async\" src=\"https:\/\/codexpert.io\/wp-content\/uploads\/2025\/05\/AD_4nXcnoUw83hsot0k6ayPAe1YdbgdNvuzlgR-blpy1bqH7nIPXMqzcReNIwCtWgOrt15X-gGfkau0ioB0YPxD0JJ4s8UO9pVZksscVBcX8BRTuV_oHbLSw8wl5OUw-tbJ-7z6p5RXB.png\" alt=\"\" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-31594\" style=\"border-width:2px\"><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-16\">Step 2: Upload the index.php File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, create another file inside the folder you just created. Name this file as<strong> index.php<\/strong> and add the following code from <a href=\"https:\/\/gist.github.com\/jdevalk\/5622742#file-index-php\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Yoast\u2019s GitHub<\/strong><\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-text-color has-link-color wp-elements-ffbf78408a725ac1a61e92c1578e842b\" style=\"font-size:18px\"><code>&lt;?php\n \n$id  \t= isset( $_GET['id'] ) ? rtrim( trim( $_GET['id'] ), '\/' ) : 'default';\n$f\t= fopen( 'redirects.txt', 'r' );\n$urls\t= array();\n \n\/\/ The file didn't open correctly.\nif ( !$f ) {\n\techo 'Make sure you create your redirects.txt file and that it's readable by the redirect script.';\n\tdie;\n}\n \n\/\/ Read the input file and parse it into an array\nwhile( $data = fgetcsv( $f ) ) {\n\tif ( !isset( $data[0] ) || !isset( $data[1] ) )\n\t\tcontinue;\n\t\n\t$key = trim( $data[0] );\n\t$val = trim( $data[1] );\n\t$urls[ $key ] = $val;\n}\n \n\/\/ Check if the given ID is set, if it is, set the URL to that, if not, default\n$url = ( isset( $urls[ $id ] ) ) ? $urls[ $id ] : ( isset( $urls[ 'default' ] ) ? $urls[ 'default' ] : false );\n\nif ( $url ) {\n\theader( \"X-Robots-Tag: noindex, nofollow\", true );\n\theader( \"Location: \" .  $url, 302 );\n\tdie;\t\n} else {\n\techo '&lt;p&gt;Make sure yor redirects.txt file contains a default value, syntax:&lt;\/p&gt;\n\t&lt;pre&gt;default,http:\/\/example.com&lt;\/pre&gt;\n\t&lt;p&gt;Where you should replace example.com with your domain.&lt;\/p&gt;';\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-17\">Step 3: Add the Links in the Redirects.txt File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now you need to create a redirects.txt file for cloaking your affiliate links. In this file, you can add your destination URL and its slug. The format is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>link-slug, https:\/\/destinationurl.com\/?affid=123\u00a0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add each of the affiliate link on its own line, like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>link-slug,https:\/\/destinationurl.com\/?affid=123<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>codexpert,https:\/\/codexpert.io?kaid=123<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to handle edge cases you should also make sure that the first line is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>default,http:\/\/yoursite.com<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"font-size:26px\" id=\"codex-heading-18\">Step 4: Block Crawlers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To prevent search engines from indexing your cloaked affiliate link, add <strong>Disallow: \/folder-name\/<\/strong> to your robots.txt file.\u00a0And if you want to learn how to edit your robots.txt file, check out this <a href=\"https:\/\/kinsta.com\/blog\/wordpress-robots-txt\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Full WordPress robots.txt Guide<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:28px\" id=\"codex-heading-19\">Final Words<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloaking affiliate links in WooCommerce helps boost credibility, improve user experience, and enhance SEO. By turning raw, suspicious links into clean, branded URLs, you protect your commissions and build trust with your audience. If you are using a plugin like WC Affiliate or manual redirection, cloaking increases click-through rates, strengthens brand consistency, and simplifies link management.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s more than just shortening URLs, it\u2019s about presenting professional, trustworthy links. Start cloaking your affiliate links today and give your WooCommerce store a polished edge that both customers and search engines will love.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Affiliate links can be a mess, ugly, long, and instantly suspicious. If you are using WooCommerce and just pasting raw [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":32943,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7,8],"tags":[],"class_list":["post-31393","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-marketing","category-wordpress"],"_links":{"self":[{"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/posts\/31393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/comments?post=31393"}],"version-history":[{"count":2,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/posts\/31393\/revisions"}],"predecessor-version":[{"id":33223,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/posts\/31393\/revisions\/33223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/media\/32943"}],"wp:attachment":[{"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/media?parent=31393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/categories?post=31393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wcaffiliate.com\/blog\/wp-json\/wp\/v2\/tags?post=31393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}