dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Gold Contributor
Gold Contributor

Hi, I'm trying to implement a standard DoubleClick tag on purchase confirmation pages, and the agency requires the following parameters: dc_lat=;dc_rdid=;tag_for_child_directed_treatment=.

 

When implementing the tags, those parameters do not appear anywhere. Is there a way to add them other than mapping to an empty value with a custom destination?

 

Has anyone had this issue before?

 

Thanks.

6 REPLIES 6

dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Tealium Employee

@audrey_poulin

 

Depending on which DoubleClick tag you are using, you should be able to use a custom mapping to add these.

Here is a community link describing how to do this:

 

https://community.tealiumiq.com/t5/Tealium-iQ/Adding-a-User-Defined-Destination-Mapping-to-a-Tag/ta-...

 

Adrian

Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.

dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Gold Contributor
Gold Contributor

Hi @adrian_browning, thanks for your reply. Unfortunately, that's what I tried to do, but the parameters they're asking for need to be empty.

 

Here's what I tried. 

I created a "Set data values" extension and set a variable "empty_field" to text and left the text empty.

 

I then mapped empty_field to "dc_lat", "dc_rdid" and "tag_for_child_directed_treatment" in my tag.

 

Unfortunately, what seems to happen is that the request sent to DoubleClick does not include those parameters because they're empty.

 

Here's what the agency is asking for: 

<iframe src="https://5949431.fls.doubleclick.net/activityi;src=XXXXX;type=XXXXX;cat=XXXXX;qty=1;cost=[Revenue];u1... Sku];u2=[Auto Delivery AMT];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;ord=[OrderID]?" width="1" height="1" frameborder="0" style="display:none"></iframe>

 

and here's what I get:

 

  1. Request URL:

 

Thanks for your help.

 

dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Tealium Employee

@audrey_poulin

 

This will allow you to convert the currencies into a common value and then using the output of that mapped to a tag.

A little background, all templates are designed so they don't send blank values (unless the tag specification specifically says otherwise). 
So unfortunately what you are asking, goes against what the tag was designed to do.

 

I would recommend raising a support case, and getting an engineer involved, to help with sending these values.

https://community.tealiumiq.com/t5/custom/page/page-id/support-contact-form

 

However, if you are comfortable editing the template for that tag, you can add the following lines:

 

 

u.data.order_id = u.data.order_id || u.data.ord || b._corder || "";
u.data.order_subtotal = u.data.cost || u.data.order_subtotal || b._csubtotal || b._ctotal || "";

/****New code****/
g.push("dc_lat=");
g.push("dc_rdid=");
g.push("tag_for_child_directed_treatment=");
/***End new code***/

And this will apply the parameters to the request for you.

 

Adrian

Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.

dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Gold Contributor
Gold Contributor

Thanks @adrian_browning, is it possible that those parameters are already part of the DoubleClick template and would only be populated if they were sent a value? Or are they never present? From what I understand, they are standard parameters generated by DoubleClick when creating a tracking pixel.

Thanks.

Audrey

dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Employee Emeritus

@audrey_poulin,

 

Based on my experience with setting up DoubleClick Floodlight tags, I have never set those parameters that you are asking about even though the code snippet has them in there with a blank value.

I don't believe you will have any issues.  If the pixel fires w/o those parameters set, are you still experiencing zero data coming through?  If you still are experiencing zero data, then I would seek opening a ticket with support.

dc_lat=;dc_rdid=;tag_for_child_directed_treatment= parameters on DoubleClick tags

Gold Contributor
Gold Contributor

@meng_lim That's great to hear. The agency that asked for the tags told me the data is coming in alright and that there are no issues. They just really wanted to make sure those parameters were there, so I guess, as you said, they are, but just not in the URL request since they're empty.

Thanks for the confirmation!

Public