CodeUp Troubleshooting

This guide helps you resolve common issues with CodeUp – Add Custom Code. Follow the steps for your specific issue to get your custom code working properly.

Code Not Appearing on Store

Issue: My code is not showing up on my store pages

Solution Steps:

  1. Check if theme extension is enabled
    • Go to the CodeUp Dashboard
    • Look at the App activation status section
    • Verify that Head code and/or Body code shows “Enabled”
    • If disabled, click Enable extensions and toggle the blocks ON in the theme customizer
  2. Verify code is saved
    • Go to the Setup page
    • Check that your code is visible in the text area
    • If empty, add your code and click Save
  3. Check page targeting settings
    • On the Setup page, check which pages are selected
    • If specific pages are checked, your code only appears on those pages
    • To show on all pages, uncheck all page type boxes
  4. Clear browser cache
    • Hard refresh the page (Ctrl+Shift+R or Cmd+Shift+R)
    • Or test in an incognito/private browser window
  5. Verify in page source
    • Visit your store
    • Right-click and select “View Page Source” (or press Ctrl+U / Cmd+U)
    • Search for a unique part of your code
    • If found, the code is injected but may have execution issues

When viewing the page source, look for your custom code inside the <head> section (for header code) or just before </body> (for body code).


Theme Extension Issues

Issue: Cannot find CodeUp blocks in theme customizer

Solution Steps:

  1. Ensure CodeUp is properly installed from the Shopify App Store
  2. Open your theme customizer:
    • Go to Online Store > Themes > Customize
  3. Look for App embeds in the left sidebar (you may need to scroll down)
  4. If not visible:
    • Make sure you are editing the correct theme
    • Try refreshing the theme customizer
    • Reinstall the app if necessary

Issue: Theme extension status not updating in app

Solution Steps:

  1. Refresh the CodeUp app page
  2. Wait a few seconds for the status to sync
  3. If still not updating:
    • Make changes in the theme customizer
    • Click Save in the theme customizer
    • Return to CodeUp and refresh

Issue: Extension keeps getting disabled

Possible causes:

  • Theme was updated or changed
  • Another app or theme setting conflict
  • Theme customizer changes were not saved

Solution:

  1. Re-enable the extension in the theme customizer
  2. Make sure to click Save after toggling the blocks
  3. Check if other apps might be affecting the extension

Code Errors

Issue: JavaScript errors preventing code from running

How to diagnose:

  1. Open your store in a browser
  2. Open Developer Tools (F12 or right-click > Inspect)
  3. Go to the Console tab
  4. Look for red error messages

Common causes and solutions:

ErrorCauseSolution
SyntaxError: Unexpected tokenInvalid JavaScript syntaxCheck for missing brackets, quotes, or semicolons
ReferenceError: X is not definedUsing undefined variableEnsure all variables are properly declared
TypeError: Cannot read propertyAccessing property of null/undefinedAdd null checks before accessing properties
Mixed Content errorLoading HTTP resource on HTTPS siteChange http:// to https:// in your URLs

Issue: CSS not applying to elements

Solution Steps:

  1. Check selector specificity
    • Your CSS may be overridden by theme CSS
    • Use more specific selectors or add !important (sparingly)
  2. Verify syntax
    • Ensure CSS is wrapped in <style> tags
    • Check for missing semicolons or brackets
  3. Use browser Developer Tools
    • Right-click on the element > Inspect
    • Look at the Styles panel
    • Check if your styles are crossed out (overridden)

Example of increasing specificity:

<style>
  /* Too general - might be overridden */
  .button { color: red; }

  /* More specific - higher priority */
  body .product-form .button { color: red; }

  /* Last resort - use sparingly */
  .button { color: red !important; }
</style>

Tracking Pixels Not Working

Issue: Google Analytics not tracking

Solution Steps:

  1. Verify the code is present
    • View page source and search for your GA4 measurement ID (G-XXXXXXXX)
  2. Check for duplicates
    • Make sure GA is not installed by another app or in your theme
    • Duplicate tracking causes data issues
  3. Test with Google Analytics Debugger
    • Install the Google Analytics Debugger Chrome extension
    • Visit your store with the extension enabled
    • Check the browser console for GA debug messages
  4. Verify in GA4 Realtime
    • Open Google Analytics 4
    • Go to Realtime report
    • Visit your store in another tab
    • You should see your visit appear

Issue: Facebook Pixel not firing

Solution Steps:

  1. Install Facebook Pixel Helper
    • Add the Facebook Pixel Helper Chrome extension
    • Visit your store
    • Click the extension icon to see if the pixel is detected
  2. Check the pixel code
    • Verify the Pixel ID is correct
    • Ensure both the script and noscript portions are included
  3. Test in Facebook Events Manager
    • Go to Facebook Events Manager
    • Use the Test Events feature
    • Visit your store and check if events appear

Saving Issues

Issue: Changes not saving

Solution Steps:

  1. Check for the save confirmation
    • After clicking Save, you should see “Saved successfully” message
    • If you see an error, try again
  2. Check your internet connection
    • Saving requires an active connection
    • Try refreshing and saving again
  3. Check for unsaved changes warning
    • If you see the save bar at the top, click Save
    • Don’t navigate away before saving

Issue: Code disappears after saving

Solution Steps:

  1. Refresh the Setup page
  2. Check if the code reappears
  3. If not:
    • Re-enter your code
    • Click Save
    • Wait for confirmation
    • Refresh to verify

Performance Issues

Issue: Store loading slowly after adding code

Solution Steps:

  1. Review your code
    • Remove any unnecessary scripts
    • Check if external scripts are slow to load
  2. Use page targeting
    • Don’t load code on pages that don’t need it
    • Select specific pages in the Setup page
  3. Move non-critical code to Body
    • Scripts in the Body section load after content
    • This improves perceived loading speed
  4. Optimize external resources
    • Use async or defer attributes on script tags
    • Consider hosting files on a CDN

Example of async loading:

<script async src="https://example.com/script.js"></script>

App Loading Issues

Issue: CodeUp app not loading or showing errors

Solution Steps:

  1. Refresh the page
    • Click the refresh button or press F5
  2. Clear browser cache
    • Clear cache and cookies for your admin domain
    • Or try in incognito mode
  3. Try a different browser
    • If using Chrome, try Firefox or Safari
    • This helps identify browser-specific issues
  4. Check Shopify status
  5. Reinstall the app
    • As a last resort, uninstall and reinstall CodeUp
    • Note: This may remove your saved code, so backup first

Common Error Messages

“Cannot fetch data”

Cause: The app cannot retrieve your saved settings.

Solution:

  1. Refresh the page
  2. Check your internet connection
  3. Try again in a few minutes

“Cannot save”

Cause: The app cannot save your changes.

Solution:

  1. Check your internet connection
  2. Try saving again
  3. If persists, try a different browser

“Something went wrong”

Cause: A general error occurred.

Solution:

  1. Refresh the page
  2. Try the action again
  3. Contact support if it continues

When to Contact Support

Contact our support team if:

  • You have followed all troubleshooting steps without success
  • You encounter an error not listed in this guide
  • Your code worked previously but stopped working
  • You need help with specific code implementation

How to contact support:

  1. Visit gropulse.com/contact
  2. Provide:
    • Your store URL
    • Description of the issue
    • Steps you have already tried
    • Any error messages you see
    • Screenshots if possible

Helpful Resources

Last updated on February 16, 2026

Was this article helpful?

PREVIOUS

Add Custom Code with CodeUp

NEXT

CodeUp Theme Extension Management

Powered by Support Genix