1"use strict";(globalThis.webpackChunkdocusaurus_test=globalThis.webpackChunkdocusaurus_test||[]).push([[11995],{72192(e,n,i){i.r(n),i.d(n,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>s,metadata:()=>o,toc:()=>c});let o=JSON.parse('{"id":"pmw/developers/shortcodes","title":"Shortcodes","description":"In order to be able to track leads as conversions, the plugin provides shortcodes. They need to be added to the thank-you pages to which lead forms redirect to after a form submission.","source":"@site/docs/pmw/developers/shortcodes.md","sourceDirName":"pmw/developers","slug":"/pmw/developers/shortcodes","permalink":"/docs/pmw/developers/shortcodes","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1787468841000,"sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"pmwSidebar","previous":{"title":"Hooks","permalink":"/docs/pmw/developers/hooks"},"next":{"title":"Experiments","permalink":"/docs/pmw/developers/experiments"}}');var t=i(74848),r=i(28453);let s={sidebar_position:3},d="Shortcodes",l={},c=[{value:"Examples",id:"examples",level:2},{value:"Fire all pixels with one shortcode",id:"fire-all-pixels-with-one-shortcode",level:3},{value:"Fire all pixels with one shortcode and override default values",id:"fire-all-pixels-with-one-shortcode-and-override-default-values",level:3},{value:"Fire each pixel individually",id:"fire-each-pixel-individually",level:3},{value:"General Instructions",id:"general-instructions",level:2},{value:"Google Ads",id:"google-ads",level:2},{value:"LinkedIn",id:"linkedin",level:2},{value:"Meta (Facebook)",id:"meta-facebook",level:2},{value:"Microsoft Ads",id:"microsoft-ads",level:2},{value:"Outbrain",id:"outbrain",level:2},{value:"Pinterest",id:"pinterest",level:2},{value:"Reddit",id:"reddit",level:2},{value:"Snapchat",id:"snapchat",level:2},{value:"Taboola",id:"taboola",level:2},{value:"TikTok",id:"tiktok",level:2},{value:"Twitter",id:"twitter",level:2},{value:"view-item shortcode",id:"view-item-shortcode",level:2}];function a(e){let n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"shortcodes",children:"Shortcodes"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:"In order to be able to track leads as conversions, the plugin provides shortcodes. They need to be added to the thank-you pages to which lead forms redirect to after a form submission."}),"\n"]}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:"Additionally, there is one shortcode for the view-item event. It would be typically used on custom-made product pages, where WooCommerce can't determine if it is a product page and therefore the plugin can't automatically inject the necessary scripts for the view-item event. (The view-item event is equals to the ViewContent event in Meta (Facebook), etc.)"}),"\n"]}),"\n",(0,t.jsxs)(n.admonition,{type:"caution",children:[(0,t.jsx)(n.p,{children:"Shortcodes are meant for conversions that have no WooCommerce order behind them: form submissions, leads, signups, newsletter subscriptions. Don't use them to track purchases on a custom thank-you page."}),(0,t.jsx)(n.p,{children:"A shortcode fires a conversion without any order data (no order ID, no order value, no currency, no purchased items) and without the order duplication prevention. A purchase tracked that way would arrive value-less in your ad platforms and could be counted again on every reload of the page."}),(0,t.jsxs)(n.p,{children:["Purchase conversions have to go through the standard WooCommerce order-received endpoint and the ",(0,t.jsx)(n.code,{children:"is_order_received_page()"})," conditional, which is how the Pixel Manager recognizes a purchase and reads the order data. See ",(0,t.jsx)(n.a,{href:"/docs/pmw/faq#can-i-use-the-pixel-manager-with-a-custom-thank-you-page",children:"Can I use the Pixel Manager with a custom thank-you page?"})," in the FAQ."]})]}),"\n",(0,t.jsx)(n.h2,{id:"examples",children:"Examples"}),"\n",(0,t.jsx)(n.h3,{id:"fire-all-pixels-with-one-shortcode",children:"Fire all pixels with one shortcode"}),"\n",(0,t.jsx)(n.p,{children:"The following shortcode shows how to fire all tracking pixels with one shortcode. However, Google Ads and LinkedIn always require an event ID."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="all" gads-conversion-label="aabbcc" lintrk-event="1234567"]'})}),"\n",(0,t.jsx)(n.h3,{id:"fire-all-pixels-with-one-shortcode-and-override-default-values",children:"Fire all pixels with one shortcode and override default values"}),"\n",(0,t.jsx)(n.p,{children:"If you want to fire all tracking pixels and override the default values for most of the pixels, you can use the following shortcode. Be aware that Google Ads and LinkedIn always require an event ID."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="all" gads-conversion-label="aabbccdd" meta-event="Schedule" twc-event="Signup" pinc-event="Signup" pinc-lead-type="test-type" snap-event="SIGN_UP" tiktok-event="SubmitForm" lintrk-event="1234567"]'})}),"\n",(0,t.jsx)(n.h3,{id:"fire-each-pixel-individually",children:"Fire each pixel individually"}),"\n",(0,t.jsx)(n.p,{children:"The following examples show how to fire each pixel individually."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="google-ads" gads-conversion-label="abcdefg"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="linkedin" lintrk-event="1234567"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="meta"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="meta" meta-event="Schedule"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="ms-ads"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="pinterest"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="pinterest" pinc-event="Signup"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="pinterest" pinc-event="Signup" pinc-lead-type="test-type"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="reddit"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="snapchat" snap-event="SIGN_UP"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="tiktok" tiktok-event="SubmitForm"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="twitter"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="twitter" twc-event="Signup"]'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[view-item pixel-id="14"]'})}),"\n",(0,t.jsx)(n.h2,{id:"general-instructions",children:"General Instructions"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["The only required parameter for all use cases is ",(0,t.jsx)(n.code,{children:"pixel"}),". With this parameter you can choose which conversion pixel to fire, or, if you want to fire all of them."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'pixel="google-ads"'})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'pixel="all"'})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:"All pixels use default parameters that can be overridden."}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"google-ads",children:"Google Ads"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For each Google Ads conversion you need to set the ",(0,t.jsx)(n.code,{children:"gads-conversion-label"}),". It is the only required parameter for a Google Ads lead conversion."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="google-ads" gads-conversion-label="abcdefg"]'})}),"\n",(0,t.jsxs)(n.p,{children:["If you need to you can also set the ",(0,t.jsx)(n.code,{children:"gads-conversion-id"})," as additional parameter. If you omit that parameter, the plugin will automatically use the ",(0,t.jsx)(n.strong,{children:"Conversion ID"})," set in the Pixel Manager under ",(0,t.jsx)(n.strong,{children:"Tracking Pixels \u2192 Google (Ads & GA4)"}),"."]}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on conversion tracking you'll find on the Google Ads supp
1ort pages ",(0,t.jsx)(n.a,{href:"https://support.google.com/google-ads/answer/6331314",children:"here"})," and ",(0,t.jsx)(n.a,{href:"https://support.google.com/google-ads/answer/6331304",children:"here"})]})}),"\n",(0,t.jsx)(n.h2,{id:"linkedin",children:"LinkedIn"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:"The LinkedIn always requires an event ID."}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="linkedin" lintrk-event="1234567"]'})}),"\n",(0,t.jsxs)(n.p,{children:["Set up a new conversion in the LinkedIn Ads Manager and use the generated conversion ID as the ",(0,t.jsx)(n.code,{children:"lintrk-event"})," parameter."]}),"\n",(0,t.jsx)(n.h2,{id:"meta-facebook",children:"Meta (Facebook)"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Meta (Facebook) lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event type is being reported as ",(0,t.jsx)(n.code,{children:"Lead"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="meta"]'})}),"\n",(0,t.jsxs)(n.p,{children:["In order to override the default event you can set the ",(0,t.jsx)(n.code,{children:"meta-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="meta" meta-event="Schedule"]'})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on events you'll find on the Meta (Facebook) developer pages ",(0,t.jsx)(n.a,{href:"https://developers.facebook.com/docs/analytics/send_data/events/",children:"here"})]})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"When you use shortcodes to track custom events, and Meta (Facebook) CAPI is enabled, the Pixel Manager will automatically process those custom events through CAPI too."})}),"\n",(0,t.jsx)(n.h2,{id:"microsoft-ads",children:"Microsoft Ads"}),"\n",(0,t.jsx)(n.p,{children:"!> This shortcode is in beta. Microsoft's documentation is not very clear on some parts of how to configure a lead conversion."}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Microsoft Ads lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event is being reported as ",(0,t.jsx)(n.code,{children:"submit"})," and the event label as ",(0,t.jsx)(n.code,{children:"lead"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="ms-ads"]'})}),"\n",(0,t.jsx)(n.p,{children:"You can set an override all the following parameters:"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"ms-ads-event"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"ms-ads-event-category"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"ms-ads-event-label"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"ms-ads-event-value"})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on events you'll find on the Microsoft Ads developer pages ",(0,t.jsx)(n.a,{href:"https://bingadsuet.azurewebsites.net/UETDirectOnSite_ReportCustomEvents.html",children:"here"})]})}),"\n",(0,t.jsx)(n.h2,{id:"outbrain",children:"Outbrain"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Outbrain conversion shortcode you need to set up a conversion in Outbrain. The JavaScript event names are not standardized in Outbrain. That means in the shortcode ",(0,t.jsx)(n.code,{children:"outbrain-event"})," name you need to use exactly the name that you given during the setup. Capitalization matters, so make sure to write everything in lower caps."]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["Example: Create a new conversion for the ",(0,t.jsx)(n.code,{children:"lead"})," event in Outbrain. As the name for the event write ",(0,t.jsx)(n.code,{children:"lead"}),", all in lower caps. This is the name that you need to use as ",(0,t.jsx)(n.code,{children:"outbrain-event"})," name."]}),"\n",(0,t.jsx)(n.p,{children:"Here is a list of event names that we recommend using:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"registration"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"email_sign_up"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"lead"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"download"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"other"})}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"Here's an example of how the shortcode could look like:"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="outbrain" outbrain-event="lead"]'})}),"\n",(0,t.jsx)(n.h2,{id:"pinterest",children:"Pinterest"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Pinterest lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event is being reported as ",(0,t.jsx)(n.code,{children:"lead"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="pinterest"]'})}),"\n",(0,t.jsxs)(n.p,{children:["In order to override the default event you can set the ",(0,t.jsx)(n.code,{children:"pinc-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="pinterest" pinc-event="signup"]'})}),"\n",(0,t.jsxs)(n.p,{children:["Additionally, you can set the ",(0,t.jsx)(n.code,{children:"lead-type"})," parameter which is empty by default:"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="pinterest" pinc-event="signup" pinc-lead-type="New release promotion"]'})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on events you'll find on the Pinterest developer pages ",(0,t.jsx)(n.a,{href:"https://help.pinterest.com/en/business/article/add-event-codes",children:"here"})," and ",(0,t.jsx)(n.a,{href:"https://help.pinterest.com/en/business/article/track-conversions-with-pinterest-tag",children:"here"})]})}),"\n",(0,t.jsx)(n.h2,{id:"reddit",children:"Reddit"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Reddit lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event is being reported as ",(0,t.jsx)(n.code,{children:"Lead"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="reddit"]'})}),"\n",(0,t.jsxs)(n.p,{children:["In order to override the default event you can set the ",(0,t.jsx)(n.code,{children:"reddit-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="reddit" reddit-event="SignUp"]'})}),"\n",(0,t.jsx)(n.h2,{id:"snapchat",children:"Snapchat"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Snapchat lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event is being reported as ",(0,t.jsx)(n.code,{children:"SIGN_UP"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="snapchat"]'})}),"\n",(0,t.jsxs)(n.p,{children:["In order to override the default event you can set the ",(0,t.jsx)(n.code,{children:"snap-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="snapchat" snap-event="SIGN_UP"]'})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on events you'll find on the Snapchat developer pages over ",(0,t.jsx)(n.a,{href:"https://businesshelp.snapchat.com/s/article/pixel-website-install",children:"here"})]})}),"\n",(0,t.jsx)(n.h2,{id:"taboola",children:"Taboola"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:"For the Taboola conversion shortcode to work you need to set up the event in the Taboola conversion setup."}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["Example: Create a new conversion for the ",(0,t.jsx)(n.code,{children:"lead"})," event in Taboola. Write down the event name that is shown in the code example at the bottom of the setup window. This is the name that you need to use as ",(0,t.jsx)(n.code,{children:"taboola-event"})," name."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="taboola" taboola-event="lead"]'})}),"\n",(0,t.jsx)(n.h2,{id:"tiktok",children:"TikTok"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the TikTok lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event is being reported as ",(0,t.jsx)(n.code,{children:"SubmitForm"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="tiktok"]'})}),"\n",(0,t.jsxs)(n.p,{children:["In order to override the default event you can set the ",(0,t.jsx)(n.code,{children:"tiktok-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="tiktok" tiktok-event="SubmitForm"]'})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on events you'll find on the TikTok developer pages over ",(0,t.jsx)(n.a,{href:"https://ads.tiktok.com/help/article?aid=10028",children:"here"})]})}),"\n",(0,t.jsx)(n.h2,{id:"twitter",children:"Twitter"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["For the Twitter lead conversion shortcode there are no required parameters other than the ",(0,t.jsx)(n.code,{children:"pixel"})," parameter. By default, the event is being reported as ",(0,t.jsx)(n.code,{children:"CompleteRegistration"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="twitter"]'})}),"\n",(0,t.jsxs)(n.p,{children:["In order to override the default event you can set the ",(0,t.jsx)(n.code,{children:"twc-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="twitter" twc-event="Signup"]'})}),"\n",(0,t.jsxs)(n.p,{children:["With the new version of the Twitter pixel you will need to create the Lead (or Signup) event in the Twitter Ads Manager. Then use the generated event ID as the ",(0,t.jsx)(n.code,{children:"twc-event"})," parameter."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[conversion-pixel pixel="twitter" twc-event="tw-abcde-12345"]'})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsxs)(n.p,{children:["More information on events you'll find on the Twitter developer pages ",(0,t.jsx)(n.a,{href:"https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",children:"here"})]})}),"\n",(0,t.jsx)(n.h2,{id:"view-item-shortcode",children:"view-item shortcode"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:"The view-item shortcode fires all enabled pixels with their own view-item event, including all product information. That shortcode is necessary on custom-made product pages where WooCommerce can't detect that it is a product page and therefore the Pixel Manager can't automatically inject the necessary scripts for the view-item event."}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"In order to fire the view-item event on a custom product page add the following shortcode:"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:'[view-item product-id="14"]'})}),"\n",(0,t.jsxs)(n.p,{children:["The ",(0,t.jsx)(n.code,{children:"product-id"})," must contain the ",(0,t.jsx)(n.code,{children:"post ID"})," of the product where all product information is stored."]})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.