E-Commerce Conversion Tracking
What is Conversion Tracking?
#Conversion tracking allows you to monitor e-commerce revenue transactions on your website, and identify the source of traffic of those conversions.
Glass Analytics can track products sold, quantity, revenue, and currency.
Glass Analytics will anonymously link to sessions, providing attribution to ad networks and campaigns.

Conversion Tracking Currency
#Glass Analytics maintains a historical currency database, and can consolidate multi-currency checkouts into a single reporting currency, using the exchange rate on the day of the transaction.
How does conversion tracking work?
#E-commerce tracking in Glass Analytics requires adding additional tracking script to your website, that is triggered upon conversions.
Glass Analytics automatically detects Google Analytics 4 e-commerce revenue events
If you already have Google Analytics 4 revenue tracking installed in your site, you don't need to do anything. Glass Analytics will detect these conversions. Learn more.

How to Track Revenue in Glass Analytics
Set up Glass Analytics on your website.
Make sure Glass Analytics is installed and working on your website already.
Add the
revenuetracking script.All fields are required.
<script> glassq.push(['revenue',{ amount: 100, product: 'Widget', currency: 'USD', quantity: 1, event_type: 'revenue' }]); </script>You will need to call
glass.revenuefor each line item.Pass through your checkout process
Verify data is being received in Glass Analytics.
Frequently Asked Questions
Can I install this script via Google Tag Manager?
Yes, you can install Glass Analytics revenue tracking inside Google Tag Manager.
Make sure you use tag sequencing so that the conversion tracking script fires after the Glass Analytics analytics.js script is loaded.
Does Glass Analytics convert currencies?
Yes. Glass Analytics tracks sales in different currencies.
Glass Analytics maintains daily global exchange rates, and can convert sales to your site's display currency automatically.
Glass Analytics uses the exchange rate on the day of the sale to convert the currency.
How long can product names be?
The maximum product name length is 100 characters.
Can I track SKUs?
We don't track SKUs separately; you should append these to the product name when tracking.