# Configuration

Once you have successfully installed the extension and created an account in Google Analytics and Google Tag Manager, go to **Stores -> Configuration** to configure the extension for use.

**Google Tag Manager**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FYw56leRZDu51z7MiHqUM%2FConfiguration.png?alt=media&#x26;token=d0f7d386-5b1f-4a4c-bd8c-8361eb25418e" alt=""><figcaption></figcaption></figure>

* **Enable GTM -** Enable or disable extension from here.
* **GTM and GA4 Regular Code -** Paste the GTM \<head> code and GA4 script you received and the time of account creation respectively.
* **GTM No-Script Code -** Paste the GTM \<body> code.

**Container Import**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FGLSFWm2yCmFZlHYWGnkQ%2FContainer%20Import.png?alt=media&#x26;token=6a4f4390-ced8-4bf6-9b9d-600a4c4a32cd" alt=""><figcaption></figcaption></figure>

* **GTM: Account ID -** Enter the GTM Account ID received at the time of account creation from the URL.
* **GTM: Container ID -** Enter the GTM Account ID received at the time of account creation from the URL.
* **GA4: Measurement ID -** Enter the GA4 Measurement ID received at the time of account creation from the URL.
* **Download File for Google Analytics 4 -** Click this button to download the predefined JSON file that you need to upload to the Google Tag Manager dashboard.&#x20;

**Attribute Mapping**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F48uN4kGUI0hr1wL9TXrQ%2FAttribute%20Mapping.png?alt=media&#x26;token=c2958d49-483f-47c6-b737-617d46900172" alt=""><figcaption></figcaption></figure>

* **Product Identifier -** Select the product identifier as ID or SKU.
* **Brand -** Select the product attribute from the dropdown menu.
* **Custom Dimensions and Metrics -** Set the dimensions and attributes for configurable products.
* **Identifier Resolution -** Select the identifier as parent or child.
