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
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
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&...
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}
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.
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.