Table of Contents |
---|
Setup Checklist
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
GOOGLE ANALYTICS TASKS | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Detailed Setup Guide
Info |
---|
NOTE: Aspenware Commerce has added the ability to load Adobe Analytics credentials for resort customers who use both reporting platforms. Including these credentials will enable Adobe Analytics to connect and pull data from the same tags that GA4 will leverage. In essence, users of both platforms will have access to two reporting interfaces. |
...
Current UA (Universal Analytics) users do not need to create a new GTM Container, as you will use your existing one. See Add a Google Analytics 4 property to a site that already has analytics.
Users new to Google Tag Manager will create a GTM Container. See Setup and install Tag Manager.
Note |
---|
IMPORTANT: Aspenware recommends individual tags rather than using the “Send Ecommerce data” checkbox. We don’t recommend using the "Send Ecommerce data" option for a couple of reasons:
Setting up the tags manually will enable you to obtain all the standard and custom events and dimensions, and it will allow for better accuracy, flexibility, and customization in the long run. |
3. Hardcode Currency in Google Tag Manager
Google Analytics 4 requires a defined currency to report revenue accurately. Currency can be defined in multiple places, but hardcoding the currency in the GTM container is the best way to ensure that your revenue is reported correctly.
Note |
---|
IMPORTANT: This task must be completed by an admin or user with publish permissions in Google Tag Manager, and should take less than 2 minutes to complete. Be sure to complete this for every container (every site) you monitor, in both test and production. |
The requirement references how currency is defined and reported in your site, and requires a 3-digit code to be entered. The most common codes for Aspenware resorts are:
US Dollar: USD
Canadian Dollar: CAD
Australian Dollar: AUD
New Zealand Dollar: NZD
Please make a note of the currency for your site(s), and follow the instruction below to configure:
Log in to the Google Tag Manager Account
In the sidebar, select Tags
Locate the Purchase Event in the tag list, and select.
Identify the variable you are using for the currency parameter and make a note of it (e.g. {{GA4-Ecommerce Currency}} in the example below).
Close the tag and select Variables in the sidebar. Select the ecommerce variable you identified in the previous step.
Change the Variable Type from Data Layer Variable to Constant.
Enter your currency code in the Value field. Currency code entries are 3 characters:
USD (US Dollar)
CAD (Canadian Dollar)
AUD (Australian Dollar)
NZD (New Zealand Dollar)
If your Variable is already defined as Constant, simply update the Value from 000 to the correct currency code.
Save your changes and click Submit in the upper right.
Publish the container. We suggest including “Hardcode Currency…” or some other identifier in the version name field.
4. Import Triggers/Tags
Info |
---|
NOTE: For details about what is available in the Aspenware data layer, please see Google Analytics Reference Guide. |
Import the GA4 Setup Container, which contains tags, triggers and variables. See Container export and import.
In the article (above), scroll down to and follow the “Import” instructions using the Aspenware GA4 Import Tags File.json below.
Note |
---|
IMPORTANT: Which file should I import? There are multiple Tags and Triggers json files available for import. 8.22.22 Tags and Triggers File The file dated 8.22.22 contains the standard events and tags suggested by Google for initial GA4 deployment. 3.7.23 Considerations for Importing the Aspenware Tags and Triggers File The second file, dated 3.7.23, includes additionaltags and events, including events that capture account creation and login activities. Which file should you import?
|
File Date | JSON File |
---|
3.1.23
8.2.22
2/4/25 | Coming Soon! |
Edit Variables
After the import is complete, go to Variables (left nav).
...