π οΈ Integrating JOIN Stories via Google Tag Manager (GTM)
1. Add the Global Script
π― Objective
Deploy the JOIN Stories global script on all pages of your site via GTM, while respecting consent rules.
π Step 1: Retrieve the JOIN script
Log in to JOIN Studio.
From the homepage, open the Workspace settings.
Click on the Installation tab.
Locate the Global Script and click Copy script code.
ποΈ Step 2: Create a tag in GTM
Go to your Google Tag Manager account.
Click on New Tag.
Configure the tag:
Type: Custom HTML
Name:
JOIN Stories - All Pages - Global Script
HTML Content: Paste the copied script
Triggering: Choose
Once per page
βοΈ Step 3: Add a trigger
Add a trigger to this tag:
Type: Custom Event
globalConsent_init
Or:
Initialization - All Pages
(depending on your setup)
β This ensures the tag only fires after consent is obtained.
π« Step 4: Add an exception (recommended)
To respect user preferences:
Add this exception:
Data Privacy - Performance Cookies
β
Completion
Youβve successfully integrated the Global Script via GTM. Well done!
2. Add the Checkout Tracking Code
π― Objective
Track successful purchases to measure the impact of stories on sales.
β οΈ Prerequisite
The Global Script must already be installed.
π Step 1: Retrieve the code
Go to the Installation tab in JOIN Studio.
Locate the Checkout Tracking Code section.
Click Copy script code.
ποΈ Step 2: Create the tag in GTM
Click on New Tag.
Configure:
Type: Custom HTML
Name:
JOIN Stories - Conversion Tag
HTML Content: Paste the code and replace the dynamic fields with your e-commerce data.
π Refer to the JOIN documentation to know which fields are required.
βΉοΈ Do not define a conversion_id
if you don't need it.
βοΈ Step 3: Trigger
Type: Custom Event
Purchase
π« Step 4: Exception (recommended)
Exception:
Data Privacy - Performance Cookies
β
Completion
Your Checkout Tracking Code is now active! π
3. Add the Cart Tracking Code
π― Objective
Track cart additions to understand how stories impact conversions.
β οΈ Prerequisite
The Global Script must already be installed.
π Step 1: Retrieve the code
Go to Installation > Conversion Tracking in JOIN Studio.
Locate the Add to Cart Tracking Code.
Click Copy script code.
ποΈ Step 2: Create the tag in GTM
Click on New Tag.
Configure:
Type: Custom HTML
Name:
JOIN Stories - Add to Cart
HTML Content: Paste the code and replace the required fields.
π Check the JOIN documentation for field details.
βοΈ Step 3: Trigger
Type: Custom Event
AddToCart
π« Step 4: Exception (recommended)
Exception:
Data Privacy - Performance Cookies
β
Completion
Your Add to Cart Tracking Code is now set up! π