Tracking click volume tells you how much traffic you are getting. It does not tell you if that traffic is converting. If you want to know which creator, ad, or link is driving actual revenue, you need conversion tracking.
By adding a lightweight script to your checkout thank-you page or signup confirmation page, gometrify attributes conversion values and events directly back to the click source in real time.
How it works
- Click: A visitor clicks one of your short links.
- Redirect: gometrify appends a unique click ID (
gmt_cid) to the destination URL. - Session: The initialization script on your site caches the click ID.
- Conversion: The checkout page script reads the click ID and sends the purchase total and currency to the gometrify API.
1. Load the initialization script
You need to load the global initialization script on every page of your site. This script catches the gmt_cid query parameter when visitors arrive and keeps track of it.
Paste this snippet inside the <head> tag of your website layout:
<script src="https://www.gometrify.com/init.js"></script>
2. Install the conversion script
Choose your platform below and copy the script to your checkout success or thank-you page.
Shopify
- In Shopify Admin, go to Settings → Checkout.
- Scroll to the Order status page section.
- Paste this snippet in the Additional scripts box:
<script
src="https://www.gometrify.com/pixel.js"
data-revenue="{{ checkout.total_price | money_without_currency }}"
data-currency="{{ checkout.currency }}"
data-event="PURCHASE">
</script>
WooCommerce
- In your WordPress dashboard, open Appearance → Theme File Editor.
- Edit your active theme's
woocommerce/thankyou.phptemplate. - Paste this script before the closing
</body>tag:
<script
src="https://www.gometrify.com/pixel.js"
data-revenue="<?php echo $order->get_total(); ?>"
data-currency="<?php echo $order->get_currency(); ?>"
data-event="PURCHASE">
</script>
Webflow
- In Webflow project settings, add the head script (
init.js) to the Head Code section. - In the Webflow designer, open the Order Confirmation page settings.
- Paste this script in the Before