Google Tag Manager
A standardized GTM naming approach ensures clarity, scalability, and easy debugging. Below are the conventions for different GTM components.
Best Practices
Section titled “Best Practices”- Use PascalCase or snake_case for readability (
EventTrackingorevent_tracking). - Use clear, descriptive names to indicate purpose (avoid unnecessary abbreviations).
 - Include prefixes for categorization (e.g., 
GA4_,Meta_,GTM_). - Maintain consistency across all tags, triggers, and variables.
 - Group related items inside folders for better organization.
 - Maintain a centralized documentation sheet for consistency and tracking.
 
Format: [Tool]_[Type]_[Event]_[Details]
Example:
GA4_Event_FormSubmission→ GA4 event for form submissionMeta_Conversion_Purchase→ Meta Pixel purchase conversionGTM_CustomJS_UserTracking→ Custom JavaScript for user tracking
Triggers
Section titled “Triggers”Format: [Type]_[EventName]_[Condition]
Example:
Click_SubmitButton_AllPagesPageView_ThankYouPageScroll_50Percent_Homepage
Variables
Section titled “Variables”Data Layer Variables (DLV)
Section titled “Data Layer Variables (DLV)”Format:
DLV_[VariableName]Example:
DLV_PageCategoryDLV_UserRoleJavaScript Variables (JSV)
Section titled “JavaScript Variables (JSV)”Format:
JSV_[Function]_[Detail]Example:
JSV_ClickTextJSV_UserAgentURL Variables
Section titled “URL Variables”Format:
URL_[ParameterName]Example:
URL_UtmSourceURL_ReferrerFirst-Party Cookies
Section titled “First-Party Cookies”Format:
Cookie_[CookieName]Example:
Cookie_UserConsentCookie_SessionID
Event Parameters (GA4, Meta, Custom)
Section titled “Event Parameters (GA4, Meta, Custom)”Format: [tool]_[parameter_name]
Example:
ga4_event_categoryga4_event_labelmeta_purchase_value
Consent Mode & Privacy Compliance Tags
Section titled “Consent Mode & Privacy Compliance Tags”Format: Consent_[Type]_[Action]
Example:
Consent_OneTrust_CDNScriptConsent_CCPA_TrackingEnabledConsent_GDPR_AnalyticsEnabled
Custom Dimensions & Metrics
Section titled “Custom Dimensions & Metrics”Format: [Tool]_[Scope]_[DimensionName]
Example:
GA4_User_MembershipTypeGA4_Session_DeviceType
Folders
Section titled “Folders”Format: [Category]_[Detail]
Example:
GA4_TrackingEventsMeta_PixelEventsGTM_CustomScripts