How can we help?

How to merge your tracking template?

04/06/2025

Step 1: Identify Your Two Templates

First, you have your two components:

Your ClickSambo Template (as provided):

https://ping.clicksambo.com/tracker/track?track_id=684a9930572f23156192e5bc&adspot={adposition}&geocode={loc_physical_ms}&intgeo={loc_interest_ms}&adgr={adgroupid}&sterm={keyword}&adnet={network}&target_url={lpurl}&campid={campaignid}&userdev={device}&csurl=vitaldestek.com&adplace={placement}&gclid={gclid}&adid={creative}&mtype={matchtype}&targetid={targetid}&feedid={feeditemid}&devmodel={devicemodel}&qtext={querystringtext}

Your Other Tracking Template (A Hypothetical Example): Let's imagine you also use a call tracking service, and its template looks like this:

{lpurl}?utm_source=google&utm_medium=cpc&call_id=123

Step 2: (Crucial!) URL Encode Your Other Template

You must URL encode your other template before merging. This converts special characters like ? and & into a format that can be safely passed inside another URL. You can use a free online URL encoder for this.

Before Encoding: 

{lpurl}?utm_source=google&utm_medium=cpc&call_id=123

After Encoding:

 {lpurl}%3Futm_source%3Dgoogle%26utm_medium%3Dcpc%26call_id%3D123

Step 3: Combine the Templates

Now, take your encoded template from Step 2 and use it to replace the {lpurl} part in your ClickSambo template.

You are essentially changing this part of your ClickSambo template: ...&target_url={lpurl}&... 

To this: ...&target_url={lpurl}%3Futm_source%3Dgoogle%26utm_medium%3Dcpc%26call_id%3D123&...

Your Final Merged Template

Using your specific ClickSambo template, the final, correctly merged result would be: 

https://ping.clicksambo.com/tracker/track?track_id=684a9930572f23156192e5bc&adspot={adposition}&geocode={loc_physical_ms}&intgeo={loc_interest_ms}&adgr={adgroupid}&sterm={keyword}&adnet={network}&target_url={lpurl}%3Futm_source%3Dgoogle%26utm_medium%3Dcpc%26call_id%3D123&campid={campaignid}&userdev={device}&csurl=vitaldestek.com&adplace={placement}&gclid={gclid}&adid={creative}&mtype={matchtype}&targetid={targetid}&feedid={feeditemid}&devmodel={devicemodel}&qtext={querystringtext}

A Note on Parallel Tracking

Even with Google's Parallel Tracking enabled (which is now standard), constructing your template this way is the correct method. While Google sends the user directly to your final landing page for speed, this full tracking template is processed in the background, ensuring both ClickSambo and your other service receive all the necessary data for attribution.

Final Step: Always Test

After placing this final merged URL into the "Tracking template" field in your Google Ads account, perform a test click on one of your ads to verify that data is flowing correctly to all your systems: Google Ads, ClickSambo, and your other tracking service.

Customise Consent Preferences
Cookies
Cookies Other
Always Active

Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet.

Cookies Advertisement

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

Cookies Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Cookies Performance

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.