Integrating your TWICE store with the analytical tools Google Analytics 4 (GA4) and Google Tag Manager can significantly elevate your understanding of customer acquisition, user behavior, and conversion paths. These tools provide invaluable insights that can help you optimize your store's performance and make data-driven decisions.
Getting Started with Analytics Tools
Navigate to your Account > Integrations and connect to your preferred Analytics Tools:
Set up the account for your tag manager and paste your website URL (https://twice.shop/storename) into the container field.
Paste your GA4 Measurement ID in the appropriate field
Paste Your Google Tag Manager ID in the appropriate field
Under the General Data Protection Regulation (GDPR) and other privacy regulations, visitors to your website must consent to being tracked. This means you must display a notice informing visitors that you use cookie tracking and offer them the choice to opt-in to being tracked.
Using Analytics Tools with an Embedded Storefront
Integrating tracking and analytics across both your main website and embedded iframe content (e.g., your TWICE store) requires a few steps to ensure data flows correctly between them. Here’s how to set up Google Analytics 4 (GA4) and Google Tag Manager (GTM) for both environments.
If you haven't already, set up accounts for Google Analytics 4 and Google Tag Manager. Both the main website and the iframe content require their own GTM containers.
Set up the analytics tools in your TWICE Admin using the instructions above.
Set up the analytics tools in your main website.
Open Google Tag Assistant (or use Google’s Tag Assistant Chrome extension) to verify if tags are firing correctly on both your main website and the iframe content.