Track inquiries, bookings, and purchases (install the tag)
Track inquiries, bookings, and purchases by ad source. Get and install the tag, add allowed domains, check setup, and set up purchase tracking by cart.
Author: Cascade
Add 1 line of tag code to your site to record results along with "which ad they came from." Open Customer Management > Measurement Tag in the left menu. You can track form inquiries, bookings through booking tools, online store purchases, and sign-ups.
Recorded results are used for analysis as described in About Attribution, the Cascade Measurement column in Performance Analysis, and the features described in Use Ad Fraud Protection, Send order data to ad platforms, and Send website conversions to ad platforms.
First, install the shared tag, then add settings for the results you want to track. Setup takes about 5 minutes.
Measurement Tag screen

The screen has 4 tabs.
Tab | Description |
|---|---|
Site measurement tag | Get the shared tag, register allowed domains, and check installation. |
Online store purchase measurement | Get purchase measurement code for each cart. |
Amazon store measurement | Automatically add attribution tags to Amazon Brand Store links. Configure the 3 automatic tagging methods for new ads, generated landing pages, and the Cascade tag on external sites, plus bulk tagging for existing ads (Google Ads and Meta Ads). An Amazon Ads connection is required. |
LINE friend adds | Tracking links for friend adds (Set up friend-add tracking (see which ads brought new friends)). Visible only to Owners and Admins. |
Prerequisites
Available on the Business plan.
Owners and Admins can get the tag, register allowed domains, and check installation.
Cookie consent and disclosure in your privacy policy are required. For sites serving the EU, set
window.cascadeConsent = falsebefore obtaining consent.
Steps
1. Install the shared tag on every page
Copy the tag (1 line of code) shown under Install the tag on the Site measurement tag tab. Paste it on every page of every site you want to track. Place it immediately before </head> on each page. Use the same tag on all sites.
If you use Google Tag Manager (GTM), you can also follow "Install with Google Tag Manager (GTM)" below. If you use Shopify, you need to install code in 2 places. See "If you use Shopify" below.
If you have trouble installing the tag yourself, ask your web development company to help. Tell them, "Please add this code immediately before </head> on every page."
Install the tag once to provide the foundation for all measurement. This shared tag is required whether you track inquiries, bookings, purchases, or sign-ups.
2. Register allowed domains
Under Allowed domains on the same tab, click Add domain and register the domain of the site where you installed the tag (e.g. example.com). Only submissions from registered domains are accepted to prevent impersonation. This applies to both site measurement and online store purchase measurement.
You can register up to 20 domains. Wildcards (*) and IP addresses are not supported.
If checkout uses a different domain, register that domain too. After adding it, place a test order and confirm that the purchase appears in Attribution.
When you publish a landing page generated in Cascade with Embed the Cascade measurement tag enabled, the publication domain is registered automatically. If you publish to your own server (FTP), enter the public URL too. If the tag is already delivered through the destination site or GTM, turn this switch off to avoid duplicates.
3. Check installation
Under Installation in the allowed domains list, click Check installation. Enter a page URL on that domain in URL to check, then click Check to see the results.
Result | Meaning |
|---|---|
Installed directly | The measurement tag is installed directly on the page. |
Via Google Tag Manager | The measurement tag is registered in the published version of the detected GTM container. |
Tag not in Google Tag Manager | A GTM container is present, but its published version does not contain the measurement tag. Add the tag in the workspace, then click Publish. |
Google Tag Manager unverified | A GTM container is present, but its published version could not be checked. |
Different site key installed | A tag for a different product is installed. Replace it with the tag shown on this screen. |
Not detected | Neither the measurement tag nor GTM was found. |
Could not check | The page could not be retrieved (e.g. a 404 error, access denied, or a timeout). |
Tags in unpublished GTM workspaces cannot be detected. There is a daily limit on checks. You can also check Count and Last received in the list to see whether measurement data is being received.
Install with Google Tag Manager (GTM)
If you cannot edit your site HTML directly or already use GTM, you can install the shared tag through GTM.
In GTM, select New Tag > the Custom HTML tag type.
Paste the shared tag you copied without changing it.
Select All Pages as the trigger. Make sure you select All Pages. If you limit it to a specific page, such as a thank-you page, the ad source information is missed when visitors first land on your site.
Save and publish.
You cannot set up purchase measurement through GTM. Only the shared tag can be installed through GTM. Follow the instructions for your cart or Shopify to set up purchase measurement.
Settings for each result type
Track form inquiries and sign-ups
Just install the shared tag. No additional work is needed.
Cascade automatically detects inquiry forms with an email address field. When a form is submitted, it records an inquiry. Forms without an email field and embedded forms from external services are also identified automatically from their submissions. Sign-up forms are recorded as Sign up.
The following forms are not inquiries and are excluded from automatic capture: forms on login screens or in member areas; online store cart, search, and checkout forms (including Shopify and WooCommerce cart pages); and credit card number forms. To prevent the measurement tag from sending submissions for a specific form, add the data-cascade-ignore attribute to that form in your site HTML.
You can register pages you do not want to count as results, such as general contact, recruiting, or media inquiry pages, under Uncounted pages in Attribution. Don't count keeps submissions in the Leads list but excludes them from totals and sending to ad platforms. Don't record does not save submissions. Submissions identified as sales emails are automatically excluded from totals and labeled Sales email in the Leads list. Use Restore as regular lead if needed.
If you use hacomono to create a membership site On each facility's site, only registration forms on pages for membership enrollment, trial sessions, and similar registrations are captured automatically. Forms in account areas or during payment, and login screens, are not captured. Visitors' ad information is not shared with sites for other facilities on the same service.
Track completions in booking and form tools
If you embed a booking or form tool on your landing page, completed bookings and submissions are recorded automatically. No setup beyond the shared tag is needed.
Booking tools: Calendly, TimeRex, Nitte, Chili Piper
Form tools: Typeform
Embed the tool so it appears within the page. Completions cannot be recorded with a "link-based" setup where a button takes visitors to another site. Use each tool's option to display it within the page, such as Inline Embed.
Contact details for people who book or submit forms are not recorded. You can see "which ad they came from," but not "who booked." If your tool is not listed or measurement does not work, contact support.
Track online store purchases (carts other than Shopify and Shopline)
These steps apply to Colorme Shop, MakeShop, futureshop, ecforce, BASE, and unlisted carts (Other cart). For Shopify, see "If you use Shopify" below. Shopline purchases are tracked automatically when you connect Shopline, so these steps are not needed.

