Creating variables
- Once logged in to Google Tag Manager (GTM), clickVariables from the menu on the left side of the page.
- In the User-Defined Variables section, click New.
- Replace Untitled Variable with 'NebulaCX_gaEventAction'.
The page will now appear as follows:
-
Click the center brick icon and select variable type Data Layer Variable.
-
In the Variable Configuration section, enter 'gaEventAction' in the Data Layer Variable Name field. Then click Save.
-
Confirm that the new variable appears in the list in the User-Defined Variable section of the page.
Repeat steps 2-6 using the following information:
Table 1. Data Layer variables User-defined variable Data Layer variable name NebulaCX_gaEventCategory gaEventCategory NebulaCX_gaEventValue gaEventValue NebulaCX_gaEventLabel gaEventLabel