AdWords
4.6K members online now
4.6K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

Unable to set account-level Tracking Template using {escapedlpurl+2}

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello, 

 
We recently realized that {lpurl} and it +2, +3 variants *do not* encode forward slashes or colons and therefore leave http:// un-encoded. This is an issue because we regularly deal with redirects chains or 2 or 3 sites and some of those sites appear confused when http:// is not http%25%3A%252F%252F (encoded twice).
 
To remedy this we were going to switch to {escapedlpurl} and it's +2, +3 variants as documented here: https://support.google.com/adwords/answer/6305348?hl=en&ref_topic=6031980
 
However, we seem unable to set a tracking template with this field using the UI:
 
Any advice on why this is happening?
 
Thanks,
Hunter.

Re: Unable to set account-level Tracking Template using {escapedlpurl+2}

Collaborator ✭ ☆ ☆
# 2
Collaborator ✭ ☆ ☆

 @Hunter M

 

I think it would be helpful if you could post the entire template you've put in that field. I'm not sure if this is what's causing the issue, but the documentation you shared states that %253F should be added after {escapedlpurl+2} so it should appear as {escapedlpurl+2}%253F

 

 

Re: Unable to set account-level Tracking Template using {escapedlpurl+2}

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi David,

There are no parameters that come after what is contained Final Url. The complete template looks like this (with some things anonymized):

http://www.redirect1.com/redirect?c={_adid}&en={_gen}&cl=986&u={_schprotocol}go.url%3Fxts%3D{_schsiteid}%26xtor%3DSEC-{_schcampaignid}-GOO-[{_schadgroupname}]-[{creative}]-{ifContent:C}{ifSearch:S}-[{keyword}]%26url%3D{escapedlpurl+2}


Hunter.

Re: Unable to set account-level Tracking Template using {escapedlpurl+2}

Collaborator ✭ ☆ ☆
# 4
Collaborator ✭ ☆ ☆

 @Hunter M

 

That one is pretty complex and goes well beyond anything I've used before.  I'd try adding %253F to the end to see if that works. Copy and pasted the part of the documentation I referenced below. If that doesn't work, I'd make sure to be 100% about the syntax you are using.  I wish I could be of more help. Hopefully someone more knowledgeable will have a better answer for you.

 

Parameter Location in tracking template Followed by Example

{lpurl}Beginning?{lpurl}?
{lpurl}Not at the beginning%3F{lpurl}%3F
{lpurl+2}Not at the beginning%253F{lpurl+2}%253F
{lpurl+3}Not at the beginning%25253F{lpurl+3}%25253F
{unescapedlpurl}Anywhere?{unescapedlpurl}?
{escapedlpurl}Anywhere%3F{escapedlpurl}%3F
{escapedlpurl+2}Anywhere%253F{escapedlpurl+2}%253F
{escapedlpurl+3}Anywhere%25253F{escapedlpurl+3}%25253F