Storydoc lets you inject third-party marketing and analytics scripts so you can track, retarget, and measure engagement across all your stories. You connect each tool once at the workspace level, then optionally hide it per story if needed.
Add a tracking code in Storydoc
Open Integrations
From the editor’s right toolbar, click Integrations, then Marketing Tools.
Or go to your workspace Integrations page and open the Marketing Tools tab.
Choose your tool
Click Connect on the tool card (for example, Google Tag Manager, Meta Pixel, LinkedIn Insight Tag, Hotjar, Crazy Egg, Marketo, Segment, HubSpot, Adobe Analytics, Bing Ads UET, Google Ads Remarketing, Salesforce Marketing Cloud, Zoho).Paste the snippet
In the Embed code field, paste the exact script/snippet provided by your tool, then click Save changes. You will see a note that this integration affects all stories.Manage or limit usage
After connecting, the tool appears with a Manage (gear) button and a toggle.
To hide a connected tool from the current story only, open that story’s Integrations panel and turn the toggle off for that tool.
Example: Google Tag Manager (GTM)
In Storydoc, go to Integrations → Marketing Tools → Google Tag Manager → Connect.
Paste your GTM container snippet into Embed code, then Save changes.
To update the snippet later, click Manage (gear).
To exclude GTM from a single story, open that story, go to Integrations, and switch GTM off for that story.
Where to find your tracking snippets (official guides)
Use the links below to get the code from each platform, then paste it into Storydoc as shown above.
Google Tag Manager (GTM)
Install your web container and copy the two GTM snippets from the Admin screen:
https://support.google.com/tagmanager/answer/14847097?hl=en-GBGoogle Ads Remarketing / Google tag (gtag.js)
Get the Google tag and remarketing setup steps in Google Ads Help:
https://support.google.com/google-ads/answer/2476688?hl=en-GBMeta Pixel (Facebook)
Install the Pixel and copy the base code from Events Manager:
https://business.facebook.com/business/help/1058078787600162LinkedIn Insight Tag
Overview and where to access the tag in Campaign Manager:
https://business.linkedin.com/marketing-solutions/insight-tag?trk=blog-post-lmsHotjar Tracking Script
Find and install your Hotjar tracking code:
https://help.hotjar.com/hc/en-us/sections/115002608787-Installing-the-Hotjar-Tracking-CodeCrazy Egg Tracking Script
Installation guides and where to copy your script:
https://support.crazyegg.com/article-tags/installation/ support.crazyegg.comMarketo Tracking Code (Munchkin)
How to add the Munchkin tracking code to your site:
https://experienceleague.adobe.com/en/docs/marketo/using/product-docs/administration/additional-integrations/add-munchkin-tracking-code-to-your-websiteSegment Embed Code (Analytics.js)
Quick start for installing Analytics.js or a basic Segment installation:
https://segment.com/docs/getting-started/02-simple-install/ SegmentHubSpot Tracking Code
Copy and install the HubSpot tracking code:
https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-codeAdobe Analytics Tag (Adobe Experience Platform Tags, formerly Launch)
Get your property’s embed code and environment instructions:
https://experienceleague.adobe.com/en/docs/platform-learn/implement-in-websites/configure-tags/add-embed-codeBing Ads UET Tag (Microsoft Advertising)
Where to view and copy the UET tag code:
https://help.ads.microsoft.com/apex/index/3/en/56705Salesforce Marketing Cloud
If you use Account Engagement (Pardot), get the tracking code from Campaigns:
https://help.salesforce.com/s/articleView?id=mktg.pardot_implement_tracking_code.htm&type=5
If you use Marketing Cloud Web Collect, see Collect Tracking Code:
https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_collect_code.htm&type=5Zoho Tracking Code
If you use Zoho PageSense, install the snippet from:
https://help.zoho.com/portal/en/kb/pagesense/install-the-snippet
If you use Zoho SalesIQ (live chat and tracking), see:
https://help.zoho.com/portal/en/kb/salesiq-2-0/for-administrators/setup-brand/articles/gettingstarted
Tip: If you already use GTM, many platforms provide official templates. You can add only the GTM container in Storydoc and manage everything from GTM.
Best practices and troubleshooting
Verify firing. Use the vendor’s debugger or browser extension to validate (for example, Tag Assistant, Meta Pixel Helper, LinkedIn Insight Tag status, UET Tag Helper)
Per-story control. Use the story-level toggle to hide a global integration from a specific story when needed.
Data delay. Reporting in many platforms can take time to appear.
Security. Only paste scripts from trusted platforms.