Installation Guide
Follow these steps to set up server tracking on your WordPress + WooCommerce website. Start with the free GA4 setup, then upgrade to Pro for Google Ads, Meta and LinkedIn.
๐ Free โ GA4 Server-Side Tracking
1
Create a separate GA4 property for S2S
Keep your existing tracking intact โ add a dedicated S2S property
We create a new, separate GA4 property for server tracking. Your existing property and all historical data remain untouched.
๐ Create a new GA4 property
1
Go to Google Analytics and sign in.
2
Click the gear icon (Admin) in the bottom left.
3
Under Account, click Create Property.
4
Name it [Website name] โ S2S (e.g. "TJDA - S2S").
5
Select your country, currency and timezone. Click Next โ Create.
6
Under Data collection, choose Web โ enter your domain โ click Create stream.
7
Note the Measurement ID (G-XXXXXXXXXX) โ you'll need it in step 4.
โ New GA4 S2S property created
2
Duplicate GTM web tracking for the new property
Send web events to both your existing and new S2S property
Do not modify your existing GA4 tag. Duplicate it so both properties receive web data.
๐ Duplicate your GA4 tag in GTM
1
Open Google Tag Manager and select your container.
2
Go to Tags and find your existing GA4 Configuration tag.
3
Click the three dots โ Copy.
4
Open the copied tag and replace the Measurement ID with your new S2S property ID (G-XXXXXXXXXX).
5
Rename it to GA4 โ [Website name] S2S so it's easy to recognise.
6
Also duplicate all GA4 Event tags (purchase, form events) and update them to use the new Configuration tag.
7
Click Submit to publish the changes.
After publishing, check GA4 DebugView on the new property to confirm events are coming in from the browser.
โ GTM tracking duplicated for S2S property
3
Install the S2S Conversions plugin
Free version available on WordPress.org
๐ Install via WordPress Admin
1
Go to WordPress Admin โ Plugins โ Add New.
2
Search for "S2S Conversions".
3
Click Install Now โ Activate.
4
Go to Settings โ S2S Conversions to configure the plugin.
โ Plugin installed and activated
4
Get your GA4 API Secret
Required for the Measurement Protocol
๐ Create an API Secret in GA4
1
Open your new S2S GA4 property โ Admin โ Data Streams.
2
Click on your web stream.
3
Scroll down to Measurement Protocol API Secrets โ click Create.
4
Give it a name (e.g. "S2S Plugin") and copy the secret value.
5
In WordPress: go to Settings โ S2S Conversions โ enter the Measurement ID and API Secret โ Save.
โ GA4 API Secret configured
5
Create GA4 Custom Definitions
Make server tracking parameters visible in your reports
๐ Add custom dimensions in GA4
1
Go to your S2S GA4 property โ Admin โ Data display โ Custom definitions.
2
Click Create custom dimension and add the following:
| Dimension name | Scope | Event parameter |
|---|---|---|
| csc_source | Event | csc_source |
| csc_consent | Event | csc_consent |
| form_name | Event | form_name |
| form_id | Event | form_id |
3
Save each dimension. Note: dimensions are only applied to new data from this point onwards.
Use
csc_source = server in Looker Studio to filter and show only server tracking events โ this is how you separate S2S from browser tracking.
โ Custom definitions created
6
Create GA4 Explorations
Build custom reports for purchases and form submissions
๐ Purchase exploration
1
Go to Explore โ Blank exploration.
2
Name it S2S Purchases.
3
Add Dimensions: Date, csc_source, csc_consent, Transaction ID.
4
Add Metrics: Transactions, Purchase revenue.
5
Add Filter: Event name =
purchase.๐ Form submission exploration
1
Create a new blank exploration named S2S Form Leads.
2
Add Dimensions: Date, form_name, form_id, csc_source, csc_consent.
3
Add Metrics: Event count.
4
Add Filter: Event name =
generate_lead.โ GA4 Explorations ready
7
Looker Studio dashboard
Copy the template and connect your own data source
๐ Copy the S2S dashboard template
2
Click the copy icon (top right) โ Make a copy.
3
Under New Data Source, click Create data source โ choose Google Analytics.
4
Select your S2S GA4 property โ click Connect โ Add to report.
5
Click Copy report โ the dashboard is now in your own Looker Studio with your live data.
The dashboard includes a
csc_source = server filter so you only see server tracking events โ no duplicate browser events.
โ Looker Studio dashboard ready โ GA4 setup complete! ๐
โญ Pro โ Google Ads, Meta & LinkedIn
8
Get your Pro license key
Unlocks Google Ads, Meta CAPI and LinkedIn CAPI
๐ Purchase and receive your license
1
Go to s2s-plugin.tj-da.com/#pricing and choose a plan.
2
Complete the payment via Stripe.
3
You receive your license key by email (format: XXXX-XXXX-XXXX-XXXX).
4
Download the Pro plugin zip from the email or your account.
โ License key received
9
Install Pro plugin & activate license
Replace the Free plugin with Pro
๐ Install and activate
1
Go to WordPress Admin โ Plugins โ Add New โ Upload Plugin.
2
Upload the Pro zip file โ Install Now โ Activate.
3
If you had the Free plugin installed: deactivate and delete it first.
4
Go to Settings โ S2S License.
5
Enter your license key โ click Activate License.
6
Accept the Data Processing Agreement (DPA) that appears on the same page.
โ Pro plugin active with valid license
10
Set up Google Cloud Console
Required for Google Ads API access
๐ Create OAuth credentials
1
Go to console.cloud.google.com โ create a new project or select an existing one.
2
Go to APIs & Services โ Credentials โ Create Credentials โ OAuth client ID.
3
Choose Web application.
4
Under Authorized redirect URIs, add:
https://yourwebsite.com/wp-admin/options-general.php?page=csc-settings5
Click Create and note the Client ID and Client Secret.
6
Enable the Google Ads API via APIs & Services โ Library.
โ Google Cloud credentials created
11
Request Google Ads API access
Required before you can upload conversions
๐ Apply for a Developer Token
1
Go to Google Ads โ Admin (gear icon) โ API Center.
2
Click Apply for basic access and complete the form.
3
Note your Developer Token โ it's shown immediately but may take 24h to be approved for live use.
The Developer Token starts in test mode. It will work for testing but needs approval before processing live conversions.
โ Developer Token obtained
12
Create Google Ads conversions
Set up Purchase and Lead conversions in Google Ads
๐ Create conversion actions
1
In Google Ads, go to Goals โ Conversions โ Summary โ New conversion action.
2
Choose Website โ enter your domain โ click Scan.
3
Create a conversion for Purchase (category: Purchase).
4
Optionally create a Lead conversion (category: Submit lead form).
5
Note the Conversion ID for each (visible via the tag details).
โ Conversion actions created
13
Connect Google via OAuth
Authorise the plugin to upload conversions to Google Ads
๐ Configure and connect
1
Go to Settings โ S2S Conversions โ Google Ads section.
2
Enter: Developer Token, OAuth Client ID, OAuth Client Secret.
3
Enter your Google Ads Login Customer ID (MCC) and Customer ID (without dashes).
4
Click Save Settings.
5
Click Connect with Google โ sign in with your Google Ads account โ allow access.
6
You should see a green OAuth connected status.
โ Google OAuth connected
14
Select conversions in the plugin
Link your Ads conversion actions to purchase and lead events
๐ Fetch and select conversions
1
On the S2S settings page, click Fetch conversions in the System Status card.
2
Select your Purchase conversion from the dropdown.
3
Select your Lead conversion from the dropdown.
4
Click Save Settings.
โ Conversion actions linked
15
Test everything
Verify GA4, Google Ads and consent are all working correctly
๐ Run a test purchase
1
Enable Debug Mode in Settings โ S2S Conversions.
2
Place a test order on your website (accept all cookies first).
3
Check Settings โ S2S Conversions โ Debug Log. You should see:
[CSC][GA4] HTTP 204โ GA4 received โ[CSC][ADS][CLICK] HTTP 200โ Google Ads received โ
4
Check GA4 DebugView โ the purchase event should appear with
csc_source = server.5
Disable Debug Mode after testing.
โ All Pro integrations tested โ you're fully set up! ๐
โญ Pro โ Meta & LinkedIn
16
Meta Conversions API
Server-side purchase and lead events to Meta
๐ Get Pixel ID and Access Token
1
Go to Meta Business Suite โ Events Manager.
2
Select your Pixel โ note your Pixel ID.
3
Go to Settings โ Conversions API โ Generate Access Token.
4
Enter Pixel ID and Access Token in Settings โ S2S Conversions โ Meta CAPI โ Save.
Meta uses custom event names
csc_purchase and csc_generate_lead โ no overlap with your existing Pixel events.
โ Meta CAPI configured
17
LinkedIn Conversions API
Server-side conversion events to LinkedIn Campaign Manager
๐ Generate Access Token and create Conversion Rules
1
Go to LinkedIn Campaign Manager โ Data โ Signals Manager โ Conversions API โ Generate Access Token.
2
Go to Analyze โ Conversion Tracking โ Create conversion.
3
Create a rule named S2S Purchase (type: Purchase, method: Conversions API) โ note the ID.
4
Create a rule named S2S Lead (type: Lead, method: Conversions API) โ note the ID.
5
Enter Access Token and both Conversion Rule IDs in Settings โ S2S Conversions โ LinkedIn CAPI โ Save.
โ LinkedIn CAPI configured
Need help?
Contact us at thijs.joosten@tj-da.com and we'll help you get set up.