On the Online store purchase measurement tab, choose your cart under Select cart to display its code. It contains the following 2 lines.
window.cascadePurchase = { platform: 'colorme', orderId: 'order ID variable', amount: 'amount variable', currency: 'JPY' };
The displayed code already includes the tag key, platform, order ID variable, and amount variable. For Colorme Shop, MakeShop, futureshop, ecforce, and BASE, just copy and paste it without changes.
Tag key: the letters and numbers after k= in the tag under Site measurement tag.
Order ID variable and amount variable: placeholders automatically filled with values for each order (see the table below).
platform: the name identifying your cart (see the table below).
currency: 'JPY' means Japanese yen. Leave it as is.
Settings by cart
Cart | Where to install the tag | Order ID variable | Amount variable | platform value |
|---|---|---|---|---|
Colorme Shop | Shop Creation > Conversion Tag Settings |
|
| colorme |
MakeShop | Promotion > Tag Settings > Custom Affiliate |
|
| makeshop |
futureshop | Promotion Management > Measurement Tag Settings (order completion page) |
|
| futureshop |
ecforce | Settings > Tag Management (assign to the order completion screen) |
|
| ecforce |
BASE | Ad Performance Measurement App |
|
| base |
Other cart | Order completion page |
|
| other |
If you use BASE In BASE, the tag is automatically added to every page. Pages without an order ID, such as product pages, are not measured. Only the order completion page is recorded correctly.
Paste the code in the location listed under "Where to install the tag" in the table and save to complete setup.
If your cart is not listed (Other cart)
Select Other cart to display generic code. Replace 2 parts before pasting it.
{{ORDER_NUMBER}}: Replace this with your cart's syntax for the order ID (e.g.{{ order.number }}).{{TOTAL_AMOUNT}}: Replace this with the value for the total amount including tax.
Check your cart's manual for the correct syntax. Purchases are not recorded if you paste the code without replacing these placeholders. The order ID is also used to automatically match purchases with closed-order CSV data imported in CRM Analytics.
If you use Shopify
For Shopify, you need to install code in 2 places. Both are required to record which ad led to a purchase. With only one, purchases can be recorded but cannot be linked to ads.
1. Storewide measurement tag
In the Shopify admin, open Online Store > Themes > ... (for the relevant theme) > Edit code, then paste the shared tag immediately before
</head>in theme.liquid. This tracks activity across your store, including the home page, product pages, and cart.If you already use GTM, you can install the tag through GTM instead of editing the theme.
2. Purchase measurement (custom pixel)
On the Online store purchase measurement tab, choose Shopify under Select cart to display its dedicated code. Copy it.
In the Shopify admin, open Settings > Customer events, then use Add custom pixel to paste the code and save.
Also register the checkout domain in Cascade's allowed domains.
The tag in step 1 remembers "which ad the visitor came from." The custom pixel in step 2 reads this information and links it to the purchase. If Shopify is connected, Cascade checks against order data for more accurate amounts and also restores ad attribution from additional order information.
If you use Stripe payment links
If your site has Stripe payment links (buy.stripe.com), the shared tag passes ad information to the payment when a link is clicked. Purchases are imported as described in Connect Stripe to import payment data.
Unsupported carts and marketplaces
For unlisted carts, such as STORES, use Other cart. Measurement works with services that let you paste code on the order completion page. Marketplaces such as Rakuten Ichiba are not supported because you cannot add code to their order completion pages. Import marketplace sales by connecting the marketplace as described in About Integrations.
How repeat submissions from the same person are handled
If the same visitor resubmits the same content within 10 minutes, such as through a confirmation page in a multistep form or after a validation error, the submission is merged into the existing lead instead of creating a new one. Merged leads appear as 1 entry in the Leads list.
If both submissions include an email address, it is used to identify the same person. If either submission lacks an email address, the phone number is used.
If the inquiry message or form field values change, the submission is treated as a separate inquiry and is not merged.
How amounts are handled
The amount variable differs by cart, such as whether it includes or excludes tax. Use the displayed amounts as a guide to compare results across ads. If your ecommerce cart is connected to Cascade, Attribution displays Order-based amounts checked against order data.
Troubleshooting
Issue | Cause | Solution |
|---|---|---|
The installation check shows Not detected. | The tag is missing from the page or installed on a different domain. | Check that the tag appears immediately before |
The installation check shows Different site key installed. | A tag for a different product is installed. | Replace it with the tag shown on this screen. |
The installation check shows Tag not in Google Tag Manager. | The tag was added to a GTM workspace but has not been published. | Click Publish in GTM to publish the container, then check again. |
Inquiries are not recorded. | The shared tag is missing from some pages, or the allowed domain is not registered. | Check that the tag is on every page and that your site's domain is registered in the allowed domains. |
Bookings or submissions are not recorded. | The booking or form tool uses a link-based setup. | Change to an "embedded" setup that displays the tool within the page. |
Purchases are not recorded. | The order ID or amount variables have not been replaced, or the tag is installed somewhere other than the order completion page. | Replace the variables as shown in the table and check that the code is installed in the location listed under "Where to install the tag." |
Shopify purchases are recorded but not linked to ads. | The storewide shared tag (in the theme or GTM) is not installed. | Install the shared tag described in step 1 of "If you use Shopify." |
An inquiry appears in the Leads list but is not counted. | It matches an entry in Uncounted pages or was identified as a sales email. | Filter by Counting in the Leads list in Attribution, then click Restore as regular lead if needed. |
Related articles
More articles in this category

