Custom Script settings

Modified on Thu, 2 Jul at 12:02 AM

What This Feature Does

Lets you insert third-party scripts (chat widgets, retargeting/tracking pixels, analytics code) into your membership pages by placing them in the head, body, or body-end section — wherever the script provider specifies.

Scope: This applies only to membership pages — not your main site, checkout pages, or other funnels.


Before You Start

  • Get the exact script code from your provider (e.g., Facebook Pixel, Google Analytics, Intercom, Crisp chat)
  • Check the provider's documentation for where they require it — head, body, or body end. Placing it in the wrong section can cause the script to fail silently or load at the wrong time
  • Back up or note your current setup before adding new scripts — if something breaks, you want to know what changed


Step 1: Open Custom Script Settings

    1. Go to your Membership Project settings
    2. Find "Custom Scripts"



Step 2: Paste Your Script in the Correct Section

SectionWhen to UseCommon Examples
HeadScripts that need to load before the page content (tracking pixels, some analytics)Google Analytics, Facebook Pixel
BodyScripts tied to visible page elementsSome chat widgets, embedded forms
Body EndScripts that should load after the page content, to avoid slowing down page loadChat widgets (Intercom, Crisp), retargeting scripts

If unsure, check the script provider's own installation instructions — they almost always specify which section to use.


Step 3: Save

  1. Click Save


Step 4: Test It Actually Works

  1. Open your membership page in a new browser tab (preferably incognito, to avoid cached scripts)
  2. Confirm the expected behavior:
    • Chat widget: does the chat bubble appear?
    • Analytics/tracking: does the event show up in your analytics dashboard (may take a few minutes)?
  3. If nothing happens, don't assume it's broken immediately — some tracking scripts take time to register data

Common Issues & Fixes

ProblemLikely CauseFix
Script doesn't appear to do anythingPasted in the wrong section (head vs body vs body end)Check the provider's documentation for the correct placement and move it
Chat widget doesn't show upScript placed in Head instead of Body End, or script itself is brokenMove to Body End; verify the script code was copied completely and correctly
Page loads slowly after adding a scriptHeavy script placed in Head, blocking page renderMove non-essential scripts (especially chat/tracking) to Body End
Tracking pixel shows no dataScript only applies to membership pages — you're checking traffic to a non-membership pageConfirm you're testing on an actual membership page, not your main site or checkout
Script breaks page layout or functionalityMalformed/incomplete script code, or conflicting with existing scriptsRemove the script, verify it's copied in full from the provider, re-add one at a time to isolate the issue


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article