> For the complete documentation index, see [llms.txt](https://wixpa-feed.gitbook.io/wixpa-google-tag-manager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wixpa-feed.gitbook.io/wixpa-google-tag-manager/wixpa-google-tag-manager/how-to-set-up-google-tag-manager-automatically.md).

# 💡How to set up Google Tag Manager Automatically?🤔

&#x20;If you want to **configure** through **Continue with Google**, follow these steps:<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcGcaa7rqeNYSso_GqwOEInhp2ANZdvFY6DJEXLwWWLi6St-wVTnsbo6V5jFzwikmW6IHBLu7Rb1TNkRGgbYRWeON5gsHyONKqi_sNf5-Quf_FIlwsBu3KkRww9Aa06FxKSJcNWIghz5j2OhPdPSyVArZY?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Choose an **account** and **continue.**  <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfY6R9bgBTELcm58CpsiCNxz4EDpfGQ5YEO1BHnVHDRZ9Cxv-fJ850GgxyMALZodnLEFRUTAzyb7VbL7QM-xiZgn_3CL0VugWwHwxFoNDmFaCtAByTVtyFVdpwY6SzREL24otZ1lXltbqhVbvrJIZzAhtHg?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Make sure to **select all** the **scopes** here and **continue.** <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe6avLDrhpbU8ZvR2K8tm0ZVwmEcvIODxoxebTqUcnQx_lA7Do6zfu3oESrotI9WLE47QfDeANmac_G-AVG08jRovvqAYvFCWQYhhVs7piicynQyRB42-KXofEGduoHeQdtfcN0KafldjfK2GDkPXbElpJl?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Now, select your **Google Tag Manager account.** If you have an existing container with data, use that; otherwise, click **Create a new** container and then click **Next.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdd2nQNGpBCQoz6kgduZW2EXUQgZYpmF7gKKZinJMiOWjrfZrvOk95ygd0GhDOt80N6xFXFeeKInJr6oYNMbOlcKzHI0SbkO4pscmmGZUhgyrGoIJ-A6U7RcZ7jy9W2W7DWScxVi-uy-UMujIfMirSW4NsT?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Then select the **platform.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc5Sge4xFUtx8fSZvE6uGDZXMdgr5BjKmRo9Ei8_CM20tR6wl_yMEZ2x2ikMBkZpsWAlNl7YPE1JSAgpWJGQ36FHHcQGgNRSEm0JPoWltag9AzmfSQT0L7XcWq0jt4uRM8eLdv6AlRcolGOeIqLYct-udCv?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Write the **Pixel Name** and **Pixel Id** here and select **Product ID format** and Select the **target area** as **Entire Store** or **Specific Selection.** If you choose **Specific Selection**, select the area you want to **target**, then click **Save.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcr4BpNVFpfGiJAAgy3nJmJjEPFN0F6C8IT-2PQL90R9ni6AGhqEjV7G5w_vdi8bFCDzTp6x17QDbAl1OLaOIDI9ebNuMQNWxTVFbn982bLHe5QFI9fmK_QxBocIBiPT_emWDJQhIgXY32b3MGeN2jHPpM?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

To copy the **Pixel ID** for the TikTok Pixel, go to the [**TikTok Events Manager**](https://ads.tiktok.com/i18n/events_manager/), open the pixel, and copy the **Pixel ID** from there. Then, paste it into the **Wixpa Tag manager**.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc8WSRXNrO719TNWivtkCj-COHdt6du0X8_WJCEt5wEQ1q7VLOgKkKUowk3n60Va-KMdP3wyS4W_Sis6CKTcmllV_xyCHV39qjQGY0dv_0YHyS7vG29GSdTn2nvXOyZ7knYPAwxawdZ7gfnhpE2Hd3Tq0sg?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Wait for **2-3 minutes**, and your setup will be **completed** for your Google Container setup. \
\
Now, Click on **"Copy,"** then select **"Customer Events,"** which will take you to the Customer Events section.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcvsofG5xGEbIBc3XF3NuzPnti13jOnKrQ-8RsLYiHKoazFf9Ln9FY5rBFtAPM9spXKpf6F8qFOz2i6tXSLTUfb-MnZVJf01IWMIrF_FY1tJS_UnE_1yf-EOSjtxsVudvbpYFyYP0jYd_RAVgQ3sJc5z9A?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Click on **Add Custom Pixel.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeXxuI66TnhdkYlK_LKNOpMpqYrboaJJLCRT1hyQo0aSYDoObuyrNGvAuJjpmsvS9eZhlQFMr4dJegb833y3x_Mduhl7aBBJ182JRwAehQRJMmJyGyNSCi6NJDXrJHKnJwwnau9e2RVnVYyufOFkX61cNj8?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Enter the **Name** of the pixel and click on **Add Pixel.** <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeQ2fiNQ__gqJqpX3BVT0jHFOfyuKn_MZ46XQ9BkSSwz4CLTMcaBc6ZYPZjB2sZxEklbW9n_Y-DsrOt5FD5mYUXsmJQd5z5rOgTqG87g6ZBtIHScPihMr_t4jUlyf7eyrHz0_lQpH4kF6febA5kN9VgItY?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Now, open **Permissions** and select according to your need. If you choose **Required**, the pixel will collect data based on the permissions granted by customers. And if you select **Not Required** pixels will run always and it will collect data without permission. I'm selecting **Not Required.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdFYtryJDFdGp3eOHiyQMes5ciQc19kX1uQpaOqsPjH9QY8cm8N5WyHoMQhPtJa2CuvhCxoQ13CLIshmLvAXwjJ7Wki9lcsL-fBzVRAAaD3O3jSuKMXabLP3yaMLn4CDhWVUT2-oflTpC4vYXxHKfniqHi7?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

**Replace** this 7-line code from the code you copied from the app.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdgTFNM-eQ5Znij9T9P0rVAGlqjEryFX_L5GlzQM-ntyQ9s8CARXQyE83lq0_WisYH2-2WHUGKoQ-toyYNR5OwyuIRLUEDt0-H_dC_qSirTR43Sl4PVfmtJn2VFXJg1tBNFmVIeKpN6oj33mSlvwNmAtzdz?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Then click on **Save.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeozDVxjr0bWduZYSrlUELHnkBRZSluKT6mN9vXq_UQa4V7OL91oebCEQKjCU0I0UXpJLYRaKhyw4LF1vDSMTkEkBF7SB84Ep60Pr6updBLLiGxm9_z05VdiPmeUaREsOsbcdC_-TGq6eDFtAnlQHBwLDy1?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Now **connect** it. <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc-0LKtqOSrOpnkTFbflxZjhefgO36iCZ7fhpXYMbNHjl2Z19WwXORdvLOf9Y9CV-CFXZ7Q-JrAW1VOfBzTRR4UtOfv_UCe8gjQ6VUw_hsuTUYfapBn3y4dxbBcKWAox_QLMGsRrRyfQKZ-zPz4khYfAvk?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

\
\
Hurry🥳! your setup is done successfully🤩. <br>

<br>
