[{"data":1,"prerenderedAt":660},["ShallowReactive",2],{"navigation_docs":3,"-connectors-pinterest-ads":140,"-connectors-pinterest-ads-surround":655},[4,23,45,86,104,122],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","/getting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":15,"path":16,"stem":17},"Quickstart","/getting-started/quickstart","1.getting-started/2.quickstart",{"title":19,"path":20,"stem":21},"Core concepts","/getting-started/concepts","1.getting-started/3.concepts",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Tracking SDK","i-lucide-chart-line","/tracking-sdk","2.tracking-sdk",[29,33,37,41],{"title":30,"path":31,"stem":32},"Overview","/tracking-sdk/overview","2.tracking-sdk/1.overview",{"title":34,"path":35,"stem":36},"JavaScript SDK","/tracking-sdk/javascript","2.tracking-sdk/2.javascript",{"title":38,"path":39,"stem":40},"Events reference","/tracking-sdk/events","2.tracking-sdk/3.events",{"title":42,"path":43,"stem":44},"Event schema","/tracking-sdk/event-schema","2.tracking-sdk/4.event-schema",{"title":46,"icon":47,"path":48,"stem":49,"children":50,"page":22},"Connectors","i-lucide-plug","/connectors","3.connectors",[51,54,58,62,66,70,74,78,82],{"title":30,"path":52,"stem":53},"/connectors/overview","3.connectors/1.overview",{"title":55,"path":56,"stem":57},"Google Ads","/connectors/google-ads","3.connectors/2.google-ads",{"title":59,"path":60,"stem":61},"Meta Ads","/connectors/meta-ads","3.connectors/3.meta-ads",{"title":63,"path":64,"stem":65},"TikTok Ads","/connectors/tiktok-ads","3.connectors/4.tiktok-ads",{"title":67,"path":68,"stem":69},"LinkedIn Ads","/connectors/linkedin-ads","3.connectors/5.linkedin-ads",{"title":71,"path":72,"stem":73},"Pinterest Ads","/connectors/pinterest-ads","3.connectors/6.pinterest-ads",{"title":75,"path":76,"stem":77},"Custom webhooks","/connectors/webhooks","3.connectors/7.webhooks",{"title":79,"path":80,"stem":81},"PrestaShop","/connectors/prestashop","3.connectors/8.prestashop",{"title":83,"path":84,"stem":85},"WooCommerce","/connectors/woocommerce","3.connectors/9.woocommerce",{"title":87,"icon":88,"path":89,"stem":90,"children":91,"page":22},"Attribution","i-lucide-git-fork","/attribution","4.attribution",[92,96,100],{"title":93,"path":94,"stem":95},"How attribution works","/attribution/overview","4.attribution/1.overview",{"title":97,"path":98,"stem":99},"Data-driven model","/attribution/data-driven","4.attribution/2.data-driven",{"title":101,"path":102,"stem":103},"Attribution windows","/attribution/windows","4.attribution/3.windows",{"title":105,"icon":106,"path":107,"stem":108,"children":109,"page":22},"Dashboard","i-lucide-layout-dashboard","/dashboard","5.dashboard",[110,114,118],{"title":111,"path":112,"stem":113},"Dashboard overview","/dashboard/overview","5.dashboard/1.overview",{"title":115,"path":116,"stem":117},"Metrics reference","/dashboard/metrics","5.dashboard/2.metrics",{"title":119,"path":120,"stem":121},"Alerts","/dashboard/alerts","5.dashboard/3.alerts",{"title":123,"icon":124,"path":125,"stem":126,"children":127,"page":22},"Lumen","i-lucide-shield-check","/lumen","6.lumen",[128,132,136],{"title":129,"path":130,"stem":131},"Lumen overview","/lumen/overview","6.lumen/1.overview",{"title":133,"path":134,"stem":135},"Setup","/lumen/setup","6.lumen/2.setup",{"title":137,"path":138,"stem":139},"Investigations","/lumen/investigations","6.lumen/3.investigations",{"id":141,"title":71,"body":142,"description":648,"extension":649,"links":650,"meta":651,"navigation":652,"path":72,"seo":653,"stem":73,"__hash__":654},"docs/3.connectors/6.pinterest-ads.md",{"type":143,"value":144,"toc":627},"minimark",[145,149,154,164,169,172,186,193,213,219,233,290,308,314,318,407,411,414,417,427,431,434,470,474,477,483,486,490,501,505,550,554,568,572,575,581,585,589,600,604,615,619],[146,147,148],"p",{},"Connect your Pinterest Ads account to sync campaign data and enable attribution.",[150,151,153],"h2",{"id":152},"url-parameters-setup","URL parameters setup",[155,156,159,163],"callout",{"color":157,"icon":158},"warning","i-lucide-alert-circle",[160,161,162],"strong",{},"Do this first!"," Configure URL parameters in Pinterest Business Manager before connecting in TrustData.",[165,166,168],"h3",{"id":167},"setting-up-tracking-parameters","Setting up tracking parameters",[146,170,171],{},"Pinterest supports account-level URL parameters that automatically apply to all current and future campaigns.",[173,174,175],"ol",{},[176,177,178,179,182,183],"li",{},"In Pinterest Business Manager, go to ",[160,180,181],{},"Assets"," → ",[160,184,185],{},"Ad accounts",[146,187,188],{},[189,190],"img",{"alt":191,"src":192},"Pinterest Business Manager - Ad accounts","/images/connectors/pinterest-screen-1.webp",[173,194,196,203],{"start":195},2,[176,197,198,199,202],{},"Click on your ad account, then go to the ",[160,200,201],{},"Settings"," tab",[176,204,205,206,209,210],{},"Under ",[160,207,208],{},"URL parameters",", click the edit icon next to ",[160,211,212],{},"Parameter settings",[146,214,215],{},[189,216],{"alt":217,"src":218},"Pinterest Business Manager - Ad account Settings tab with URL parameters","/images/connectors/pinterest-screen-2.webp",[173,220,222],{"start":221},4,[176,223,224,225,228,229,232],{},"In the ",[160,226,227],{},"Edit URL Parameters"," modal, scroll to the ",[160,230,231],{},"Custom parameters"," section and add:",[234,235,236,249],"table",{},[237,238,239],"thead",{},[240,241,242,246],"tr",{},[243,244,245],"th",{},"Parameter name",[243,247,248],{},"Value",[250,251,252,266,278],"tbody",{},[240,253,254,261],{},[255,256,257],"td",{},[258,259,260],"code",{},"trdt_cpid",[255,262,263],{},[258,264,265],{},"{campaignid}",[240,267,268,273],{},[255,269,270],{},[258,271,272],{},"trdt_agid",[255,274,275],{},[258,276,277],{},"{adgroupid}",[240,279,280,285],{},[255,281,282],{},[258,283,284],{},"trdt_ctid",[255,286,287],{},[258,288,289],{},"{adid}",[173,291,293,299,302],{"start":292},5,[176,294,295,296],{},"Check ",[160,297,298],{},"Apply URL parameters automatically to all current and future campaigns",[176,300,301],{},"Review the parameter preview at the bottom",[176,303,304,305],{},"Click ",[160,306,307],{},"Save and apply",[146,309,310],{},[189,311],{"alt":312,"src":313},"Pinterest - Edit URL Parameters modal with custom parameters","/images/connectors/pinterest-screen-3.webp",[165,315,317],{"id":316},"available-dynamic-macros","Available dynamic macros",[234,319,320,333],{},[237,321,322],{},[240,323,324,327,330],{},[243,325,326],{},"Macro",[243,328,329],{},"Description",[243,331,332],{},"Example Value",[250,334,335,349,363,377,392],{},[240,336,337,341,344],{},[255,338,339],{},[258,340,265],{},[255,342,343],{},"Campaign ID",[255,345,346],{},[258,347,348],{},"12345678901234567",[240,350,351,355,358],{},[255,352,353],{},[258,354,277],{},[255,356,357],{},"Ad group ID",[255,359,360],{},[258,361,362],{},"98765432109876543",[240,364,365,369,372],{},[255,366,367],{},[258,368,289],{},[255,370,371],{},"Ad ID",[255,373,374],{},[258,375,376],{},"11223344556677889",[240,378,379,384,387],{},[255,380,381],{},[258,382,383],{},"{campaignname}",[255,385,386],{},"Campaign name",[255,388,389],{},[258,390,391],{},"Summer_Sale",[240,393,394,399,402],{},[255,395,396],{},[258,397,398],{},"{adgroupname}",[255,400,401],{},"Ad group name",[255,403,404],{},[258,405,406],{},"Broad_Interest",[165,408,410],{"id":409},"verify-your-setup","Verify your setup",[146,412,413],{},"After saving, the parameter preview in the modal shows your full tracking string. You can also verify by clicking through an active ad to your landing page.",[146,415,416],{},"Expected URL:",[418,419,424],"pre",{"className":420,"code":422,"language":423},[421],"language-text","https://your-site.com/landing?trdt_cpid=12345678901234567&trdt_agid=98765432109876543&trdt_ctid=11223344556677889\n","text",[258,425,422],{"__ignoreMap":426},"",[150,428,430],{"id":429},"connecting-in-trustdata","Connecting in TrustData",[146,432,433],{},"After configuring URL parameters:",[173,435,436,444,451,456,459,462,465],{},[176,437,438,439,182,441],{},"Go to ",[160,440,201],{},[160,442,443],{},"Data Sources",[176,445,304,446,182,449],{},[160,447,448],{},"Add Data Source",[160,450,71],{},[176,452,304,453],{},[160,454,455],{},"Connect with Pinterest",[176,457,458],{},"Log in with your Pinterest account",[176,460,461],{},"Grant TrustData permission to view Pinterest Ads data",[176,463,464],{},"Select the ad accounts to sync",[176,466,304,467],{},[160,468,469],{},"Save",[165,471,473],{"id":472},"required-permissions","Required permissions",[146,475,476],{},"TrustData requests these permissions:",[478,479,480],"ul",{},[176,481,482],{},"Read Pinterest Ads data (campaigns, ad groups, ads, and metrics)",[146,484,485],{},"TrustData only reads data. We never modify your campaigns.",[165,487,489],{"id":488},"account-access","Account access",[146,491,492,493,496,497,500],{},"Your Pinterest account must have ",[160,494,495],{},"Admin"," or ",[160,498,499],{},"Analyst"," access to the ad account.",[150,502,504],{"id":503},"synced-data","Synced data",[234,506,507,516],{},[237,508,509],{},[240,510,511,514],{},[243,512,513],{},"Data Type",[243,515,329],{},[250,517,518,526,534,542],{},[240,519,520,523],{},[255,521,522],{},"Campaigns",[255,524,525],{},"Name, status, budget",[240,527,528,531],{},[255,529,530],{},"Ad groups",[255,532,533],{},"Name, targeting, bid",[240,535,536,539],{},[255,537,538],{},"Ads",[255,540,541],{},"Name, creative type, status",[240,543,544,547],{},[255,545,546],{},"Metrics",[255,548,549],{},"Impressions, clicks, spend, CTR, CPC",[165,551,553],{"id":552},"date-range","Date range",[478,555,556,562],{},[176,557,558,561],{},[160,559,560],{},"Historical",": Last 90 days on first sync",[176,563,564,567],{},[160,565,566],{},"Ongoing",": Daily incremental sync",[150,569,571],{"id":570},"attribution-matching","Attribution matching",[146,573,574],{},"TrustData matches Pinterest clicks to conversions:",[418,576,579],{"className":577,"code":578,"language":423},[421],"User clicks pin → trdt_cid captured (cpid + agid + ctid)\n        ↓\nUser converts → conversion event sent\n        ↓\nTrustData matches via trdt_cid\n        ↓\nAttribution credit assigned to campaign/ad group/ad\n",[258,580,578],{"__ignoreMap":426},[150,582,584],{"id":583},"troubleshooting","Troubleshooting",[165,586,588],{"id":587},"no-ad-accounts-found","\"No ad accounts found\"",[173,590,591,594,597],{},[176,592,593],{},"Verify your Pinterest account has access to ad accounts",[176,595,596],{},"Ensure you selected the correct Pinterest account during OAuth",[176,598,599],{},"Try disconnecting and reconnecting",[165,601,603],{"id":602},"url-parameters-not-appearing","\"URL parameters not appearing\"",[173,605,606,609,612],{},[176,607,608],{},"Go to Business Manager → Assets → Ad accounts → Settings → URL parameters and verify the parameters are saved",[176,610,611],{},"Check the \"Apply to all current and future campaigns\" checkbox was enabled",[176,613,614],{},"Ensure no URL redirects are stripping query parameters",[165,616,618],{"id":617},"no-data-synced","\"No data synced\"",[173,620,621,624],{},[176,622,623],{},"Confirm the account has active campaigns with spend in the last 90 days",[176,625,626],{},"Check that you selected the correct ad account during connection",{"title":426,"searchDepth":195,"depth":195,"links":628},[629,635,639,642,643],{"id":152,"depth":195,"text":153,"children":630},[631,633,634],{"id":167,"depth":632,"text":168},3,{"id":316,"depth":632,"text":317},{"id":409,"depth":632,"text":410},{"id":429,"depth":195,"text":430,"children":636},[637,638],{"id":472,"depth":632,"text":473},{"id":488,"depth":632,"text":489},{"id":503,"depth":195,"text":504,"children":640},[641],{"id":552,"depth":632,"text":553},{"id":570,"depth":195,"text":571},{"id":583,"depth":195,"text":584,"children":644},[645,646,647],{"id":587,"depth":632,"text":588},{"id":602,"depth":632,"text":603},{"id":617,"depth":632,"text":618},"Connect Pinterest Ads and configure tracking parameters.","md",null,{},true,{"title":71,"description":648},"w74YWGpPih0-1T6Wx53XaVaMMBgimqIMWD-V5ya_ebE",[656,658],{"title":67,"path":68,"stem":69,"description":657,"children":-1},"Connect LinkedIn Ads and configure tracking parameters.",{"title":75,"path":76,"stem":77,"description":659,"children":-1},"Send server-side events to TrustData via HTTP POST requests.",1774455485898]