Articles on: Integrations

Setting up Google Tag Manager

Use Google Tag Manager to manage all your website tags without editing code.

To set up Google Tag Manager:



Create a new account at Google Tag Manager (refer to this article for more guidance).

Copy the GTM Container ID from the accounts list:



In your SpreadSimple Dashboard, open Add-ons Tab and select Google Tag Manager. Then toggle on Enable.

Paste the ID and click Save.



Publish your website.

Tracking Events



As you can see, we support the tracking Events feature.

It means that after a customer makes a purchase on your website, their order information (like total amount, items quantity, etc) can be sent to your Google Tag Manager. Then you can redirect this event to any analytics services or tools of your choice to analyze the conversion and other e-marketing metrics.

We recommend you to set up Google Tag Manager and connect Google Analytics there.

To enable Track Purchase Events:


Toggle on Track Purchase Events.

Insert currency in ISO 4217 code e.g. USD, EUR, etc (you can find your currency code here) and click Save.



Publish your website.

For our tech-savvy users


Here's a sample of dataLayer event that will be sent after a customer makes the purchase:

dataLayer.push({
"event": "purchase",
"ecommerce": {
"purchase": {
"value": 3775,
"currency": "USD",
"items": [
{
"item_id": "FTC-1221",
"item_name": "Fabric three-cushion sofa",
"item_price": 1385,
"quantity": 1
},
{
"item_id": "VHS-1212",
"item_name": "Velour home sofa",
"item_price": 1195,
"quantity": 2
}
]
}
}
})

Updated on: 06/03/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!