If you're curious about some of the awesome things GTM can do we recommend having a read of the GTM Developer Guide. It's a heavy read, but worth it for understanding GTM. There's also a nice YouTube walkthrough here for those who would prefer a broad overview.
In GTM, you may need to create an account if you haven't done so already. Make sure you select Web Platform when creating the account. On your GTM dashboard, we're looking for the container ID. You'll find it in the top right and it looks something like this:
GTM-MLG77GX (make sure to use your own container ID)
Now let's add this ID into Uscreen.
Navigate to Settings > Integrations and on Google Tag Manager click connect, you'll be prompted to enter your container ID and once added you can Connect.
Technical Specs for Custom Events We Manage
We automatically push the following custom events into GTM as customers navigate through your storefront and make purchases, however, you must add these as User-Defined Variables in GTM to be able to use them in your tags or triggers:
- ViewContent - Content is viewed in your storefront
- InitiateCheckout - Customer has chosen the content or subscription they want to purchase and has landed on the Customer information form(needs to fill out email, name, password)
- Lead - Customer completes Customer information form(email, name, password are entered and validated)
- AddPaymentInfo - Customer completes the Complete Order form (successfully enters their payment information and is validated)
- Purchase - In their first transaction the AddPaymentInfo event and Purchase event will both fire. Subsequent purchases will only fire the Purchase event if their payment information is still saved.
Let's add these events as User Defined Variables in GTM.
Navigate to Variables and click New under the User-Defined Variables section. For whichever variable you want to use, paste it exactly how it is above into the Name field in the top left and then click the Variable Configuration section. In the list of variables select Custom Event. Once saved your variables are ready to be used.
All events are going to push data like in the example below with only the event name changing to reflect the type of event:
'content_name': "Monthly Subscription",
Value sent is always the amount without any discounts, even after a coupon has been applied.