How to make sure the checkout flow will get track accordingly

The purpose of this help page is for you to know which script you have to add incase you have different flows for checkout system


Overview: When to Use Each Script

There are two main tracking scripts used for flows:

Flow Type

Description

Script to Use

Lander routes to Product Page (or any non-checkout page)

When the ad’s landing page directs users to a Shopify, WooCommerce, or Funnelish product/landing page.

Passthrough Script

Lander routes directly to Checkout Page

When the ad’s landing page sends users straight to checkout.

Cart-Permalink Script


Script Details


  • Passthrough Script - If Landing page routes users to Shopify Product page or any "non-checkout page"

Add this script at the end of your lander’s <body> section (right before </body>):


<script async src="https://pixel.wetracked.io/ppt.js"></script>


  • Cart-Permalink Script - If Landing page routes users to checkout

Use this if the lander directs users straight to checkout:


<script async src="https://pixel.wetracked.io/cart-permalinks.js"></script>

Common Scenarios and Setup Guides


Scenario 1: Funnelish Lander page → Shopify Product or Landing Page

  • Connect both Funnelish Funnel and Shopify Store inside wetracked.io.
  • Add the Passthrough Script inside the Funnelish Custom Code section.
<script async src="https://pixel.wetracked.io/ppt.js"></script>


Scenario 2: WordPress Lander page → Shopify Product or Landing Page

  • Connect both WooCommerce and Shopify Store to wetracked.io.
  • Add the Passthrough Script to the WordPress lander.
<script async src="https://pixel.wetracked.io/ppt.js"></script>


Scenario 3: External Lander page → Supported Platform (Shopify, WooCommerce, Funnelish)

  • The lander can still use our tracking if it routes users to any of our supported platforms.
  • Use either the Passthrough or Cart-Permalink Script depending on where users are redirected.
  • Note: Tracking will be limited on external landers (we can’t capture on-page events like “Page View”), but events triggered on supported platforms will be tracked.


But here as an example "if the lander (external) routes to Shopify page (that’s not checkout), please add the following script below to ensure all events will get track


<script async src="https://pixel.wetracked.io/ppt.js"></script>

<script async src="https://pixel.wetracked.io/{{shop.permanent_domain}}/events.js"></script>


Replace {{shop.permanent_domain}} with your actual Shopify domain (e.g., example.myshopify.com).


Scenario 4: Any Lander page → Shopify Checkout

  • Use the Cart-Permalink Script:
<script async src="https://pixel.wetracked.io/cart-permalinks.js"></script>


Scenario 5: Any Lander page → WooCommerce Checkout

  • Simply add the Passthrough Script on the lander:
<script async src="https://pixel.wetracked.io/ppt.js"></script>
  • WooCommerce checkouts do not require the Cart-Permalink Script so only Passthrough Script can be added.



Need help?


If you need help figuring out which script is suitable for better tracking experience, feel free to contact us via wetracked.io, support is available 24/7!












Updated on: 05/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!