Unbounce Conversion Tracking on Custom HTML Element


#1

We have created landing pages from a blank template, and use a custom HTML form hosted on separate URL. We have GA tracking set up, but would like redundant reporting via Unbounce.

Since we’re using the blank template and custom HTML, there’s no default selection for conversion tracking. Is the best way to accomplish the above to place the Unbounce tracking script on our form page?

If so, where can we attain this script?

Thanks


#2

Hi Ami - that’s right, since you are using a custom HTML, the conversion tracking will have to be done by placing our external conversion tracking script on your form’s thank you page. The script can be found in our external conversion tracking script article here.


#3

Hey Jacquelyn :slight_smile: I notice that the script is no longer available on that page. Has anything changed?

-Chase


#4

Hi Chase - The script can be found on step 8 in the article. I’ll paste it here just incase your having issues viewing the code.

<br />
var _ubaq = _ubaq || []; <br />
_ubaq.push(['trackGoal', 'convert']); <br /><br />
(function() { <br />
var ub_script = document.createElement('script'); <br />
ub_script.type = 'text/javascript'; <br />
ub_script.src =
<br />
  ('https:' == document.location.protocol ? 'https://' : 'http://') +
<br />
  'd3pkntwtp2ukl5.cloudfront.net/uba.js'; <br />
var s = document.getElementsByTagName('script')[0]; <br />
s.parentNode.insertBefore(ub_script, s); <br />
}) (); <br /> </script>   

#5

Can we run this script on the unbounce landing page itself?


#6

Hey Anthony - You sure can. As long as the unbounce page is on the same domain (or sub domain of that same domain) then it should work just fine.


#7

Johnny, what if we’re using unbouncepages.com as our domain and we want to manually track a conversion with javascript?


#8

Hey Jeremy! We highly, highly recommend using a Custom Domain if you’re running live campaigns with Unbounce.

Using a Custom Domain is advantageous for three key reasons.

  1. Google will not index your pages without a Custom Domain. Adding a Custom Domain means you have the option of Google indexing your pages - they’ll be searchable.

  2. You can use your pages with your Google AdWords, Analytics, and PPC campaigns (Google won’t accept the unbouncepages.com URL).

  3. Your own domain will always be more inviting. Your URL should be indicative of your brand and your product offering. Leads may be confused by the fact your pages say unbouncepages.com, when you’re advertising something completely different.

Hope that helps!


#9

Hey Jeremy! We highly, highly recommend using a Custom Domain if you’re running live campaigns with Unbounce.

Using a Custom Domain is advantageous for three key reasons.

  1. Google will not index your pages without a Custom Domain. Adding a Custom Domain means you have the option of Google indexing your pages - they’ll be searchable.

  2. You can use your pages with your Google AdWords, Analytics, and PPC campaigns (Google won’t accept the unbouncepages.com URL).

  3. Your own domain will always be more inviting. Your URL should be indicative of your brand and your product offering. Leads may be confused by the fact your pages say unbouncepages.com, when you’re advertising something completely different.

Hope that helps!